/srv/irclogs.ubuntu.com/2013/09/10/#ubuntu-app-devel.txt

=== chriadam|away is now known as chriadam
cwaynemhall119: ping00:13
mhall119cwayne: pong00:17
cwaynemhall119: does an app need to explictly set its background as Theme.Palette.normal.background to have it's background change when the default theme is changed?00:18
mhall119um.....I don't know00:18
mhall119Kaleo might00:18
imnicholmhall119, since you're already here, and you know what you're talking about: is there documentation on using the camera in qml?00:19
mhall119imnichol: well, one out of two anyway :)00:19
mhall119imnichol: I haven't tried it, but the camera should be accessible using the Qt APIs00:20
mhall119http://qt-project.org/doc/qt-5.0/qtmultimedia/cameraoverview.html00:20
imnicholAnd a follow-up, what's the keyword that I should search for if I'm trying to find the code for picking a picture that's already been taken on the device00:20
imnicholHah, thanks man00:20
imnicholI feel like it was "image picker" or "gallery chooser" or something like that00:21
mhall119imnichol: for pictures already taken, you want to talk to kenvandine about his content-hub00:21
imnichol"content-hub", gotcha00:21
mhall119pretty sure that was the name of it00:21
imnicholYeah it is00:21
imnicholI remember now00:21
mhall119yeah, that'll let you get pictures even if they're outside of your app's security sandbox00:21
imnicholThank you very much dude00:21
mhall119np, happy  hacking :)00:22
=== ondra is now known as ondra-afk
mihir_Goodmorning :)05:37
vadiI compiled my Qt app on Qt5 (installed from Qt's online installer) and there is no appmenu integration anymore. How can I get that back?07:29
dholbachgood morning07:45
nerochiarogusch: do you have time for a quick look at this ? https://code.launchpad.net/~amanzi-team/webapps-demo/webapps-demo-no-hud/+merge/18453508:14
guschnerochiaro: ok08:14
nerochiarogusch: thanks08:14
guschnerochiaro: ah - that's the one, where I proposed to keep the "," for the webbrowser-app08:15
nerochiarogusch: oh :) right, doing it now. sorry08:15
nerochiarogusch: done08:17
guschnerochiaro: approved - jenkins will do the rest08:18
JamesTaitGood morning all, happy Swap Ideas Day! :-D08:21
nerochiarogusch: excellent08:22
nerochiaroJamesTait: every morning i wonder, where do you find out what Weird Stuff Day is today ?08:23
JamesTaitnerochiaro: wikipedia and daysoftheyear.com, mostly. Various history sites as well, but only if the first two turn up nothing that piques my interest.08:25
nerochiaroJamesTait: nice. thanks08:25
mardytimp: hi! Not sure you are the right person to review this, but at least you should know who is: https://code.launchpad.net/~mardy/ubuntu-ui-toolkit/lp1221707/+merge/18451308:34
mardybzoltan1: or you (hi!) :-) ^08:35
timpmardy: yes I could review it.08:57
timpmardy: or zsombi08:57
mardytimp: thanks either way :-)08:57
timpmardy: ok. I'll check it later today08:58
mehowshigar and a waffle ?09:38
mehowhttp://www.youtube.com/watch?v=HXJefJOU5OE&noredirect=109:38
bzoltan1hello mardy!09:45
mardybzoltan1: hi!09:45
bzoltan1Pat told me that you might be good to join us :) and give some love to our QtCreator plugins09:46
mardybzoltan1: that is news to me, but if I can, I'll happily help09:50
bzoltan1mardy: Well :) maybe I should have talked to David first :)09:51
bzoltan1mardy: my dear fellow jppiiroinen quits us this month and so the QtC plugins will fall on my shoulder ...09:52
mardyjppiiroinen: shame on you! ;-)09:54
mardybzoltan1: don't tell me you are unhappy to be back to coding :-)09:55
bzoltan1mardy: To be frank :) I did enjoy when i had to code C++ the plugin when jp was out for a month09:55
jppiiroinenmardy :D10:09
nik90|Officezsombi: do you happen to know Charles Kerr's email? I can email and check if he is still working on the notifications. I forgot to mention this in our email10:11
zsombinik90|Office I gave his email to you once already :)10:13
=== gusch is now known as gusch|lunch
nik90|Officezsombi: sorry, it is in my other laptop :P10:14
zsombinik90|Office emailed 2 U :)10:16
nik90|Officezsombi: hehe thnx a lot :). I have added him as a contact now10:16
=== chriadam is now known as chriadam|away
nerochiarogusch|lunch: i'm trying to build the gallery, but i get this error: http://pastebin.ubuntu.com/6087415/ (this is frrom trunk, on saucy)10:49
nerochiaroany ideas ?10:49
=== gusch|lunch is now known as gusch
guschnerochiaro: you need to install the content-hub10:53
nerochiarogusch: shouldn't it be a dependency ?10:54
nerochiarogusch: cmake doesn't complain about it being missin10:54
guschnerochiaro: libcontent-hub-dev is set as dependency10:54
nerochiarogusch: but cmake doesn't check for it. it should10:54
guschnerochiaro: yes, it should, but there is no proper file for it yet in content-hub10:55
nerochiarogusch: understood10:57
nerochiarogusch: and when trying to run ap tests on the desktop, do you know why ap is complaining that "ImportError: No module named ubuntuuitoolkit"11:00
nerochiaro?11:00
guschnerochiaro: what? the gallery c++ unit test you mean?11:01
nerochiarogusch: the galllery autopilot tests11:02
guschnerochiaro: let me check - but they worked a few days ago11:04
guschnerochiaro: works for me - strange message what's "ubuntuuitoolkit" supposed to be?11:08
nerochiarogusch: i think the sdk installs some python modules to help with writing tests that do stuff like revealing the toolbar11:09
nerochiarogusch: guess that for some reason i don't have that stuff installed here11:09
guschnerochiaro: ah - it's a python error ...11:10
nerochiarogusch: ok, found out what it was: ubuntu-ui-toolkit-autopilot package was missing11:10
guschnerochiaro: you need ubuntu-ui-toolkit-autopilot11:10
nerochiarogusch: :)11:10
=== MacSlow is now known as MacSlow|lunch
=== nik90|Office is now known as nik90|Office|Lun
nerochiarogusch: ok, this is quite weird. i have submitted this MR and the tests pass on desktop: https://code.launchpad.net/~amanzi-team/gallery-app/gallery-app-actions-api/+merge/184533 but obviously jenkins doesn't like this stuff and lots of tests fail there. any ideas ? the tests that fail don't seem very related to the changes i made11:21
guschnerochiaro: let me see - bzoltan had quite a lot of issues with gallery tests as well :(11:22
bzoltangusch: yes, we have an MR pending for similar reason, timp can tell11:23
guschnerochiaro: ^11:24
nerochiarobzoltan: is anyone looking into these failures then ?11:28
nerochiarotimp: ^11:35
mefriohi guys is there anybody who can help me with a click package of my app?11:38
bzoltannerochiaro: check with the devs of those tests... that is what I try to do11:40
timpnerochiaro: no, and I have the reverse problem. Gallery tests fail for me when I run it on device11:40
timpnerochiaro gusch so I we have to fix these test issues together. I don't think someone else is looking into them.11:41
cwayneKaleo: hey, does an app have to explictly set its background as Theme.palette.normal.background in order to have it changed when the default theme is changed?11:42
nerochiarotimp: gusch: i'm going to lunch. by the time i am back omer should be back too. hopefully he's not too busy and we can talk to him as well. i have a feeling we need a qa person to solve this mess.11:43
timpnerochiaro, gusch test reports like this https://jenkins.qa.ubuntu.com/job/generic-mediumtests-runner-mako/646/testReport/junit/gallery_app.tests.test_album_editor/TestAlbumEditor/test_add_photo_with_touch_/ are like chinese for me. I don't see what's wrong11:43
timpnerochiaro: enjoy your meal, and about the mess I really wish to get it fixed today11:44
nerochiarotimp: yeah, it fails to do something that it is expected by the test (open an album in this case). but there's no change i made that should prevent that from happening11:44
nerochiarotimp: did you try to run the tests on trunk as well ?11:44
nerochiarotimp: if not please have a go at that to see if they fail for you there too11:44
timpnerochiaro: trunk of what?11:44
nerochiarotimp: of gallery app ?11:44
nerochiarothat's what we're talking about no ?11:45
timpnerochiaro: I tried on the latest image with updated packages (apt-get update&&upgrade), and it fails, without installing custom packages11:45
guschtimp: this seems to be the issue: file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Page.qml:155: TypeError: Cannot read property 'actionManager' of null11:45
timpnerochiaro: yes, we are. I also like to test my own UITK packages but I didn't get to it because the tests fail even with the released version.11:45
nerochiarotimp: good. let's talk with QA when i'm back then11:46
guschdpm: can you help mefrio regarding click package issues?11:46
timpgusch: what's the url of the log where you get that?11:47
guschtimp: the one you posted11:47
mefriodpm, if you have time please give a look at my app: https://github.com/Mefrio/Memories I want to build a click package, but I don't know how since I am using CMake11:47
timpgusch: ok, so                 var manager = page.__propagated.actionManager;11:48
timp__progagated comes from the MainView. Can the Page be instantiated before the MainView?11:48
guschtimp: and even before there is file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:250:39: Unable to assign Tab_QMLTYPE_33 to Page_QMLTYPE_2511:48
guschmefrio: here a blog entry from mzanetti that might help you http://notyetthere.org/?p=31611:50
timpgusch: hmm, weird stuff happening to bindings there11:50
mefriogusch, thank you!11:50
timpgusch: do you get those warnings also when running gallery?11:51
timpgusch: what are the dependencies on the device before I can execute ./runOnDevice.sh?11:53
guschtimp: ./runOnDevice.sh -s11:54
timpthanks11:54
guschtimp: works locally - eitehr a device issue, or a jenkins issue? (or setup on these)11:54
timpgusch: locally means on your pc? or on your phone?11:55
timpgusch: I am not aware of changes to the UITK in the code that gives the warnings here, so there is something strange11:56
guschtimp: on the desktop - didin't test on the device11:56
timpgusch: did we switch to qt5.1 yet on the device?11:56
guschtimp: ask a SDK-guy ;) - no idea11:56
timpMirv: did we switch to qt5.1 yet on the device?11:57
guschtimp: oh - I just saw I do get those warnings on my desktop as well12:00
guschtimp: but gallery seems to work fine12:00
timpgusch: I am able to run the gallery fine on device, but autopilot tests fail12:00
timpgusch: https://jenkins.qa.ubuntu.com/job/generic-mediumtests-runner-mako/646/testReport/junit/gallery_app.tests.test_album_editor/TestAlbumEditor/test_add_photo_with_touch_/ finishes with MismatchError: After 10.0 seconds test on AlbumViewerAnimated.isOpen failed: False != dbus.Boolean(True, variant_level=1)12:02
timpgusch: ok, building gallery trunk on device now12:03
timpgusch: do you have a device to run the autopilot tests on?12:06
guschtimp: starting to test it12:07
timpgusch: something like phablet-test-run -s 014E281217013001 -n -p 'gallery-app-autopilot' gallery_app should work if you have the device environment set up12:07
timpgusch: ok great :) I had a bit of a struggle to get it working, but now it works for me.12:07
timpgusch: just updating to the latest environment always takes a long time12:07
=== snwh_ is now known as snwh
timpgusch: does runOnDevice install gallery app? so after running the script, if I open gallery-app by tapping its icon in Applications, it gives me the version that I just compiled12:13
timp?12:13
guschtimp: no - it only local in /home/phablet/gallery afaik12:14
Mirvtimp: no, need to get eg. that ui-toolkit tests problem fixed https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/121733112:16
ubot2`Launchpad bug 1217331 in Ubuntu UI Toolkit "ui-toolkit fails some tests against Qt 5.1.1" [Critical,In progress]12:16
timpgusch: so for the autopilot tests with that version I need to run phablet-test-run -s 014E281217013001 -n -p 'gallery-app-autopilot' /home/phablet/gallery/src/gallery-app ?12:16
=== _salem is now known as salem_
timpMirv: ok, just trying to figure out what has changed recently that is causing a lot of tests to fail12:16
timpso its not a new qt version12:17
guschtimp: I have to admit I don't know - haven't really worked on gallery for a while - and stuff changed quite a lot12:17
timpgusch: it doesn't run on device for me https://pastebin.canonical.com/97260/12:20
timpgusch: ok12:20
guschtimp: simply running "phablet-test-run -p gallery-app-autopilot gallery_app" on maguro with latest image works for me12:20
timpgusch: how do you install the latest image? We have several latest images12:21
guschtimp: phablet-flash cdimage-touch --pending12:22
timpgusch: that's all? no package updates?12:22
=== MacSlow|lunch is now known as MacSlow
* timp doing the same now12:23
guschtimp: then installing openssh-server (I don't know if that is still needed)12:24
guschtimp: and then simply "phablet-test-run -p gallery-app-autopilot gallery_app"12:24
timpgusch: could you check if webbrowser-app and notes-app autopilot tests are also succesfull for you?12:31
=== nik90|Office|Lun is now known as nik90|Office
timpgusch, bzoltan I created two bug reports: https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1223326 and https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/122332912:37
ubot2`Launchpad bug 1223326 in Ubuntu UI Toolkit "Assigning Tab to activePage when running gallery-app on device" [Critical,New]12:37
ubot2`Launchpad bug 1223329 in Ubuntu UI Toolkit "When running gallery-app on device, page doesn't have __propagated" [Critical,New]12:37
timpgusch, bzoltan they are warning that show up in the failing tests.. but I don't know if they are the cause for the fail12:37
guschtimp: notes-app works (but gallery-app did as well)12:37
timpI should be able to fix them relatively fast by adding extra guards in the uitk code12:38
timpgusch: thanks for checking.12:38
timpgusch: last time I tested, I installed the image without --pending, but I did apt-get update && apt-get upgrade before running the test12:39
timpgusch: so apparently that leaves me with a different environment than simply installing the pending image12:39
timpgusch: so when you run gallery-app on your pc, you get the warnings from my bugs also?12:40
timpgusch: I want to fix the bugs, and I can test quicker on my laptop than on device12:40
guschtimp: yes (as soon as I open the albums tab), but gallery seems to work nicely12:41
timpwell it won't hurt to fix the warnings anyway12:42
timpwelcome back nerochiaro12:45
nerochiarotimp: hi12:45
nerochiarotimp: i posted this fake MR to see what jenkins would do with running tests on trunk: https://code.launchpad.net/~uriboni/gallery-app/gallery-app-test-tests/+merge/18476412:46
nerochiarotimp: it has just a text file added, so if tests fail on that branch it means that jenkins is busted12:46
timpnerochiaro, gusch when I compile gallery-app on my laptop some header is missing: https://pastebin.canonical.com/97262/12:46
timpnerochiaro: ok, good to check.12:46
timpnerochiaro, gusch how so I get the build dependencies of gallery-app?12:47
nerochiarotimp: install libcontent-hub-dev,12:47
guschtimp: sudo apt-get build-dep gallery-app12:48
timpthanks12:48
guschtimp: and "sudo apt-get build-dep gallery-app-autopilot" if you want to run the autopilot tests12:48
guschtimp: no - I guess the last one does not work12:49
timpgusch: awesome. gallery-app runs now without having to comment out all the HUD code (which I needed to do long time ago)12:51
timpah I still get the warnings12:53
timpgusch: EditingHUD is still used?12:53
guschtimp: at least a bit of progress in 3 month ;)12:53
guschtimp: yes - well nerochiaro is working on it12:54
timpI cannot open a photo - https://pastebin.canonical.com/97263/12:54
timpno animateOpen function12:54
nerochiarotimp: gusch: you can find here the version that uses actions instad of hud: https://code.launchpad.net/~amanzi-team/gallery-app/gallery-app-actions-api12:56
guschtimp: well - you don't have the HUD stuff installed (anymore?)12:59
guschtimp: the Ubuntu.HUD module12:59
nerochiarogust, timp the hud-less version of gallery is here: https://code.launchpad.net/~amanzi-team/gallery-app/gallery-app-actions-api13:00
nerochiarotimp: i suggest you use that one instead13:00
timpnerochiaro: is that going into trunk soon?13:01
timpgusch: no I don't have that on my laptop13:01
nerochiarotimp: when jenkins stops being a pain in the arse, and the someone will have to review it. you and gusch are the best candidates13:01
timpok13:01
timpI'll get that branch then13:01
=== marcoceppi_ is now known as marcoceppi
timpnerochiaro: are there any other changes in that branch besides HUD removal?13:05
timpnerochiaro: it would be pointless for me to try the tests with that branch if they still fail on trunk13:05
nik90|Officenerochiaro: the branch  https://code.launchpad.net/~amanzi-team/gallery-app/gallery-app-actions-api requires some more fixes which I have commented on.13:06
nerochiarotimp: no, it's just hud removal13:07
guschbzoltan timp nerochiaro this "fixes" all the issues https://code.launchpad.net/~schwann/gallery-app/gallery-disable-autopilot-tests/+merge/18477313:09
bzoltangusch: _ALL_ ? Cool.... will it fix the water tap in my kitchen too?13:09
nerochiarogusch: lol, that's a magic bullet indeed :)13:09
guschbzoltan: you could fix the water tap issue in a similar way - turn off the water for the whole building ;)13:11
timphaha :)13:11
bzoltangusch: LOL13:11
timpgusch: are you planning to get that MR approved, and then add tests back one by one?13:11
nerochiaronik90: that's a nice tip, but it's mostly cosmetic. in all other apps i converted i have imported actions that way, i think i'll leave it that way for now, for consistency, then change it in all places later on in one go13:12
guschtimp: that MR is just a joke - my sense of humor13:13
timpnerochiaro: the change is not only cosmetic. the UITK actions allow you to set an iconSource in case you put the action in the toolbar13:14
timpgusch: I approved it already13:14
timp>;)13:14
guschtimp: it will fail without setting the commit message ...13:15
timpgusch: I don't know if it the same for all projects, but for UITK it doesn't anymore since a week or so (it takes the description when there is no commit message)13:15
nerochiarotimp: so one can import the same actions in two ways, but one is better than the other ? doesn't sound like a great design. why not just allow one kind of action ?13:16
timpnerochiaro: the way you do it was the way to do it before HUD was supported by UITK13:17
nerochiarotimp: gusch: ok, this is interesting.  jenkins likes my no-change MR, it does not fail test: https://code.launchpad.net/~uriboni/gallery-app/gallery-app-test-tests/+merge/18476413:17
timpnerochiaro: now UITK imports the Unity actions for you13:17
timpnerochiaro: trigger it again, to see if it reproducible13:17
nerochiarotimp: ah, ok. well, it's not an error to do it this way anyway, and i'd rather change all of these apps later in one go13:17
nerochiarotimp: ok13:17
nerochiaroom26er: are you a bit less busy today ?13:18
nerochiaroom26er: we're trying to figure out why https://code.launchpad.net/~amanzi-team/gallery-app/gallery-app-actions-api/+merge/184533 fails on stuff that's unrelated to the changes in the MR13:19
timpnerochiaro: ok13:19
om26ernerochiaro, that branch does not open13:19
timpnerochiaro: unfortunately the passed tests don't show any log, so I cannot see if the warnings of the failed tests are there anyway13:19
timpnerochiaro: the warnings of these bugs https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1223326 and https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/122332913:20
ubot2`Launchpad bug 1223326 in Ubuntu UI Toolkit "Assigning Tab to activePage when running gallery-app on device" [Critical,New]13:20
ubot2`Launchpad bug 1223329 in Ubuntu UI Toolkit "When running gallery-app on device, page doesn't have __propagated" [Critical,New]13:20
om26eroh ah, I am not logged in to launchpad :p13:20
nerochiaroom26er: what, this one ? https://code.launchpad.net/~amanzi-team/gallery-app/gallery-app-actions-api/+merge/18453313:21
timpnerochiaro: ok your branch runs beautifully on my laptop :)13:22
timpnerochiaro: it is just a bit annoying that I have to open the toolbar all the time to go back ;)13:22
nerochiarotimp: isn't that by design ?13:22
timpnerochiaro: I have MRs ready to improve that, but cannot get anything in until we have the autopilot tests for gallery-app passing13:22
nerochiarotimp: and what about the tests ?13:22
timpnerochiaro: tests are next to run13:22
timpnerochiaro: what's the command to run them?13:23
nerochiarotimp: cd tests/autopilot then autopilot run gallery_app13:23
nerochiarotimp: then go get a coffee13:23
timpnerochiaro: damn I don't have coffee here13:25
timpnerochiaro: can you recommend me a place? (in barcelona) :)13:25
beuno    "policy_groups": [13:25
beuno        ""13:25
beuno    ],13:25
beunoah, no jdstrand13:25
nerochiarotimp: i don't do coffee ;)13:25
rschrollI'm trying to build a click package for a compiled app, following mzanetti's instructions.  The build seems to work, but installation (on a desktop VM) doesn't.  Is anyone available to help troubleshoot?13:33
timpnerochiaro, gusch nero's branch fails for me13:37
timpthe autopilot tests13:37
timpah no shit i ran the test for trunk13:37
timpre-running them...13:39
mzanettirschroll: shoot13:40
rschrollMy source is here: https://github.com/rschroll/beru, with the manifest and apparmor profiles13:41
rschrollthere's a makeclick.sh script that copies them into a subdirectory and then calls click build13:41
rschrollThat works, but if I try to install with pkcon, I get a Python traceback: dbus.exceptions.UnknownMethodException: org.freedesktop.DBus.Error.UnknownMethod: Unknown method: CreateTransaction is not a valid method of interface org.freedesktop.PackageKit13:42
rschrollThis is on a VM running an up-to-date 13.1013:42
rschrollTrying to install with sudo click install gives a variety of errors; right now it's complaining that it can't generate an apparmor profile.13:43
tiagoscdhey, morning13:44
tiagoscdI would like to know if I need any specific permission to access hardware (like camera) directly via an app13:44
rschrollIf I remove the read_path and write_path, that error goes away, but it says "Could not parse click manifest".  (This is on install, not build!)13:44
timpnerochiaro: ok, the tests passed on your branch for me13:51
timpnerochiaro: on laptop.13:51
timpnerochiaro: next on device13:51
nerochiaroom26er: any news ?13:52
timp14:24 < gusch> timp: then installing openssh-server (I don't know if that is still needed)13:53
timpgusch: ^ runOnDevice.sh -s installs openssh-server :)13:53
rschrollmzanetti: I should add that first attempt to install with click install worked. But installing newer versions on top of it didn't update the apparmor profile.  I couldn't find an uninstall option, so I nuked everything in /opt/click.ubuntu.com and /var/lib/apparmor, but now I'm getting these errors.  Is there something else hanging around that could be causing problems?13:55
=== mzanetti is now known as mzanetti|meeting
attenteis there a way to apply the addDisplaced and removeDisplaced transitions to a ListView section.delegate?14:10
attentesetting the transitions only seems to make them apply to the non-section delegates14:10
om26ernerochiaro, working on it. probably the device didn't had the latest image. Flashing now14:15
timpWellark: is it okay to call actionManager.addLocalContext(actionContext) twice with the same actionContext?14:18
=== mzanetti|meeting is now known as mzanetti
seb128timp, ^ do you know about the delegate question asked a bit earlier?14:37
timpnerochiaro: your branch seems to run fine on device. how would I run the autopilot tests for that branch on device?14:38
timpseb128: can you paste it again? I don't see it14:38
seb128timp, the one from attente 30 minutes ago14:38
seb128timp, sorry just trying to figure who could help/answer that, that's for settings work14:38
nerochiarotimp: install the package, install the gallery-app-autopilot package, shell in as phablet then when your phone is unlocked do: autopilot run gallery_app14:39
nerochiarotimp: that's exactly what i'm doing right now btw14:39
attentetimp: "is there a way to apply the addDisplaced and removeDisplaced transitions to a ListView section.delegate?14:40
attentesetting the transitions only seems to make them apply to the non-section delegates"14:40
timpattente, seb128 sorry, no idea14:40
seb128timp, do you know who would have one?14:41
timpattente: perhaps you can put an addition Item around your delegate that is positioned, and add sth like x:-10 to your delegate? I'm just guessing14:41
timpseb128: you can try zsombi14:41
timpseb128: he seems to be away at the moment14:41
seb128k14:41
timpnerochiaro: I executed runOnDevice.sh but that doesn't build the package14:42
attentei'm not sure ListView section.delegates have any concept of the non-section delegates they precede14:43
timpnerochiaro: I'm using cdimage-touch, no need to unlock the device. I hope that's not terribly deprecated14:43
timp..yet14:43
timpnerochiaro: do you have a recipe for building and installing the package? or do you do it via qtcreator?14:43
nerochiarotimp: unlock as in having the lock/welcome screen up14:44
timpah :)14:44
nerochiarotimp: i downloaded the package from jenkins14:44
nerochiarotimp: you can also build in pbuild14:45
nerochiarotimp: om26er: all tests passed on my device using the package downloaded from the latest run of jenkins on this: https://code.launchpad.net/~amanzi-team/gallery-app/gallery-app-actions-api/+merge/18453314:45
nerochiarotimp: om26er: but jenkins fails on the same packages14:45
nerochiaroom26er: latest image, just flashed14:46
mefriomzanetti, ping14:50
mzanettimefrio: pong14:51
mefriomzanetti, I was reading your blog entry to learn how to build a click package for my app (http://notyetthere.org/?p=316) but I have a question....in the first point you said that the developer should build an arm package using pbuilder environment14:52
mefriomzanetti, could you explain me how to do that? I did not find anything useful14:52
mzanettimefrio: do you have debian packaging files (for creating a .deb) package?14:54
mefriomzanetti, yes14:54
mzanettimefrio: check the comments, there is a command to setup pbuilder14:54
mzanettimefrio: but isntead of manually unpacking the created chroot14:54
mzanettimefrio: do a "pbuilder -p saucy-armhf"14:55
mefriomzanetti, let me see14:56
timpnerochiaro: which package has unzip?14:56
nerochiarotimp: unzip  ?14:57
mzanettitimp: apt-cache search has it :D14:57
timpyes, it is there. for some reason I didn't see it repeatedly14:59
timp:s14:59
timpnerochiaro: the tests fail instantly https://pastebin.canonical.com/97273/15:02
timpnerochiaro: are you sure you run it as phablet? the permissions seem wrong15:02
timphmm15:02
timpah I ran it as root first15:03
nerochiarotimp: :)15:03
timpnerochiaro: ok, something seems to be happening now, but I don't see gallery opening on the device15:04
nerochiarotimp: and you're sure the welcome screen was gone when you laucnhed that command ?15:04
timpDBusException: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X1115:04
timpnerochiaro: yes it was gone15:05
nerochiarotimp: i am now afraid you messed something up by runing things as root15:05
timphmm15:07
timpnerochiaro: su - phablet instead of su phablet works :)15:08
* timp running tests now15:08
timpI log in using adb which gives me a root shell15:08
timpnerochiaro: I have an MR to fix some warnings in the gallery-app tests: https://code.launchpad.net/~tpeeters/ubuntu-ui-toolkit/gallery-app-warnings/+merge/18478815:11
timpnerochiaro: could you test them on device with your gallery-app branch? uitk packages are in the MR15:11
timpI can test them also, but I'm still testing your branch with stock UITK on device15:12
nerochiarotimp: ok, doing it15:12
timpthanks15:12
timpI am not sure if the warnings are related to the fails15:12
timpnerochiaro: please post the results as comments on the MR15:12
nerochiarotimp: btw my branch with stock uitk pass all tests15:14
nerochiarotimp: on device15:14
timpnerochiaro: I just got the same results. good.15:17
timpso what's up with jenkins?15:17
timpnerochiaro: I am now re-running the test with my UITK version15:21
timpnerochiaro: we should test jenkins for your MR with my UITK version, dunno if that's possible.15:21
nerochiarotimp: i don't think it's possible15:21
nerochiarotimp: but in any case just my MR failing alone in jenkins and working on the device is something that om26er needs to help us fix. as far as i'm concerned all the tests are good, i can't find out what's broken15:22
nerochiarotimp: and for the record, tests just finished here, with my branch + your uitk branch > everything pass15:23
nerochiarotimp: so there's something busted in jenkins15:23
nerochiaroom26er: let me know if you want me to file a bug for this15:23
om26ernerochiaro, I have flashed the device15:23
om26ernerochiaro, but somehow I lost the MR you gave me15:23
timpom26er: https://code.launchpad.net/~amanzi-team/gallery-app/gallery-app-actions-api/+merge/18453315:24
timpom26er: I verified that the autopilot tests pass with the latest pending image15:24
nerochiaroom26er: also your fix on the mediaplayer MR isn't working: https://code.launchpad.net/~amanzi-team/mediaplayer-app/mediaplayer-app-new-actions-api/+merge/18214815:24
timpomg26er: so cdimage-touch --pending. Is that what jenkins uses?15:24
timpnerochiaro, om26er the results say UNSTABLE, not FAILED. What's the difference?15:25
om26ertimp, yes we do --pending15:25
om26ertimp, unstable means few tests failed. FAILED means all15:25
om26ertimp, nerochiaro its rerunning here15:26
om26ers-jenkins:8080/job/generic-mediumtests-runner-maguro/657/console15:26
om26eronly on one device, I just wanted to make sure15:27
timpa bunch of tests failed, but I don't see a relation between the failed tests15:27
* timp food now. bbl.15:29
mefriomzanetti, I tried to follow the instructions in a comment but it seems pbuilder cannot create a valid arm environment15:29
mefriomzanetti, it seems the .tgz created is empty15:30
om26ertimp, nerochiaro that passed. So we should re-run the CI and it will pass this time15:31
nerochiaroom26er: why would it pass ?15:32
nerochiaroom26er: it didn't pass before and there are no changes in the branch15:32
mzanettimefrio: paste the whole output15:32
om26ernerochiaro, the device flashing was kind of stuck a 2 days behind15:32
om26erso I flashed to the latest iamge15:32
om26ernerochiaro, about the mediaplayer failure you just pointed at that's a different thing. a problem with jenkins. We need to retrigger again15:33
om26erhttps://jenkins.qa.ubuntu.com/job/generic-mediumtests-runner-saucy/2738/console15:33
om26ersee the logs15:33
nerochiaroom26er: ok, will retryigger both15:33
mefriomzanetti, http://pastebin.com/uw5gdYXX15:33
om26ernerochiaro, I did that already15:33
nerochiaroom26er: on both ? ok15:33
mzanettimefrio: download error...15:34
mzanettimefrio: make sure your network is working15:35
mzanettimefrio: and make sure your system is up to date15:35
mefriooh I did not noticed that error...mzanetti thanks15:35
mefriolet me retry15:35
om26eryep15:35
Wellarktimp: yes. each of the add* functions are safe to call multiple times with same data15:38
labsinwhich path do I need to give to the icon in my desktop file for a click package. Is it "./some-name.png" or just "some-name.png" cause the first one was working on my desktop before but not anymore.15:53
iBelievelabsin, "some-name.png" is correct15:56
mefriomzanetti, it worked! Thanks! :)16:07
mzanetti:)16:07
mefriomzanetti, the chroot environment cannot found my home dir :(16:13
mzanettimefrio: you can do "ptest --save -p saucy-armhf"16:14
mzanettimefrio: inside you can create the required dirs and then type "logout" to exit the chroot again16:15
mzanettimefrio: any changes in there will only be saved when you give the --save option16:15
mefriomzanetti, ok thanks now it works16:15
AskUbuntuWhere do I submit applications written for Ubuntu Touch? | http://askubuntu.com/q/34387716:43
balloonsiBelieve, another day of test results :-) Did you happen to take a look?16:48
iBelieveballoons, no, I haven't seen test results. Where? Are the tests still failing?16:50
balloonsiBelieve, yea, I'm not sure why.. I'll be back a bit later, but have a look if you'd like16:52
balloonsiBelieve, the results appear everyday here: http://reports.qa.ubuntu.com/smokeng/16:52
balloonsiBelieve, I didn't see evidence of a systematic failure occuring; meaning, different tests simply failed there asserts at different points, indicative of actual test failures16:53
balloonsthe good news is the Xauthority problem is solved :-)16:54
nerochiaroom26er: gallery still failing https://code.launchpad.net/~amanzi-team/gallery-app/gallery-app-actions-api/+merge/18453316:54
om26ernerochiaro, we just updated java on the slave16:55
iBelieveballoons, that's weird, it looks like it doesn't think None == None16:55
om26ernerochiaro, sorry about keeping your builds failed. I triggered a rebuild (now that we have a latest Java)16:56
nerochiaroom26er: ok. can you retrigger the other one too ? https://code.launchpad.net/~amanzi-team/mediaplayer-app/mediaplayer-app-new-actions-api/+merge/18214816:56
om26ernerochiaro, ok16:56
cleptomhall119, any news on compiled binaries in click packages?17:03
mhall119clepto: I'm still finding out myself, dpm and dholbach should know more17:04
dholbachwe're going to have a tutorial up soon which will sort of be a workaround17:04
cleptomhall119, dholbach thank you both!17:04
dholbachbut everybody's hard at work getting things ready, so we can have stuff build automatically in the future17:04
dholbachrock on!17:04
iBelieveI'm filling out the Submission Form for the App Showdown. What do I put in the Submission URL field?17:07
cleptoiBelieve, submission form?17:08
iBelieveclepto, https://docs.google.com/forms/d/1a1Owwl6EVQ8165Wy_TsSaDGGWmYJaT6INm2P4DgZWAA/viewform17:08
iBelieveclepto, Item #4 of http://developer.ubuntu.com/showdown/17:09
iBelievemhall119, do you know what I should put for the Submission URL of the submission form for the showdown? ^^^17:12
dpmiBelieve, that will be the url of your app in myapps.developer.ubuntu.com, let me give you an example...17:12
iBelievedpm, so https://myapps.developer.ubuntu.com/dev/click-apps/13/?17:12
dpmiBelieve, exactly :)17:12
iBelievedpm, great, thanks. Should I fill in the form now or is there any reason to wait?17:13
dpmiBelieve, go for it, no reason to wait :)17:13
iBelievedpm, cool, thanks17:13
iBelievedpm, for the website, should I put my GitHub project, my blog, or my static webpage http://sonrisesoftware.wordpress.com/ubuntu-tasks/?17:16
dpmiBelieve, any website you think offers info about the project should do. I guess you have links to github on your static webpage, so that might be a nice URL to use17:17
iBelievedpm, okay, I'll use the static webpage17:18
dpmgreat17:18
dpmclepto, as dholbach is saying, we're working to get some more detailed documentation online soon. In the meantime, you can use http://developer.ubuntu.com/resources/tutorials/getting-started/creating-click-packages-with-cpp-extensions/ - although the part about doing the actual cross-compiling will need to be fleshed out17:19
cleptodpm, today I'll try to fix as many bugs as I can and focus tomorrow on packaging (8:20 pm here), do you think it will be updated by tomorrow?17:21
dpmclepto, we will do our best, but if you are on IRC tomorrow, you can ping us if we can help with any questions.17:22
dpmclepto, you'll essentially need to do two things:17:22
dpm1) Cross-compile your extension17:22
dpm2) Put the compiled binary in a click package that you will create manually outside of Qt Creator17:23
dpmThere are ways to do 1), but we want to describe the easiest way for app developers for the contest, as a temporary solution until we've got all of the infrastructure bits sorted17:24
cleptodpm, that will be great! ok!17:25
nerochiarorenato_: can you please finally approve https://code.launchpad.net/~amanzi-team/mediaplayer-app/mediaplayer-app-new-actions-api/+merge/182148 ? now jenkins finally likes it !17:29
om26ernerochiaro, renato_ I top approved17:40
nerochiaroom26er: thanks17:40
nerochiaroom26er: the gallery app is not failing on my maguro device when using the same packages built by jenkins17:44
om26ernerochiaro, the logs suggest the app crashed17:45
om26erlike real crash17:45
nerochiaroom26er: that sounds strange. and also many other tests in gallery open a photo, so i don't see why only that one should crash17:46
om26ernerochiaro, race or something probably, definitely nothing wrong with that code, rather something bad in the app that needs fixinfg17:47
e8hffffQuestion: What the status of the File-Manager opening files?17:50
balloonsiBelieve, yes it can read a bit funny.. it's showing you the line output, none=none, but the assert is eventually(notequals(none))), hence the failure17:55
mefriomzanetti, I am still getting errors after an afternoon spent on that click package generation...can you help me please? http://pastebin.com/T1DABeet17:58
mefrioI installed all the dependencies...it's so frustrating17:59
iBelieveballoons, oh, now i see the actual assertion. That makes a bit more sense now :)17:59
balloonsiBelieve, :-) I'm going to run the whole test suite again here locally on my device.. I know I ran it yesterday and worked, so I'm confused that it is failing.18:01
attentewhen emitting dataChanged() in QAbstractItemModel, are there conditions where data() is not called as a result? i would've expected it to get called every time, but it seems to be not the case18:03
mzanettimefrio: oh :/ you're running into the qemu bug18:03
mzanettimefrio: you would need to disable the tests to build it in pbuilder18:03
mefriomzanetti, do you need the autopilot package?18:03
mzanettino... qmltests are causing this issue with pbuilder18:04
mefriomzanetti, how do I disable it?18:04
mzanettimefrio: you said you are using cmake, right?18:04
mefriomzanetti, yes18:05
mzanettimefrio: comment the add_subdirectory(tests)18:05
mzanettior similar18:05
mefriomzanetti, I have not yet implemented real tests so there is nothing releated to tests in my CMake18:05
mefriomzanetti, do I have to disable the autopilot package so?18:05
mzanettino... autopilot should be fine18:06
mzanettimefrio: but according to the logs it uns this: qmltestrunner -input tests/unit18:06
mzanettimefrio: there must be a add_test() somewhere18:06
mefriomzanetti, can you take a look if you have time please? https://github.com/Mefrio/Memories18:09
mefriothere is nothing related to qmltestrunner in my CMake18:09
mefriomzanetti, oh it was in the Makefile generated by QtCreator -.-18:12
mzanettiok :)18:12
mefriomzanetti, it's hardest to build an arm package then write an app :P can't we let launchpad do it for us?18:13
mzanettimefrio: yes, you could. you'd need to contact the launchpad admins and ask for an arm builder for your ppa18:13
mzanettimefrio: however, those launchpad builders have the same problem and would crash in the same way18:14
mefriomzanetti, the arm builder should available by default, no?18:14
mzanettimefrio: probably they will be enabled by default at some point, yes18:15
mefriomzanetti, anyway the package it was build has the _all extension...how do I make sure it is for ARM?18:16
mzanettithe .deb package or the .click package?18:16
mefriomzanetti, the deb18:16
mzanettidebian/control  -> Architecture18:16
mefriomzanetti, "Architecture: all"18:17
mzanettimefrio: you should also add your build depends in there instead of modifying your pbuilder tarball18:17
mefriomzanetti, they are there, I thought I had to install them in the pbuilder too....anyway, is the architecture good?18:19
mzanettimefrio: no, it should be "any"18:19
mefriomzanetti, ok thanks for your big patience :) it seems I am finally done with that thing! :D18:21
mzanetti:)18:23
mefriomzanetti, and of course, changing the architecture to any I get the following error http://pastebin.com/Yv5BYYgp18:24
mzanettiseems a bit like you have a dirty source directory18:25
mzanetticould it be that you tried building with debuild first and still have some x86 binaries in debian/memories-app... ?18:26
mefriomzanetti, I deleted them18:26
mefriolet me do it again, deleting also the source build dir18:27
mefrioit's the same18:28
mzanettilol... the app supports "basic memory management (add, remove and edit)"18:28
mzanettioh boy... I whish I could remove memories just like that18:28
mefriomzanetti, ahaha my app has super-natural powers xD18:29
mzanettimefrio: does it already support all that stuff or is that the roadmap?18:29
mefriomzanetti, it supports everything written on GitHub18:29
mzanettinot bad... time to get that stuff packaged up them18:29
mefriomzanetti, and some more functions such PDF export for which I need a C++ module...this feature is causing me all this problems with packaging18:30
mzanettihmm... maybe you'd be better off with just doing it manually in the chroot18:30
mzanettias you said you have the package already I assumed it to be completely working already18:31
mzanettiso basically what you can do is to ptest into the chroot, copy the source in there, do a manual cmake and make and just copy that one .so file back to your other system and package it up18:31
mzanettimefrio: ^18:31
mefriomzanetti, yeah that sounds as a great solution18:32
mefriomzanetti, with CMake and make to build it says "Error: SEGV" :'(18:35
mefriorunning make again solves the segmentaion error -.-18:36
mefrionow I finally have the .so!!!!!!!!! :D yesss! :D18:36
mefriothank you very much mzanetti!! I couldn't have done that without your help18:36
mefrionow it's time to make some rest from all that things :D see you guys and thank you again mzanetti!18:38
balloonsiBelieve, the same tests failed on my device, as failed in the lab, heh18:45
balloonsI wonder what has changed?18:45
iBelieveballoons, that's odd. Did you run the tests on the desktop as well? I'll run them myself in a few minutes18:55
balloonsiBelieve, I had thought I had done both.. but it fails on the device now19:04
balloonsit of course passed in the vm19:04
boikobfiller: at last renato_ managed to fix the address-book-service code that was blocking the UI, no more UI freezes when the smart dialer is looking up for contacts19:18
bfillerboiko: cool, can you point me at the MR's so I can test?19:19
boikobfiller: https://code.launchpad.net/~renatofilho/address-book-service/eventloop-wait/+merge/18484219:19
boikobfiller: now I'll check the designs for the dialer-app19:19
vadiI compiled my Qt app on Qt5 (installed from Qt's online installer) and there is no appmenu integration anymore. How can I get that back?19:34
mzanettivadi: afaik Qt 5 doesn't officially support that yet. Try installing the ubuntu qt5 packages19:37
bfillerboiko, renato_ : that MR looks kind of scary regarding event loops and waits and such.  Did you guys thoroughly test and make sure no regressions?19:38
vadiAre those officially available in 12.04? I used the Ubuntu Touch SDK ppa before - and it was building me a fairly broken Qt5 app (couldn't click anywhere and such). I'll try once again, though19:38
mzanettibfiller: heh... isn't the task of the reviewer? :D19:39
bfillermzanetti: indeed, that's why I'm asking to double check19:40
boikobfiller: I tried the dialer-app, and the contacts app19:40
renato_bfiller, I tested both too19:41
bfillerrenato_: does that code only get invoked when using the smart dialer or all the time when fetching contacts?19:41
mzanettibfiller: just reading the code it looks ok... the one bad would assert19:42
mzanettiactually... do we test with debug builds on the phone?19:42
mzanettiotherwise I wouldn't trust that this assert gets actually discovered when it happens19:42
boikobfiller: all the time19:42
=== salem_ is now known as _salem
=== seb128_ is now known as seb128
=== ryukafalz_ is now known as ryukafalz
timpWellark: ok, great. then this MR is good :) https://code.launchpad.net/~tpeeters/ubuntu-ui-toolkit/gallery-app-warnings/+merge/18478822:50
=== _salem is now known as salem_
=== karni is now known as Guest72454

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