/srv/irclogs.ubuntu.com/2014/02/11/#ubuntu-app-devel.txt

=== chriadam|away is now known as chriadam
tin-satam new user i want to install asterisk what should i download Ubuntu Server or Ubuntu Desktop?00:29
sarnoldubuntu-desktop will come with networkmanager installed by default, which will complicate just setting up a machine on a given IP address. you can do it with either, but the server version won't have networkmanager and might be less effort to configure as a result.00:30
tin-satso what would you choose and can i install the networkmanager on ubuntu server00:34
sarnoldtin-sat: I'd chose server, and I'd chose to not install networkmanager :)00:42
tin-sattnx a lot sarnold01:01
sarnoldtin-sat: have fun :)01:01
jeevanusis android sdk for developing desktop application or 1ly for mobile and tablet apps?02:42
mmazingi'm looking to learn more about how the dbus system works, can anyone recommend a book/website that can help out? there doesn't seem to be much out there, im trying to break down the datetime-indicator-service but it's a bit complicated and i'm just recently jumping back into C development05:38
mmazingi basically want to make something with a custom dbus menu like the datetime indicator05:39
mmazinganswered my own question i think : package libdbusmenu-gtk-doc05:55
dholbachgood morning08:34
=== JamesTait is now known as Guest81255
=== Guest81255 is now known as JamesTait
JamesTaitGood morning all; happy Get Out Your Guitar Day! \m/09:24
nik90I need someone to review https://code.launchpad.net/~nik90/ubuntu-clock-app/differentiate-clock-faces/+merge/205507 for me09:29
nik90Good morning everyone09:29
=== chriadam is now known as chriadam|away
=== alblasch is now known as ablasche
=== _salem is now known as salem_
WebbyITmhall119, hi :-) In this page code has a wrong indentation: http://developer.ubuntu.com/api/qml/sdk-14.04/QtQuick.GridMesh/11:44
=== MacSlow is now known as MacSlow|lunch
=== boiko_ is now known as boiko
=== MacSlow|lunch is now known as MacSlow
mhall119WebbyIT: thanks, can you file a bug on http://launchpad.net/ubuntu-api-website so I don't forget it?13:27
WebbyITmhall119, yes, sure!13:27
=== alex__ is now known as alex-abreu
ybonwhat would be the best way to add C++ modules in a qml based app? Adding a ./modules with the C++ files plus referencing the folder in the .qmlproject "importPath" settings is ok?13:57
=== greyback is now known as greyback|lunch
nik90WebbyIT: if you got time, can you review https://code.launchpad.net/~nik90/ubuntu-clock-app/differentiate-clock-faces/+merge/205507 and https://code.launchpad.net/~nik90/ubuntu-clock-app/prep-new-design-part1/+merge/205774 for me14:01
WebbyITnik90, going :-)14:01
* nik90 hugs WebbyIT14:01
=== JamesTait is now known as Guest59020
=== Guest59020 is now known as JamesTait
nerochiarooSoMoN: what was your way to restart unity8 with testability enabled ? the one i was using doesn't seem to be working anymore14:09
=== om26er_ is now known as om26er
WebbyITnik90, mhhh, I find a bug not related to your branch, can you confirm please?14:18
WebbyITbug #127889014:18
ubot2`Launchpad bug 1278890 in Ubuntu Clock App "In timer page, if you start a preset after the end of previous timer, doesn' t work" [Undecided,New] https://launchpad.net/bugs/127889014:18
WebbyITnik90,14:22
WebbyIThttps://code.launchpad.net/~nik90/ubuntu-clock-app/differentiate-clock-faces/+merge/205507/comments/48194114:22
nik90WebbyIT: will take a look at both14:23
nik90WebbyIT: bug confirmed14:25
=== greyback|lunch is now known as greyback
nik90WebbyIT: fixed your comments in both the Mps15:45
nik90WebbyIT: however I couldn't fix the timer comment15:46
=== gatox is now known as gatox_lunch
WebbyITnik90, mhh, I have some problem to runs apps on device :/ It's not related to your branch, but do you have any idea?15:50
WebbyIThttp://paste.ubuntu.com/6915656/15:50
nik90WebbyIT: yup I get the same errror :(15:51
nik90WebbyIT: seems like an update to qtcreator-ubuntu-plugin is causing this issue15:51
nik90bzoltan1: ^^15:51
nik90bzoltan1: looks like an update is blocking up from running apps on the phone through qtcreator15:51
WebbyITuff... nik90 ok, I'll wait this evening, I want to try your branch on device before approve them. If for this evening there is no fix, I'll appove them anyway15:52
nik90WebbyIT: good call15:53
om26erboiko, so we have 2 branches to land16:14
om26erhttps://code.launchpad.net/~iahmad/dialer-app/smart-dialing-test/+merge/20570616:14
om26erhttps://code.launchpad.net/~om26er/dialer-app/add_new_tests/+merge/20273216:15
boikoom26er: yep, I will try to get those reviewed today still16:20
om26erboiko, i have reviewed the first one, if it matters, the second one definitely needs a good look16:21
boikoom26er: yep, I will do that in one hour or so16:22
=== gatox_lunch is now known as gatox
nerochiarooSoMoN: bfiller: whenver you have some time, this needs a look: https://code.launchpad.net/~amanzi-team/camera-app/camera-app-use-timestamp/+merge/20575517:03
bfillernerochiaro: ok17:04
bzoltan1nik90: let me check it18:24
WebbyITbzoltan1, I just updated and I have no more problems...18:27
WebbyITSetting up qtcreator-plugin-ubuntu-common (2.8.1.1bzr85saucy0) ...18:27
WebbyITSetting up qtcreator-plugin-ubuntu (2.8.1.1bzr85saucy0)18:27
bzoltan1WebbyIT: yes, that is what I thought.Sorry guys, we were rolling out couple of changes today...18:28
WebbyITbzoltan1, np, now works well and this it the important :-)18:28
bzoltan1WebbyIT: cool :) I hope you guys like the Packaging tab with the facelift ... the integrated review tool is fun... it will get better in the following days. And the latest emulator tweaks are heading to the releasing stage too18:30
WebbyITbzoltan1, woow, thanks :-)18:31
* WebbyIT goes to see new packaging tab18:31
bzoltan1WebbyIT:  feedbacks are appreciated :) we have way too few bug reports18:31
bzoltan1WebbyIT: but the real deal is the cmake project support and the click chroot builder ... Now developers can actually create QML + C++ apps and crosscompile in the SDK ... and push the package to the emulator and see it there.18:33
WebbyITbzoltan1, yes, sure, but you guys are doing a great job, I have nothing to complain :)18:33
bzoltan1WebbyIT: thanks :) finally the the 's' at the and of "you guys" is correct :) zbenjamin gave a good push to this work18:35
WebbyITgreat :-)18:36
* nik90 updates the qtcreator-plugin-ubuntu18:37
* ybon too18:39
ybonbzoltan1: nice, I confirm that package tab changing maintainer value is fixed, thanks! :)18:41
nik90bzoltan1: yup it works perfectly now after the update :)18:41
nik90ybon: wow I just noticed :)18:42
nik90awesome!!!!!18:42
nik907:31 PM <bzoltan1> WebbyIT: feedbacks are appreciated :) we have way too few bug reports18:42
nik90bzoltan1: ^^ be careful what you wish for :P18:42
nik90It will be my pleasure to overwhelm you with bug reports18:43
bzoltan1ybon: baby steps :)18:43
bzoltan1nik90: unleash the bug reports :)18:44
=== bfiller is now known as bfiller_afk
nik90mhall119: https://bugs.launchpad.net/ubuntu-api-website/+bug/127901519:05
ubot2`Launchpad bug 1279015 in Ubuntu API Website "QML API should be properly indented and color coded in a tablular form" [Undecided,New]19:05
WebbyITnik90, approved both \o/19:10
mhall119thanks nik9019:12
WebbyITEhi Mihir o/ If you have time, could you please review https://code.launchpad.net/~rpadovani/ubuntu-calculator-app/20140211/+merge/205752? Thanks!19:12
MihirWebbyIT: sure i'll do it i am not on Linux right now as on Office machine19:12
MihirWebbyIT: i need to review two MRs I'll do that by today EOD19:12
WebbyITMihir, good, thanks :-)19:13
nik90WebbyIT: thnx19:19
nik90mhall119: more incoming :-)19:19
mhall119nik90: bring 'em on19:24
mhall119:)19:24
=== bfiller_afk is now known as bfiller
m-b-oping balloons19:46
balloonshey m-b-o :-)19:46
m-b-oheyho!19:46
m-b-oI've tried to add a long timeout to the shortcuts tests, without luck19:47
m-b-oballoons: I guess it cannot be fixed in the tests alone. Or what do you think?19:48
balloonsm-b-o, what's the mp again?19:55
balloonsdid you see david's note about wanting to land the weather branch today?19:55
m-b-ohttps://code.launchpad.net/~martin-borho/ubuntu-weather-app/keyboard-shortcuts19:55
m-b-oyes19:56
balloonsahh.. I see I already had this up, lol19:57
m-b-oballoons: great! :)19:58
balloonsokk, yes I'm remembering now19:59
balloonsm-b-o, so _open_location_manager should check and ensure the location manager appears20:00
m-b-oyes20:00
balloonslet's look at the other failure20:01
balloonsI'm not sure on the other ones.. off the top, not sure20:01
m-b-oballoons all are the same, like no keyboard shortcuts were pressed20:01
balloonsmm.. yea, watching the vids20:02
m-b-oit's always the first assert after the keyboard press_and_release which fails20:02
balloonsright you are20:03
m-b-oand if you look at the jenkins logs, you see that there are registered X11 keyboard pressings20:04
m-b-o"Releasing keys 'Ctrl+n' with delay 0.200000" etc pp20:05
balloons right20:05
balloonsm-b-o, does autopilot-sandbox-run work for you? I remember you mentioning having issues with it20:06
m-b-ono, the same issues like in jenkins20:06
balloonsm-b-o, well they are run very simi;ar20:06
balloonsok, so we can reproduce easily enough then20:09
balloonsm-b-o, so there is still some things that need tweaked in the tests20:14
balloonsas I said, we should check for the location manager to appear for instance.20:14
balloonsm-b-o, on the keyboard shortcuts not registering, I'll try increasing delay20:14
m-b-oballoons: we check for the locationmanager does appear20:15
balloons_open_location_manager doesn't, and the select after it assumes the object exists20:16
balloonsthe delay didn't help :-(20:16
ybonHow can I add/notify the missing <voicemail> info of my provider in /usr/share/mobile-broadband-provider-info/serviceproviders.xml ?20:18
ybonah https://launchpad.net/ubuntu/+source/mobile-broadband-provider-info :)20:18
balloonswell, m-b-o I suppose you can release with the tests disabled20:23
balloonssince they will not be running on the desktop.. but we should file a bug to find out why they won't run in Xvfb. how's that sound?20:24
balloons*lol, I meant since they won't be running on the phone20:24
balloonsm-b-o, so basically, we'll open the bug, disable the tests and reference the bug report20:24
m-b-oballoons: great!20:24
m-b-oballoons: can I add @skip?20:25
balloonsm-b-o, yea, just reference the bug in the skip20:25
m-b-ookay. the MP does have to wait for the TWC branch anyways (and will conflict with the changed autopilt tests there)20:26
balloonsit's bizarre it doesn't work, but we don't need to hold things up any longer for it.. it works on the desktop.. I'd just rather have the coverage and testing continue20:26
m-b-omakes sense for me20:26
m-b-oballoons: added check for the LocationManager20:27
balloonsm-b-o, perfect. Sorry you had such issues20:28
m-b-onevermind20:28
m-b-oit would have been boring ;)20:28
VP7i am trying to download emualtore for Ubuntu sdk. i am getting this erro E: Unable to locate package android-emulator20:35
m-b-oballoons: you'll open a bug?20:37
sarnoldVP7: some instructions are here: http://davidplanella.org/ubuntu-emulator-quickstart-guide/#20:37
VP7i m trying from Ubuntu SDK.. there is a option in Devices..20:39
balloonsm-b-o, if you can, that would be useful20:40
m-b-oballoons: where?20:40
balloonsso wait, did you file or ? https://bugs.launchpad.net/ubuntu-weather-app/+filebug20:41
m-b-ookay, Ill do20:41
m-b-oballoons: thanks for you help! :)20:41
balloonsm-b-o, :-) no problem. sorry we didn't solve the issue20:43
m-b-oballoons: https://bugs.launchpad.net/ubuntu-weather-app/+bug/127907320:47
ubot2`Launchpad bug 1279073 in Ubuntu Weather App "Autopilot test with keyboard shortcuts failing in autopilot-sandbox-run and jenkins" [Undecided,New]20:47
bzoltan1VP7:  have you tried the latest SDK release? It has inbuilt emulator support21:05
bzoltan1VP7: ehh... I think you are on Saucy or Precise, right?21:07
=== salem_ is now known as _salem
bzoltan1VP7: I am fixing the missing dependencies in the SDK PPA right now... Sorry for the trouble. We are in the middle of rolling out a major facelift on the SDK tools21:19
zbenjaminbzoltan1: ok :)21:23
bzoltan1hello zbenjamin21:25
nik90bzoltan1: I noticed that when I press "Create package" in the packaging tab, I notice the small popup at the botom right which says, "Click Reviewing tool..", but it does not post any output to the console. So I am not sure when the process has completed.21:26
zbenjaminbzoltan1: hey21:27
bzoltan1nik90: when you press the "Create package" button you should see the "General Messages" blinking and when you click there you see the build logs ... if the Validation area does not show the review json data then the .click package is not created21:29
nik90bzoltan1: Where do I see the "General Messages" blinking thing?21:30
nik90bzoltan1: here is what I see http://imgur.com/xwKa0LY21:31
bzoltan1nik90: onthe bottom of the QtCreator. If it is not there... then click on the icon with up and down arrow21:31
bzoltan1nik90: you do not have the validation tool installed21:32
bzoltan1nik90: but the package build logs are in the "General Messages" window ... number 6 on your picture21:32
nik90bzoltan1: ah I see it now21:33
nik90bzoltan1: I see the console output21:33
nik90[22:32:31]21:33
nik90Package has been created to21:33
nik90[22:32:31] /home/krnekhelesh/Documents/Ubuntu-Projects/Flashback/com.ubuntu.developer.nik90.flashback_0.3_all.click21:33
nik90[22:32:31] /usr/share/qtcreator/ubuntu/scripts/qtc_project_click_create finished with code 021:33
nik90bzoltan1: I thought the output would appear in the console that you see in the right pane of the packaging tab21:33
bzoltan1nik90: that is cool... but you do not have the validation tool installed ... let's getthat fixed21:33
nik90bzoltan1: Is the validation tool not recommended by the qtcreator-ubuntu-plugin? Do I have to install it manually?21:34
bzoltan1nik90: it exist only for Trusty at the moment ... it is the click-reviewers-tools21:35
nik90bzoltan1: ah okay21:35
nik90bzoltan1: yeah I am on 13.10 still21:35
nik90:)21:35
bzoltan1the qtcreator-plugin-ubuntu suggests: click-reviewers-tools21:36
bzoltan1nik90: let me see if it is a trivial backport21:36
nik90bzoltan1: apt-cache search click-reviewers-tool reveals that there is such a tool. Does this mean the backport to 13.10 is already done?21:37
bzoltan1nik90:  seems so ... strange that the dist-upgrade  did not pull it for you21:37
nik90bzoltan1: I see the output now :) after installing that package from the SDK PPA21:40
bzoltan1nik90: nice :)21:40
bzoltan1nik90: zbenjamin will give some love to that output to be more quite and focus on errors/warnings21:41
nik90bzoltan1: yup I saw a bug report about that :)21:41
=== charles_ is now known as charles
ybonI'm not sure to understand differences of use between .pro and .project files. Do I need to switch to .pro if I want to integrate some c++ in my app?22:16
nik90ybon: I am not sure if you have to switch to .pro. But I have noticed c++ apps have .pro instead of .project files22:16
ybonyeah, I've noticed this too, but I don't understand why at the moment ;)22:17
* nik90 looks at some basic apps created for the showdown 201322:17
ybonWhat I'm trying to achieve is make my own plugin for QtLocation, just as https://qt.gitorious.org/qt/qtlocation/source/0b36e73112b099090f5dcbbc21d172dcc7c97f30:src/plugins/geoservices/osm22:18
ybonbut I don't get how to reference the cpp files from the .project file22:19
ybonI've tried to add it on importPath key, but without success atm22:19
nik90ybon: okay here's what I saw from an app called "Saucy Bacon" created for the ubuntu app showdown 2013.22:20
nik90It had one basic C++ plugin to help save images22:20
nik90the developer uses .qmlproject file but also makes use of cmake to help with building and running the app22:20
ybonthis one https://github.com/random-cpp/saucybacon ?22:20
nik90I am guessing you should be able to to do it22:20
nik90and yes that's the one22:20
nik90It is essentially a QML Plugin22:21
ybonthe think I find weird is that c++ needs to be compiled before as per mentioned in the README22:22
ybonI though QtCreator was able to do that at runtime22:22
ybon(but maybe I'm just wrong)22:22
nik90that's how c++ plugins work22:22
nik90if you notice the SDK has qml plugins as well22:22
nik90they are precompiled22:22
nik90which we then use in our QML apps22:22
ybonok22:23
nik90Qtcreator has support now for building the packages for armf architecture right from your desktop22:23
nik90dont ask me how..I am not a c++ person :)22:23
ybonI'm aware c++ as to be compiled, but I though at dev time QtCreator was doing some wizardries to make our lives easier ;)22:23
nik90well if you use the .pro file, it will list the file paths to qtcreator which will help build the app and then run it for you22:24
ybonah22:25
ybonwell, let's try the .pro way, so :)22:25
nik90:)22:25
ybonthis was the example I was trying to follow, till now: https://github.com/Clepto/cnotes-ubuntu-touch/blob/master/CNotes.qmlproject22:27
nik90ah22:28
ybonah, this also need manual precompiling22:28
nik90I really think there should be a sample ubuntu project with a basic qml plugin to provide a starting point for people like us22:29
* nik90 goes to report a bug report about this22:29
ybonI still need to tame the wild project "Project ERROR: Project has no top-level .qmake.conf file." ;)22:31
ybonadded a dummy one (from qtlocation itself)22:35
nik90https://bugs.launchpad.net/qtcreator-plugin-ubuntu/+bug/127910922:36
ubot2`Launchpad bug 1279109 in qtcreator-plugin-ubuntu "Provide a sample ubuntu project with a qml c++ plugin" [Undecided,New]22:36
nik90feel free to confirm it22:36
ybonI've clicked on "affect me"22:38
ybonI'm having a look at the plugins in /usr/lib/x86_64-linux-gnu/qt5/qml22:38
nik90good idea22:38
ybonthey all have plugins.qmltypes and qmldir22:38
ybonso adding a .qmake.conf and running qmake, now I have a Makefile created on my plugin folder22:39
ybonI've a cpp error running "make" which is a good point at the end :p22:40
bzoltan1ybon: In the latest QtC from the SDK PPA there is a "QML Extension Library + Tabbed UI" Check that out. It is a cmake project22:44
ybongreat thanks :)22:45
bzoltan1ybon: you will need to create a click chroot in the Tools -> Options ... -> Ubuntu22:45
ybonThough I think I'm now lost in conflict between versions of QtLocation :s22:45
bzoltan1ybon: that will take some time22:45
ybonah22:45
bzoltan1ybon: after you have created a click chroot (preferable trusty and armhf) you can just simple right click on the project and build+package your app what will have a QML plugin22:46
ybonsounds great22:47
bzoltan1ybon: at the moment the project structure should look like as the template does ... but you will get the whole picture22:47
ybonbut I'm not seeing any "chroot" menu in Tools -> Ubuntu22:47
bzoltan1ybon: feel free to file bugs and/or ask  me or zbenjamin22:47
bzoltan1ybon: Tools -> Options ...22:47
ybonoh22:48
ybonthanks :)22:48
bzoltan1np22:48
ybon(ah paste.ubuntu.com seems having problems)22:50
ybonbzoltan1: https://gist.github.com/yohanboniface/9d947a7ae69f67c7ee0a I guess I'm missing some python package?22:51
ybonhumm, Chroot click-ubuntu-sdk-13.10-armhf does not exist22:53
ybonhttps://bugs.launchpad.net/ubuntu/+source/click/+bug/1260487 maybe22:55
ubot2`Launchpad bug 1260487 in click (Ubuntu) "click chroot requires debootstrap" [Low,Fix released]22:55
ybonno, I have rebootstrap already22:55
ybonah, sounds like I've run on Saucy by error, given the name of the missing file23:00
ybonThe click target was created successfully \o/23:21
ybondamn, the "QML Extension Library + Tabbed UI" template is far from the default QML one I've used, full of CMakeList.txt, I'm better to start a new one a reintegrate my code I think :)23:33
ybonbzoltan1: also, there is a strange ../../../../../usr/ that has been created23:34
ybonhttp://imgur.com/5NgcbHn23:35
sarnoldcute :)23:35
ybon:)23:41
ybonI'm unable to run the project atm, I'm asked about a missing executable, and I must confess I don't see any entry point (no .project, no .desktop, no .pro)23:42
ybon(I've tried to "build" but without any visible output)23:43
ybonIf I "run in chroot": You do not have permission to access the schroot service.23:48
ybonshould I run QtC in sudo? :s23:48
sarnoldybon: your user account probably needs to be in a specific group to use schroot23:49
sarnoldybon: find the groups= line in your /etc/schroot/whatever.conf file to figure out which group23:50
ybonah, nice, thanks23:50
sarnoldybon: then use adduser <user> <group> to add your user account to the group. then, probably logout/login is fastest way to make sure that change is propogated..23:51
sarnold(you could just use sg or newgrp in a shell that you use to start the QtC...)23:51
yboncan the group be "sbuild"?23:52
ybonI've many groups line, one per section, with changing values from sbuild, to root, or mix of both23:53
ybonalso sbuilds-security23:53
sarnoldybon: ah, check in /etc/schroot/chroot.d/ for the corresponding configuration file..23:54
ybonah, yep23:55
ybonno groups :s23:56
ybonusers=root,root23:56
ybonhere is the file https://gist.github.com/yohanboniface/94e432e185d3e7a6058c23:57

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!