/srv/irclogs.ubuntu.com/2014/05/30/#ubuntu-app-devel.txt

=== chriadam|away is now known as chriadam
AskUbuntuHow to generate final applicattion to publish in Ubuntu Touch Apps? | http://askubuntu.com/q/47419401:10
fdafweafThe Stats page for myapps.developer.ubuntu.com indicates that i have 17 downloads of my app, and it shows a pie chart breakdown by country, but the line graph at the top of the page doesn't have any data in it01:43
fdafweafIs that expected behavior?01:43
fdafweafIS there a way to generate arbitrary tones using QT?02:56
=== salem_ is now known as _salem
T_WHello03:55
T_WRunning 14.04, tried to install the SDK from the Software Center03:56
T_WGot a conflict with modemmanager03:56
T_WWeird03:56
T_WRing a bell with anyone?03:56
=== chriadam is now known as chriadam|away
=== chihchun_afk is now known as chihchun
justCarakasgooooood morning all :D06:49
JamesTaitGood morning all; happy Friday, and happy Loomis Day! :-D08:22
kalikianajounih: I think I got the issue with push_to_phone.sh sorted if you wanna give it another try, the issue was that Themes weren't being copied recursively https://code.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/pushToPhone/+merge/22126010:01
=== chihchun is now known as chihchun_afk
=== _salem is now known as salem_
=== salem_ is now known as _salem
elopiorenato_: now I have two branches for you :)12:39
elopiohttps://code.launchpad.net/~elopio/address-book-app/refactoring_tests1/+merge/22075312:39
elopiohttps://code.launchpad.net/~elopio/address-book-app/qmltest1/+merge/22126312:39
renato_elopio, ok I will take a look, thanks12:40
balloonsrpadovani, sorry about last night I lost power. :-) I'm checking your merge on my device now12:47
rpadovaniballoons, thanks :-)12:47
balloonslooks like the jenkins slaves are having a bit of trouble12:49
nik90_rpadovani: hey do you happen to know how to update the pot file for the clock app?12:56
=== _salem is now known as salem_
=== salem_ is now known as _salem
nik90_rpadovani: nevermind, I figured it :)13:02
* popey pounces on balloons 13:09
balloonshey popey13:09
popeyhttp://imgur.com/gallery/d9IxxRv ← me13:09
balloonshaha! cats13:09
popeyand balloons!13:10
balloonsso currently the utopic test slave is down on jenkins.. can't build anything13:10
balloonssince everyone is in malta, I'm getting concerned on how much longer to wait and see if they respond to my ping13:12
=== _salem is now known as salem_
balloonspopey, I guess the worse case scenario we build clicks from unlanded mp's?13:25
popeyGah.13:30
popeyballoons: who do you specifically need to poke?13:30
popeyI imagine some are on flights already or en route to airports13:30
balloonspopey, I was thinking francis, but honestly anyone in ci should be able to poke the poke and get it going agian13:30
balloonspopey, http://91.189.93.70:8080/computer/mediumtests-utopic-slave/?13:31
balloonsI can't run the reboot job13:31
popeyballoons: can you poke msm and see who is still there? She's about all day.13:31
balloonspopey, I think we'll get a response soon enough13:35
popeyok13:36
popeybest to ping cihelp in #ubuntu-ci-eng really13:36
popeythey have that on hilight13:36
balloonsyes, there's a few pings in there13:37
balloonsI told msm to have them just go look at the channel13:37
=== salem_ is now known as _salem
=== _salem is now known as salem_
=== salem_ is now known as _salem
renato_popey, do you know if is possible to run the calendar app from qtcreator into the device?13:44
popeyrenato_: yes and no, its missing a .desktop file so you have to make one I think...13:45
popeyI never do that13:45
=== _salem is now known as salem_
=== salem_ is now known as _salem
=== _salem is now known as salem_
=== salem_ is now known as _salem
frecelhttp://i.imgur.com/mf4Gwaf.png14:00
frecelwhat is causing this?14:00
renato_popey, who can help me with that?14:01
frecelrenato_: I would just look up a desktop file from a template and modifyit so it works with the calendar app14:02
popeyfrecel: ask zbenjamin14:02
t1mpfrecel: that's a bug for zbenjamin , he'll be back on Monday14:02
frecelwell that sucks because I mainly wanted to take a screenshot of another bug on the device :D14:03
renato_frecel, I created a desktop file like that: http://paste.ubuntu.com/7551692/14:05
renato_but still not working14:05
frecelIt's kinda hard for me to look into this right now since I can't use my phone with the sdk14:06
frecelare you getting any useful error messages?14:07
frecelpopey: So I made a little webapp, installed it on my phone and I'm getting a browser error instead of a website14:12
popeyoof14:12
popeywhat error?14:12
popeyand can you push the code so I can test too?14:12
frecelpopey: the weird thing is that it says "it appears you are having trouble viewing: http://cookies/14:12
popeyooer14:12
popeyfor your sdk issue, can you delete the device and re-detect it?14:13
frecelno, the sdk won't let me do that14:14
popeywhat, delete the device?14:14
popeytools -> options -> devices -> unplug device -> repeatedly hit "remove" button14:15
frecelthe remove button is shaded out14:17
popeyis the phone plugged in?14:18
frecelyes, the current state even says ready to use14:18
popeyso unplug then click remove14:18
popeythen close qtc, re-open qtc, plug in phone14:19
frecelhmmm14:25
renato_frecel, http://paste.ubuntu.com/7551836/14:26
renato_frecel, this is the message that I got, I do not know how to get more info14:26
frecelpopey: I blugged my phone directly to my pc rather than through USB hub and now it works14:27
frecelodd14:27
=== _salem is now known as salem_
popeyrenato_: might be easier to just go to the directory and "click-buddy build --dir . --provision"14:28
popeyrenato_: that'll build a click package, and install it onto the phone14:28
renato_popey, I was trying to debug the app14:28
renato_popey, do you know how I can manually run the app after install the click package?14:30
popeyi think you can via upstart14:31
renato_popey, I found the problem in the call manager branch \o/14:32
popeyheh14:32
popey$ start application APP_ID=com.ubuntu.calendar14:33
popeythats how I thought you did it14:33
renato_popey, https://code.launchpad.net/~pkunal-parmar/ubuntu-calendar-app/CalManagement/+merge/213355/comments/53039714:33
popeyrenato_: that looks like one for jdstrand ^14:38
frecelpopey: http://i.imgur.com/W5CoHFD.png14:47
frecelthis is what I'm getting when I try to use webapp container14:47
balloonspopey, so francis is still fixing jenkins, but we have the calc mp, tested on my device, should be good. The music mp has been a bit hard to test, but should also work just fine. Finally calendar which I tested fine yesterday seems to be having new apparmor issues on today's image ;-( I'm contemplating what to do15:12
ahayzenpopey, the latest utopic mediascanner2 packages don't run on trusty as they require libdbus-cpp3 which doesn't exist in trusty, so we may have to think of a different plan for trusty+ppa :/15:15
popeyahayzen: ugh15:24
ahayzenpopey, yeah :/15:24
balloonsping rpadovani17:33
balloonsrpadovani, https://code.launchpad.net/~rpadovani/ubuntu-calculator-app/1324476/+merge/221458 has pep8 errors :-) Can you fix?17:36
balloonsrpadovani, tests/autopilot/ubuntu_calculator_app/emulators.py:272:17: E126 continuation line over-indented for hanging indent17:37
balloonsrpadovani, nvm, I did it and resubmitted. Enjoy your night good sir17:40
ahayzenballoons, wht is the plan with our mediascanner2 branch? i'm currently using silo-016 to test the new mediascanner2 but the AP tests didn't create the environment correctly17:43
balloonsahayzen, if you need / want to land right now, we should back out the AP env changes and use basic file backup / restore17:45
balloonsahayzen, meaning, remove the mediascanner and music dirs, then restore them when done17:45
ahayzenballoons, we are waiting for mediascanner2 to first land in the image... then we hope to land our branch17:45
balloonsbasically apparmor can't be easily made to play nice17:45
ahayzenballoons, but we under pressure from above to migrate as it allows them to remove grilo from the image17:46
balloonsahayzen, so does it need to go now?17:47
ahayzenballoons, heh ... it has been ASAP for the past two weeks17:47
balloonsahayzen, if that's the case then we should remove the AP env isolation stuff17:47
balloonsit just isn't going to work at the moment17:48
ahayzenballoons, so go back to unconfined? and then rollback the patch_home to when it was doing it in /tmp as Victor originally made?17:48
balloonsahayzen, trunk is unconfined again17:53
ahayzenballoons, cool i'll merge with trunk and revert the tests...17:54
balloonsvictor approved the change back this morning, and I'm pushing that version into the store.. So one last version before mediascanner217:54
ahayzen\o/17:54
ahayzenballoons, and last on the old framework17:54
balloonsahayzen, I'm not sure that means you should do the same with mediascanner 217:54
balloonsahayzen, what's in there now should work with unconfined17:54
ahayzenballoons, ok i'll merge with trunk and try AP tests again17:55
balloonsheh, it's the fix to all problems17:56
qtrosHi all17:56
danielbeck1Hello. I would like to get the x86 ubuntu-touch emulator to work. However, the screen stays black.17:56
danielbeck1I can login with adb.17:57
qtrospopey when will Shorts meeting start? :)17:57
danielbeck1I posted the log when starting the emulator here: http://paste.ubuntu.com/7553065/17:57
ahayzenballoons, it appears to be running the tests with my library rather than the fake one17:58
ahayzenballoons, note the latest mediascanner2 packages i *think* use dbus could this be causing this?17:59
balloonsqtros, is there a shorts meeting this afternoon?17:59
qtrosballoons I think yes, but not sure18:00
balloonsdanielbeck1, on trusty or utopic?18:00
danielbeck1trusty18:00
balloonsahayzen, you are correct they use dbus. There is supposed to be an apparmor policy written for it18:05
balloonsahayzen, logs are welcome.. I'm getting lost as to what's up now :-)18:05
ahayzenballoons, ok so this is unconfined...it is attempting to run the tests...the app starts the library that appears is my one not the test environment..this is the full trace of the tests i ran http://pastebin.ubuntu.com/7553169/18:07
ahayzenballoons, i assume because it is going via dbus now we have to modify the way we are faking home?18:08
balloonsahayzen, ohh I forget I saw these and was bother by them: /usr/lib/arm-linux-gnueabihf/qt5/bin/qmlscene: unrecognised option '--url='18:09
balloons/usr/lib/arm-linux-gnueabihf/qt5/bin/qmlscene: invalid option -- 'I'18:09
balloonssorry to sidetrack..18:09
ahayzenballoons, tht has been around for ages18:10
ahayzenballoons, think it is something todo with our command line options?18:10
balloonsahayzen, yes and yes18:10
balloonsahayzen, main.cpp and what AP is passing should line up18:11
ahayzenballoons, main.cpp?18:11
balloonsisn't that then name of the file.. well, you know what I mean. where the command line options are specified :-)18:11
ahayzenballoons, set(EXEC "qmlscene -qt5 ${MAIN_QML} --url=%u -I ./plugins")18:12
ahayzenballoons, in the cmake? and then processed in the music-app.qml18:12
balloonsI'm just going to end up opening the project18:12
balloonsheh18:12
ahayzenhah18:12
balloonslet me pull the branch I guess18:13
ahayzenballoons, ah18:13
balloonsahayzen, if AP works can this land?18:13
ahayzenballoons, you *will* require the new mediascanner2 to run it18:13
ahayzenballoons, if AP passes, mediascanner2 lands... and Victor, me, u and pope y are all happy then yes :)18:14
balloonsdanielbeck1, I would try asking on #ubuntu-touch, but it's REALLY quiet today because of folks traveling and the late hour18:14
balloonsahayzen, in other words.. my brain is still kind of spinning and I have to run in an hour :-)18:15
ahayzenballoons, the new packages are here https://launchpad.net/~ci-train-ppa-service/+archive/landing-016/18:15
balloonsso how can I be the most helpful to you in that time?18:15
ahayzenballoons, hah no worries so much going on lol18:15
danielbeck1balloons: ok, thanks.18:15
ahayzenballoons, basically how can i get the AP tests to pass on this MP when running on device https://code.launchpad.net/~music-app-dev/music-app/use-mediascanner2.0/+merge/21414018:15
balloonsahayzen, let's solve the command line errors.. that's simple18:15
ahayzenballoons, ok :)18:15
balloonsthe AP tests I'm not sure if we need to back out the env changes or not18:16
balloonsand I'm not sure I can easily arrive at a conclusion18:16
ahayzenok understood18:16
balloonsok, let's have a look now18:22
balloonsright, so I was thinking there was a compiled binary for some reason.. there's not18:22
balloonsahayzen, so I guess just fix the cmake line.. simple18:23
ahayzenballoons, i guess?18:23
balloonsahayzen, well, the things is, you support passing url's right18:23
balloonsreally it's the -I plugins that really confuses.. you don't have any18:24
ahayzenballoons, yep via command line args or via the uri-handler18:24
ahayzenballoons, we did/do have grilo18:24
balloonsahayzen, right but this branch should remove that right/.18:24
ahayzenballoons, yep mediascanner removes it... this is where the arguments are processed http://bazaar.launchpad.net/~music-app-dev/music-app/trunk/view/head:/music-app.qml#L11818:24
ahayzen*mediascanner218:25
balloonsahayzen, ahh ok, well let me correct the ap env isolation code a little bit18:26
ahayzenballoons, cool thanks18:26
balloonsI will at least change it to what works for calendar18:27
ahayzenballoons, if u need to test on device...installing silo 016 should allow it to run...or i can run it :)18:27
ahayzen:)18:27
balloonsit's pushed18:28
balloonsrun away18:28
ahayzen\o/18:28
* ahayzen keeps getting 'requested revno (486) is later than given known revno (476)' and similar in his autopilot run script :S18:30
ahayzenlet me run it manually something is going wrong here...18:32
ahayzenballoons, when running phablet-click-test-setup i get ^^ error that is because it has the AP tests of a later branch already there, so i can ignore it right?18:33
balloonsahayzen, you shouldn't need to run phablet-click-test-setup18:33
balloonsjust adb push the tests over and run them18:34
ahayzenballoons, i usually do a click-buddy then phablet-test-run ?18:34
balloonsahayzen, yep that's fine18:34
balloonsahayzen, but if you haven't changed the app, you can literally just push the new tests18:34
balloonsadb push tests/autopilot/ /home/phablet/autopilot/18:34
ahayzenballoons, hmm it is still the same, the 'real' library is appear rather than the 'fake' one18:34
ahayzen*appearing18:34
balloonsahayzen, ok, can you send log again?18:35
ahayzenballoons, ok...let me cancel...18:35
balloonsand I'll undo the env stuff I think and do the backup / replace18:35
balloonsit's weird.. you should see errors.. but of course you put on unconfined, so18:35
ahayzenballoons, http://pastebin.ubuntu.com/7553290/18:35
balloonsahayzen, this is concerning: 19:35:00.431 INFO logging:45 - str: Set the value of an initctl environment variable. Arguments ('/home/phablet',). Keyword arguments: {}.18:36
balloonsohh nvm I get it18:37
balloonsit's unsetting it because of the error18:37
balloonsahayzen, how do I get the silo?18:44
ahayzenballoons, something like this http://pastebin.ubuntu.com/7553358/18:45
ahayzenballoons, it is this PPA https://launchpad.net/~ci-train-ppa-service/+archive/landing-016/18:45
balloonsahayzen, I'm looking at _patch_mediascanner_home to make sure it's correct. I'm concerned18:45
balloonsahayzen, do we need to stop / start the mediascanner service at all?18:50
ahayzenballoons, i just restarted the device after to ensure everything was done correctly18:50
ahayzenballoons, but yes it probably needs start and stopping18:51
balloonsI have mediascanner installed now.. going to restart18:51
ahayzen:)18:51
balloonsok, so the mediascanner db seems to be written to properly18:53
balloonsso, the service.. does it need anything special?18:54
ahayzenballoons, do u experience the same as me?18:54
balloonsit's probably still running with the old db18:54
ahayzenballoons, ah i don't think there were any db changes18:54
ahayzenballoons, it was only exposing things for us in QML and adding dbus..but we could be safe and clean the db18:55
balloonsahayzen, hehe, I broke it good now18:56
balloonsno music found :-)18:56
ahayzenballoons, i've just removed my db and now rebooting18:56
ahayzenballoons, seems to have reconstructed it correctly...18:57
ahayzenballoons, u'll probably need to stop/start mediascanner to get it to recontruct the db18:58
balloonsahayzen, so yea I'm thinking the db fackery we do  might need mediascanner to restart18:59
balloonsI'm trying to think how we go around it before..18:59
ahayzenballoons, hmm but it was working before the move to this silo18:59
balloonsahayzen, so stopping / starting breaks things19:02
balloonslet me try it unchanged19:02
ahayzenok19:02
ahayzendamn this is more complex than it should be :/19:03
balloonshah, same issue19:03
balloonsso for me it sees nothing19:03
ahayzenand this is unconfined ;)19:03
ahayzenfor me when running the tests as of #487 it runs with whtever is in the 'real' db19:04
balloonsahayzen, did you recompile apparmor?19:04
balloonshmm did I?19:04
ahayzenballoons, you are on image #56 right?19:04
ahayzenballoons, do wht? how...?19:04
balloonsphablet-config autopilot --dbus-probe enable19:05
balloonswell and.. hmm19:05
ahayzenballoons, i sometimes do that...but does that need to be done *after* click-buddy?19:05
balloonsstill no music found19:06
ahayzenballoons, just ran that and then ran phablet-test-run still the same as before19:06
balloonswhy aren't we seeing the same thing...19:06
ahayzenballoons, do you have any normal music on device?19:06
balloonsahayzen, yes19:07
ahayzenballoons, ^^ is wht i mean by 'real'19:07
balloonswell.. heh, let's confirm that haah19:07
ahayzenballoons, and when you run the app normally that appears?19:07
balloonsnvm19:07
* balloons facepams19:07
ahayzenhah balloons it has been a long two weeks ;)19:07
balloonsahayzen, I have music in the Music folder19:08
ahayzenyep19:08
balloonsbut the music doesn't see it.. so we are experiencing the same thing19:08
ahayzenballoons, no mine does see what is in ~/Music19:08
ahayzenballoons, if i run the app normally i see whtever is in ~/Music.... then if i run autopilot tests...it shows the data in ~/Music and tries to run the tests against it19:09
balloonsahayzen, yep I get that. So for whatever reason it's not taking the isolation properly19:10
ahayzenballoons, yep19:10
balloonsso I wiped all the configs and my music appears properly now :-)19:11
ahayzen\o/ .... balloons but for autopilot it doesn't? or ... ?19:11
balloonsok, now with the tests I again get blank19:14
ahayzen:/19:14
balloonsthis is going to be kind of painful19:16
ahayzenheh i was fearing this was going to happen :(19:16
balloonswe need some debugging on the mediascanner service19:18
balloonsOperation failed Cannot open media index params at ""/home/phablet/autopilot/fakeenv/tmp3rdulo3b/.cache/mediascanner"19:19
ahayzensounds suspicious19:20
ahayzenballoons, if you actually start mediascanner can you put debugging on like with mediascanner1?19:20
balloonsnot sure.. I hope?19:20
ahayzenballoons, or even just running $ mediascanner-service-2.019:21
ahayzenballoons, shows something19:21
balloonsahayzen, why is music looking for an index there? we aren't creating one19:22
balloonswe are creating ~/.cache/mediascanner-2.019:22
balloonsohh.. heh, I still have the old music app, don't I?19:22
ahayzenah19:22
balloonshahah19:23
ahayzenoh god lol19:23
balloonsI was playing with the old one right before this19:23
ahayzentoo many things!19:23
balloonslookey there, my current music!19:24
balloonsand I'm up to you now19:24
ahayzenyey \o/19:24
ahayzennow you can experience my issues lol19:24
balloonsyep19:26
balloonsjust in time.. I've got to run19:26
ahayzenyey have fun balloons :)19:27
balloonscheers19:28
=== boiko_ is now known as boiko
=== salem_ is now known as _salem
=== 77CAAAVNV is now known as frecel

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