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

dholbachgood morning08:14
nerochiarooSoMoN: hey, good morning. safely back from Florida ?09:17
oSoMoNnerochiaro, morning!09:17
oSoMoNyup, back home09:17
nerochiarooSoMoN: can you have a look at https://code.launchpad.net/~amanzi-team/gallery-app/gallery-app-swipe-desktop/+merge/204741 when you have time ? CI fails but not because of my stuff I think, and I triggered a re-run since I saw on the ML there were fixes in the infrastructure09:30
oSoMoNnerochiaro, yes, will take a look09:30
=== JamesTait is now known as Guest48233
=== Guest48233 is now known as JamesTait
JamesTaitGood morning all; happy Clean Out Your Computer Day! :-D09:34
=== chriadam is now known as chriadam|away
=== JamesTait is now known as Guest282
=== Guest282 is now known as JamesTait
nerochiarooSoMoN: are you running ubuntu on dual boot ?11:55
oSoMoNnerochiaro, no, not tried yet11:56
nerochiaroah ok, was going to ask if it's normal that it takes ages to update the ubuntu image11:56
=== MacSlow is now known as MacSlow|lunch
dpmnerochiaro, it does12:38
nerochiarodpm: is anyone on the case ? or is it considered normal ?12:38
dpmnerochiaro, it takes about 30min-1h for me to download it12:38
dpmI don't consider it normal, but I'm not sure what's causing it12:39
dpmI talked to ondra about it a while ago, and he seems to think it's because of the load on the download servers12:39
dpmbut I'm surprised to see it's got _that_ much load12:40
dpmespecially as most people with an Ubuntu phone would not download the full image, but the image updates instead12:40
nerochiarodpm: for me it takes ages to install the image, not downloading it12:43
dpmoh, installation was relatively quick for me, about a couple of minutes12:45
nerochiarodpm: on what device ?12:48
dpmNexus 412:49
nerochiarodpm: galaxy nexus here12:57
nerochiaroondra: have you tried running the ubuntu dual boot installation (or update) on a galaxy nexus ? It takes hours to update on my device12:57
ondranerochiaro: what is taking long, download or actual installation?13:06
nerochiaroondra: actual installation, download is slow but it's still ok. installation is really slow13:07
ondranerochiaro: yep, it's due to slow hw, if you use phablet-flash it will be same13:07
nerochiaroondra: actually no, it is significantly faster13:08
ondranerochiaro: you might enable in developer options to stay alive when plugged, to make sure powermanager does not halt install when it runs on background for too long13:08
nerochiaroondra: i never had to wait more than 15-20 minutes to finish an install with phablet-flash, it took more than an hour with the updater from android13:08
nerochiaroondra: oh, that thing with it stopping in background might be the problem. i'll check that13:09
ondranerochiaro: but actual unpacking of tar.xz is slow and then creating swap is dead slow, as ogra_ pointed out13:09
nerochiaroondra: but it shouldn't be slower than phablet-flash, should it ?13:10
ondranerochiaro: dunno, ogra_ said it took him ~45 mins to update GNexus13:10
ogra_the unxz on the maguro is extremely slow ...13:10
ondranerochiaro: install not really, it does same thing as phablet-flash, just download is done on the phone, rather than pc13:10
ogra_(thats the nature of this HW)13:10
ondranerochiaro: once files are in the phone, it's identical to phablet-flash13:11
=== MacSlow|lunch is now known as MacSlow
=== _salem is now known as salem_
nerochiaroondra: i'll try to see if keeping it alive will make things better, it could be it was being stopped when in background for too long. i'll report again if it's still slow13:14
ondranerochiaro: thanks!13:20
nerochiaroondra: thanks to you13:20
=== oSoMoN_ is now known as oSoMoN
elopioping renato. I have some questions about EDS.14:31
renatoelopio, hi14:39
elopiorenato: hello!14:39
elopiorenato: we need to start autopilot tests with a fresh database. Is there a way we can do that?14:39
renatoelopio, you can check the unit tests for eds plugin14:40
elopiorenato: here? https://launchpad.net/qtorganizer5-eds14:40
renatoyes14:40
renatothere is some code on makefile to do that14:40
elopiorenato: looking at it.14:41
elopionik90: ^14:41
nik90hmm I am terrible with C++ and unit tests14:42
dpm_hi mzanetti. We want to upload a new reminders app version to the store. If you've got a minute, could you have a look at https://code.launchpad.net/~dpm/reminders-app/bump-to-0.4/+merge/205602 ? The MP is quite trivial, but it'd be nice to sort out the issue with the bzr revision explained in the description. Do you have any ideas?14:44
renatoelopio, nik90 the big trick is on this file: http://bazaar.launchpad.net/~phablet-team/qtorganizer5-eds/trunk/view/head:/tests/unittest/CMakeLists.txt14:44
mzanettidpm_: can do in a bit. not right now14:46
WebbyITdpm, sorry, I don't understand your comment here. mzanetti and I are speaking about a button to choose with wich account do the login in reminder app, why it be should part of Online Accounts? After a login with an account, user maybe wants to switch  account, and IMO is non-sense to go to online account to change actual user....14:46
WebbyIThttps://code.launchpad.net/~rpadovani/reminders-app/multiple-accounts/+merge/205066/comments/48065014:46
dpm_np, thanks mzanetti14:47
nik90renato where is the database file actually stored in the system? Cant I just move that database to a backup location and create the alarms. Then delete the temp database and restore the original database back?14:47
renatonik90, I do not recommend that if the user is using the database this will cause a problem, if the test crash or the user kill the test the database will not be restored14:48
renatoand a lot of other problems14:48
renatoin my opinion the test should never touch on user data14:48
nik90renato: okay14:49
WebbyITdpm_, sorry, I don't understand your comment here. mzanetti and I are speaking about a button to choose with wich account do the login in reminder app, why it be should part of Online Accounts? After a login with an account, user maybe wants to switch  account, and IMO is non-sense to go to online account to change actual user....15:15
WebbyIThttps://code.launchpad.net/~rpadovani/reminders-app/multiple-accounts/+merge/205066/comments/48065015:15
mzanetti:D15:15
WebbyITwell, I dunno if dpm_ see it, cause I pinged wrong dpm :P15:16
=== salem_ is now known as _salem
=== _salem is now known as salem_
dpm_WebbyIT, sorry. I did see it, but I haven't had the chance to reply16:10
WebbyITdpm_, np, when you have time :)16:10
dpm_WebbyIT, I'll reply on the comment as soon as I can16:10
WebbyITdpm_, thanks, as said np, when you'll reply I'll update the branch :-) Thanks!16:10
=== gatox is now known as gatox_lunch
=== gatox_lunch is now known as gatox
=== bfiller is now known as bfiller_afk
m-b-oballoons: ping18:16
balloonsm-b-o, just thinking about you :-)18:22
msvb-labAnybody know if the <MyProj>.qmlproject.user from new Ubuntu-SDK projects should be checked in to revision control?18:22
msvb-lab...or if these .qmlproject.user files should NOT be checked in?18:22
m-b-oballons: fine :)18:22
msvb-lab...or if it's optional?18:22
msvb-labWondering about these files due to the 'user' part that seems to me could include a password or something?18:23
msvb-lab...and that a new project by default adds many files to revision control, but not this one.18:23
balloonsm-b-o, so what's up?18:23
m-b-oballoons: I've tried to test keyboard-shortcuts but had no luck with jenkins/autopilot-sandbox-run18:23
msvb-lab...yet there isn't a default 'ignore' policy either.18:23
balloonsm-b-o, what'18:23
m-b-oballoons:  on the desktop all test are fine18:23
m-b-oballoons: see https://code.launchpad.net/~martin-borho/ubuntu-weather-app/keyboard-shortcuts the tests with shortcuts are skipped at he moment18:24
balloonsm-b-o, we should land the feature with the test18:25
balloonsm-b-o, let me help figure it out with you18:25
m-b-oballoons: cool :) MP got approved minutes ago I saw18:26
balloonsm-b-o, can we wait to land it? have time now to fix?18:27
m-b-oballons: I have time! Is it bad, if it gets merged without proper tests?18:27
balloonsso if the keyboard shortcuts work on the desktop, where else do they need to work but don't?18:28
m-b-oballoons: ah! :)18:28
balloonsI don't think it's intended they work on the phone right?18:28
m-b-oyes18:28
balloonsm-b-o, so we can make them desktop only test18:28
m-b-oyes, I think so18:29
m-b-oballons: I guess I have to set somehow another scenario?18:32
nik90msvb-lab: you shouldn't add .qmlproject.user to the version control. It is generated in every user's computer for a project18:33
m-b-oballoons ↑18:33
msvb-labnik90: Okay, makes sense. But wouldn't the tab and style settings for a project be useful to duplicate across developers?18:34
msvb-labAre there eventually passwords, paths, or other identifiers that will be stored in the .qmlproject.user file without the developer's knowlege?18:34
nik90msvb-lab: yes and no..settings like tab, style setting etc are personal. Every developer has their own. They wouldn't want their own settings to be replaced with yours, wouldn't you agree?18:36
balloonsm-b-o, we can add a check for what device, and just return if it's not desktop18:36
nik90msvb-lab: I don't think passwords or other identifiers are stored in it.18:36
msvb-labnik90: But it seems that paths do eventually get in there.18:36
msvb-lab...and that's bad enough leakage.18:37
m-b-oballoons: ok, let me try18:37
balloonsm-b-o, like if platform.model() != "Desktop" then return18:37
msvb-labnik90: I agree that these files shouldn't be put in revision control, now the question is why aren't there entries by default in the 'ignore' file of a new revision controlled project.18:37
m-b-oballoons: same thought :)18:38
nik90msvb-lab: all core apps just add that file to their bzrignore file18:38
msvb-labnik90: Do you mean the developer of a new core app manually adds the file to bzrignore?18:41
msvb-labIt doesn't seem that the Ubuntu-SDK generates a bzrignore file at all for new projects.18:41
msvb-lab...neither for mercurial '.hgignore'18:41
msvb-labSo I wonder why not, since that would be useful wouldn't it?18:41
nik90msvb-lab: I guess it would be18:42
m-b-oballoons: autopilot-sandbox-run is also "Desktop".... so this alone won't make it18:42
nik90msvb-lab: I will file a bug about it18:42
msvb-labnik90: Okay, please tell me the bug number since I might work on it (or at least monitor its progress.)18:43
nik90msvb-lab: https://bugs.launchpad.net/qtcreator-plugin-ubuntu/+bug/127853818:48
ubot2Launchpad bug 1278538 in qtcreator-plugin-ubuntu "Creating a new QML project should add sensible defaults to the .bzrignore file" [Undecided,New]18:48
msvb-labOkay, thanks.18:48
=== samertm is now known as samertm|afk
balloonsm-b-o, autopilot sandbox isn't an issue18:55
balloonsm-b-o, so with that change it should run fine through jenkins; it runs fine on the desktop and will continue to run on phablet19:07
balloonsm-b-o, we could also add a check for the proper behavoir on the phablet devices. What should happen if I try a keyboard shortcut? I guess I'm not sure how I could even invoke it19:08
m-b-oballoons: pushed!19:08
m-b-oballoons: hmm, you should connect a real keyboard then19:09
m-b-oballons: but with a bluetooth-kb connected to a tablet...19:10
m-b-oballoons: but with a bluetooth-kb connected to a tablet...19:10
m-b-oballoons: do you have to top approve to trigger jenkins?19:15
balloonsm-b-o, sure19:18
balloonsm-b-o, no, don't need to top approve to trigger19:18
m-b-oballoons: nope... failed again19:25
balloonsm-b-o, oO The buildbot is considered desktop19:26
balloonslet me look closer19:26
balloonsok, so statenotfound errors is likely a timing thing19:26
m-b-oballoons: in that particular case the sheet wasn't opened19:29
balloonsm-b-o, I'm pulling your branch19:49
balloonsm-b-o, I would simply return, instead of "return None"20:00
=== samertm|afk is now known as samertm
m-b-oballoons: yes, but that wouldn't fix it, I guess20:11
m-b-oballoons: going off now, will ping you tomorrow!20:19
balloonsm-b-o, cu20:20
m-b-ocu20:20
=== salem_ is now known as _salem
=== bfiller_afk is now known as bfiller
=== daker_ is now known as daker
dakeris there any precise ppa for qtdeclarative5-usermetrics0.1 ?21:37
ybonI've this message in OSMTouch logs: "Unable to write tile cache file "/home/phablet/.tilecache/queue1" Is there any config to for the app to be able to write on /home/phablet? Can this be some apparmor policy missing?22:36
sarnoldybon: check /var/log/syslog for DENIED messages to see if apparmor is related22:41
ybonthanks sarnold22:42
ybonchecking :)22:42
ybonMany of this Feb 10 23:20:17 ubuntu-phablet kernel: [ 2129.702242] type=1400 audit(1392070817.580:649): apparmor="DENIED" operation="open" parent=1785 profile="me.yohanboniface.osmtouch_OSMTouch_0.1.2" name="/home/phablet/.config/me.yohanboniface.osmtouch.conf" pid=8259 comm="qmlscene" requested_mask="r" denied_mask="r" fsuid=32011 ouid=3201122:43
ybonbut nothing about the previous path22:43
popeyyou should write to one of the directories you're allowed to via the apparmor profile22:44
popey~/.tilecache doesn't look XDG compliant22:44
ybonah, interesting22:44
popeyhttps://lists.ubuntu.com/archives/apparmor/2013-August/004183.html22:44
ybonthis is the QtLocations default behaviour, btw22:44
ybonbut I will check how I can take control22:45
ybon(I've many thing which I want to override, but for this I need some time to do C++, for now I'm only dealing the qml side)22:45
popeyjdstrand knows all about this and may have a handy link for reference22:46
popeyhttp://askubuntu.com/questions/160813/where-should-i-save-temporary-files-of-the-app-i-am-developing maybe22:47
ybonthanks :)22:47
* ybon reading both links22:48
jdstrandybon (and popey): http://developer.ubuntu.com/publish/apps/security-policy-for-click-packages/23:26
popeyaha! that's the one, thanks jdstrand23:27
* popey embookmarkens23:27
jdstrandnp23:27
ybonnice, thanks jdstrand :)23:28
ybonI'm not sure I'm able to fix this qml side, though23:35
sarnoldybon: hrm, I thought everything was just supposed to work. Perhaps it's in how you're launching the application? see if this is related / useful: https://wiki.ubuntu.com/SecurityTeam/Specifications/ApplicationConfinement#Launching_applications23:40
ybonah, intesting, thanks23:40
ybonhere is my desktop file, in case: http://bazaar.launchpad.net/~yohanboniface/osmtouch/trunk/view/head:/OSMTouch.desktop23:41
* ybon reading23:41
ybonI do see a ~/.cache/me.yohanboniface.osmtouch/ folder in my phone23:47
ybonso I guess in some way the settings are good23:47
ybonBUT the QtLocation tilemanager seems to want to do its own way23:47
ybonah, damn23:48
ybonseems to be fixed in QT 5.2.023:48
sarnoldooo23:48
ybonjust as many of the bugs I see in QtLocation23:49
ybonseems that I need to employ a bit of my energy to help jumping to QT 5.2.023:50
ybon(instead of taking time to workaround)23:50
sarnoldI'm surprised moving to 5.2 is as much effort as it sounds.23:50
ybonthere was a list of bugs tagged 5.2.0 but I can't remember where23:51
* ybon still a bit lost in all the repositories23:51
ybonhttps://bugs.launchpad.net/bugs/+bugs?field.tag=qt5.223:52
sarnoldwowwwweee23:53
ybonah but some have "fix committed"23:56
ybon"only" 26 remaining23:57

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