/srv/irclogs.ubuntu.com/2014/09/03/#ubuntu-app-devel.txt

Akiva-Thinkpadit was using some global that I could not find defined in the project00:00
Akiva-Thinkpadgerlowskija, have you been able to reproduce the bug?00:00
gerlowskijaThe only recurrence-related code I found was in NewEvent.qml and EditEvent.qml, which makes me think that handling recurrence was all done in the plugin.00:00
gerlowskijayep00:00
gerlowskijaout of curiosity, what was the bug you gave up on?  Kindof intrigued now.00:01
Akiva-Thinkpadgerlowskija, exactly. I was wondering if there was perhaps some project files not being listed in the qml project00:01
Akiva-Thinkpadsec00:01
Akiva-Thinkpadoh I think it was the bug about ... sheesh00:03
Akiva-Thinkpadi remember00:03
* Akiva-Thinkpad keeps looking00:03
Akiva-Thinkpadhttps://bugs.launchpad.net/ubuntu-calendar-app/+bug/135930600:03
ubot5Ubuntu bug 1359306 in Ubuntu Calendar App "New Event - Selecting start time should update end time to be 1 hour ahead" [Wishlist,Confirmed]00:03
Akiva-Thinkpadlooks like someone took it over00:04
Akiva-Thinkpadat least that is what I think it was00:04
gerlowskijaoh, that would be awesome to have done00:04
Akiva-Thinkpadgerlowskija, I am curious though what his merge proposal looks like00:04
Akiva-Thinkpadif he solved my issue, maybe it can give you a hint00:04
Akiva-Thinkpadsec00:04
gerlowskijamakes sense.  back in 5 btw.00:05
Akiva-Thinkpadgerlowskija, https://code.launchpad.net/~twstd-dev/ubuntu-calendar-app/1359306/+merge/232942 ah yah -00:06
Akiva-Thinkpadthis diff makes sense00:06
gerlowskijawow, surprisingly simple haha00:07
gerlowskijaand you said when you were looking at that, you were looking at functions in one of the components?00:10
Akiva-Thinkpadgerlowskija, well I didnt know before about Date() ; that is something I just discovered the other day00:11
gerlowskijaoh, understood; I'm now JS-wizard either.  What I'm actually wondering I guess is if you know how to recompile a plugin/component.  Since it looks to me like the bug I'm looking at is an issue in the component, I'd like to add some debugging to the C++ code, and run the app with the modified plugin00:12
gerlowskijas/now/no/g00:13
Akiva-Thinkpadgerlowskija, interesting question...00:13
gerlowskijaBut I have no idea how to rebuild a plugin like that.  I was hoping you might know00:13
Akiva-ThinkpadI like a challenge00:14
Akiva-Thinkpaddoing nothing anyways; lets both take a spin at this00:14
gerlowskijaok, I'll dig back in and let you know if I came up with anything.00:16
gerlowskijas/came/come/g00:16
gerlowskijathanks for the help00:17
gerlowskijaI've been trying to build the qtorganizer5-eds plugin (bzr branch lp:qtorganizer5-eds)...maybe that's part of my problem, so I figured I'd mention it.00:21
mhall119anybody know how to delete a file from QML without resorting to a C++ plugin?00:24
Akiva-Thinkpadmhall119, isnt that sort of thing supposed to be impossible?00:25
Akiva-Thinkpadmhall119, I am pretty sure I made an ask ubuntu question about that some time back.00:25
mhall119Akiva-Thinkpad: it should be possible to do in the folder that my app uses for data storage00:25
Akiva-Thinkpadmhall119, Ah interesting theory00:26
gerlowskijamhall119: I know less than nothing about this, but can you delete it with Javascript?  http://www.java2s.com/Tutorial/JavaScript/0600__MS-JScript/FileDelete.htm00:27
gerlowskijaoops, that was some MS specific thing...looks like you can't do that in JS, which makes sense.00:28
mhall119gerlowskija: that looks to be exposing ActiveX APIs over javascript, so that won't work for me00:28
gerlowskijayeah, I got a little Google happy and forgot to look closely00:29
Akiva-Thinkpadmhall119, http://askubuntu.com/questions/519375/anybody-know-how-to-delete-a-file-from-qml-without-resorting-to-a-c-plugin00:32
Akiva-Thinkpad:)00:32
gerlowskijaAkiva-Thinkpad: trying to build on my utopic desktop gives me: http://paste.ubuntu.com/8219377/...looks like the original error message is complaining about not having the most up-to-date version of a package called "libecal" installed.00:38
Akiva-Thinkpadhmmm?00:39
* Akiva-Thinkpad branches latest00:39
gerlowskijaas far as I can tell I have the most recent libecal for utopic installed (at least according to this link: https://launchpad.net/ubuntu/utopic/+package/libecal-1.2-16)00:41
Akiva-Thinkpadgerlowskija, did you install the -dev?00:42
Akiva-Thinkpadbah apple wifi not letting me ssl :/00:43
Akiva-Thinkpadand the mall is closing00:43
Akiva-Thinkpadbrb as I move to the library00:43
Akiva-Thinkpadgerlowskija, how goes the battle01:29
Akiva-Thinkpad?01:29
gerlowskijayou weren't kidding about the road-warrior thing!01:36
gerlowskijaAnd not well.  I haven't made much progress.01:36
gerlowskijaI found references to a libecal-1.2-15 package with a version of 3.801:36
gerlowskijabut it doesn't look like it's available on recent-ish versions of ubuntu.01:37
gerlowskija(instead we have libecal-1.2-16...note the 16 vs. 15)01:37
gerlowskijaI convinced myself that since 16 > 15, then maybe the version you and I have installed by default is actually a more recent version, but cmake just can't tell that.01:38
gerlowskijatbh I think that's a lie I'm just telling myself.01:38
gerlowskijaI commented out the check from CMakeLists.txt and it looks like I get a little further, but I still get errors I'm not sure how to correct (I'll post a link, just a sec).01:39
gerlowskijaugh, actually my laziness wins...its the same error as in: http://paste.ubuntu.com/8219377/01:40
gerlowskijajust without the warning about the missing libecal package01:40
Akiva-Thinkpadhrmmm01:40
gerlowskijaI'm starting to think that this plugin is dependent on the environment it'd find on a phone image.  But I'm not sure.01:41
=== _salem is now known as salem_
Akiva-Thinkpadgerlowskija, wait, are you just trying to compile calendar?01:42
Akiva-Thinkpad-compile +build01:42
gerlowskijano...I want to add debugging to one of the C++ plugins that the calendar uses: qtorganizer5-eds01:44
gerlowskijaor at least that's what I *think* I'm doing.01:44
Akiva-Thinkpadgerlowskija, include <qDebug>?01:45
gerlowskijawhat is that?01:45
Akiva-Thinkpadgerlowskija, is this a qt project?01:45
Akiva-Thinkpaderp01:45
Akiva-Thinkpadis the code you are looking at01:45
Akiva-Thinkpadis it c++?01:45
gerlowskijayep.01:45
Akiva-Thinkpadgerlowskija, yah qt has a great library called qDebug01:46
Akiva-Thinkpadthe syntax to use it is fairly easy01:46
Akiva-ThinkpadqDebug() << "snakes"01:47
Akiva-Thinkpador01:47
Akiva-ThinkpadqDebug("Snakes")01:47
gerlowskijaoh, cool cool. Sorry, I blanked for a minute.  I'm using qDebug for writing my debugging info01:47
gerlowskijabut I'm getting these error when I go to recompile (with or without my added debug)01:48
Akiva-Thinkpadah01:48
Akiva-Thinkpadso okay; this plugin; did you download the source for it, and are trying to compile it?01:48
gerlowskijayep!01:51
gerlowskija(back in 5)01:51
Akiva-Thinkpadcool01:54
gerlowskija(back)01:55
Akiva-Thinkpadgerlowskija, whats the package?01:55
Akiva-Thinkpadso I can grab the source01:55
gerlowskijabzr branch lp:qtorganizer5-eds01:56
Akiva-Thinkpadokay great01:56
gerlowskijaIn the meantime btw, I started looking at a different bug, which also looks to me like an issue with the qtorganizer component.  I feel like I'm going nuts and am just imagining these things01:57
gerlowskija:-)01:57
Akiva-Thinkpadha ha01:58
Akiva-Thinkpadah and now I have fun01:59
Akiva-Thinkpad--   package 'libedataserver-1.2>=3.8' not found01:59
Akiva-Thinkpadmmmmm no I got errors in building02:02
Akiva-Thinkpadworked out fine for me02:02
gerlowskijaworked out fine?  so you got it to build?02:07
Akiva-Thinkpadgerlowskija, yah no executable though,02:10
Akiva-Thinkpadbeing that this is an api I gather02:10
Akiva-Thinkpadgerlowskija, proof http://imgur.com/XJDXpij02:11
Akiva-Thinkpadgerlowskija, sudo apt-get install libedata-cal1.2-dev should work02:15
Akiva-Thinkpadthat was the dependency I needed02:15
gerlowskijaok, hmm.02:16
gerlowskijaso, when I ran this on the command line, I ran cmake in the base dir.  It looks like you ran it in the organizer sub directory (or that's what the SDK did at least).  Maybe that's what I'm doing wrong.  Just a sec.02:17
gerlowskijaSo dumb question, when you imported the repo into the SDK, what file did you open to bring in the project?02:19
gerlowskijaAkiva-Thinkpad:02:19
Akiva-ThinkpadThat is the joy of c++ and cmake; make a silly syntax error, and you are giving some benign error02:19
Akiva-Thinkpadgerlowskija, after branching, I went to the parent folder of the branch02:20
Akiva-Thinkpadand did02:20
Akiva-Thinkpadqtcreator CMakeLists.txt02:20
Akiva-ThinkpadI used the desktop environment to compile02:21
* Akiva-Thinkpad doesnt really understand this armh platform stuff.02:21
* gerlowskija doesnt really understand anything apparently02:22
gerlowskijaStill seeing the issue, but at least I learned about a new command..never seen that invoked from the command line before02:22
gerlowskijaI'm logging off..might be back in an hour or so.  Thanks for the troubleshooting help!02:23
Akiva-Thinkpadgerlowskija, just tried it today :P02:23
Akiva-Thinkpadgerlowskija, yah don't worry I know the pain02:24
=== salem_ is now known as _salem
=== chihchun_afk is now known as chihchun
bzoltan1nik90_:  with pleasure :) Sometimes we do good things too ;)03:53
dholbachgood morning06:52
=== wendar_ is now known as wendar
justCarakaswouldn't it be nice to be able to do some stuff like IFTTT ?07:51
justCarakasI have that on my android phone, and it automaticly mutes my phone when I arrive at work and sets the ringtone back to 100% when I leave work07:52
justCarakasbut you can do all sorts of stuff there07:52
davidcalleMorning all08:02
dholbachsalut davidcalle08:03
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== zsombi is now known as zsombi|afk
=== chihchun is now known as chihchun_afk
JamesTaitGood morning all; happy Another Look Unlimited Day! :-D09:20
dholbachjdstrand, I wasn't quite sure if you just said "yeah, the approach makes sense" or "feel free to push" - in any case, here's the MP: https://code.launchpad.net/~dholbach/click-reviewers-tools/1364449/+merge/233088 :)10:22
t1mppopey: do you know if I am missing packages for filemanager, or I need to set some env variable? I get this file:///home/tim/dev/ubuntu-filemanager-app/src/app/qml/filemanager.qml:20:1: module "org.nemomobile.folderlistmodel" is not installed  import org.nemomobile.folderlistmodel 1.010:53
popeyt1mp: qtdeclarative5-nemo-qml-plugin-folderlistmodel10:54
=== MacSlow is now known as MacSlow|lunch
t1mpapt-get cannot find it E: Unable to locate package qtdeclarative5-nemo-qml-plugin-folderlistmodel10:55
t1mpmaybe this one, but I have it installed already: qml-module-qt-labs-folderlistmodel is already the newest version.10:56
t1mppopey: ^10:57
* t1mp trying to run filemanager on desktop10:57
popeyon utopic?10:58
popeyworks here10:58
popeyi apt-got it from the daily ppa10:58
nik90_popey: is there a script you use which would go get a branch, make a click package and install it on the phone?11:19
nik90_popey: designer wants to test some of my branches11:20
popeynik90_: no, I'd just use click-buddy or spit a click out from qtc11:20
nik90_popey: but does click-buddy create a click for armhf arch?11:21
nik90_or does one need to use qtc explicitly?11:21
popeywell, that's what _I_ use.11:21
popeyor you could yank the click from jenkins?11:21
popeyoh, hang on, it wont have built for armhf will it ☹11:22
nik90_yeah11:22
popeyok, so yes, I'd be inclined to use an armhf chroot via qtc11:22
nik90_that's complicated. I will probably do what I do with you which is to share a dropbox folder and put the click package there11:22
popeynik90_: oh, sorry, I'm not suggesting you get the designer to use qtc11:27
popeyi thought you were asking about what I do for you11:27
popeyyes, totally spam them with clicks11:27
nik90_yeah I am going to share the folder with the designer which has the clicks11:28
=== MacSlow|lunch is now known as MacSlow
popeyk11:32
nik90_popey: when the designer tries phablet-shell it says "Job is already running: ssh"11:41
ogra_nik90_, and ?11:46
ogra_you dont like that it tells you that ?11:46
nik90_no it doesn't go into the phone then11:46
ogra_well, but thats most likely unrelated to that message11:46
ogra_nik90_, to debug shell scripts, change the "set -e" at the top to "set -ex" and store the output in a file11:47
nik90_it says11:47
nik90_ssh-keygen: /home/giorgioventuri/.ssh/known_hosts: No such file or directory11:48
nik90_ogra_: ^^11:48
ogra_so he has no local ssh key it seems11:48
nik90_how does one create that?11:48
davmor2nik90_: seahorse would be the easiest on ubuntu11:49
ogra_yeah11:49
davmor2nik90_: new key ssh11:49
nik90_ok11:49
davmor2nik90_: infact File→New... and from the dialogue that pops up click ssh11:50
nik90_davmor2: in the dialog do I press "Create and setup"11:52
nik90_or "jsut create"11:52
nik90_ogra_: so in "seahorse", it shows that he already has a personal ssh key11:54
ogra_hmm, try touching /home/giorgioventuri/.ssh/known_hosts then11:55
nik90_ogra_: gventuri has that issue11:55
gventuriogra_: id_rsa  id_rsa.pub  ubuntudevice_0184e5d0b03696f2_id_rsa  ubuntudevice_0184e5d0b03696f2_id_rsa.pub11:56
nik90_ogra_: that's the contents of his .ssh folder11:56
ogra_right, try touching the file above11:57
nik90_ogra_: which file?11:57
ogra_<ogra_> hmm, try touching /home/giorgioventuri/.ssh/known_hosts then11:57
nik90_ogra_: no I don't see the known_hosts?11:57
nik90_or may be you are referrign to the ubuntudevice-** file?11:58
ogra_type in:11:58
ogra_touch /home/giorgioventuri/.ssh/known_hosts11:58
ogra_then try phablet-shell again11:58
nik90_ha it works11:59
gventuriogra_: thanks!11:59
ogra_file a bug against phablet-tools please that thouch command should be added there11:59
nik90_I will do that. thnx11:59
ogra_thanks ... feel free to assign to me directly12:00
jdstranddholbach: done12:12
nik90_ogra_: bug 136491312:15
ubot5bug 1364913 in phablet-tools (Ubuntu) "phablet-shell spits out error ssh-keygen: /home/username/.ssh/known_hosts: No such file or directory" [Undecided,New] https://launchpad.net/bugs/136491312:15
ogra_thanks !12:15
dholbachjdstrand, thanks!12:53
dholbachseb128, with the thumbnailer revert being landed, would it make sense to retry some of the MP test runs? http://people.canonical.com/~dpm/core-apps-sponsoring/13:20
davmor2hey guys do we have a doc published anywhere on how to register an app with download manager?  I had a quick google and couldn't see anything13:20
seb128dholbach, I guess so13:20
davmor2nevermind found it I was looking under released not development versions13:22
popeydholbach: no13:25
popeydholbach: jenkins needs some TLC from francis13:26
davmor2nik90_: can you confirm something for me please. Create an alarm, save it, click on the alarm change the sound, save it again, then let the alarm go off and see if it changed or not from the default?  I basically think it is grabbing the setting from the first save and not editing it after.13:39
nik90_davmor2: sure let me try13:40
nik90_davmor2: its a bug13:43
davmor2Yay!13:43
nik90_lol13:44
davmor2nik90_: see how I think of you, I knew you were low on work and would love to do some debugging and fix some code ;)13:44
nik90_hehe13:45
nik90_davmor2: bug report pls13:45
brendanddavmor2, can you tag the bug with 'testcase exploratory'13:48
davmor2nik90_: https://bugs.launchpad.net/ubuntu-clock-app/+bug/136494913:48
ubot5Ubuntu bug 1364949 in Ubuntu Clock App "Editing alarm sounds doesn't actually change them" [Undecided,New]13:48
nik90_davmor2:thnx13:48
davmor2brendand: done13:49
rickspencer3o/ all13:55
rickspencer3mhall119, I'm planning a to hold a workshop next week with my loco on app development13:55
rickspencer3I recall that there was a wiki with some slides all set for it, but I can't find the wiki :(13:55
dholbachrickspencer3, here are the materials for our app dev training: https://drive.google.com/a/canonical.com/#folders/0B2SKL58Ipf7eeEdpYW5SdVlUU3M13:56
dholbachrickspencer3, I plan to have them all finished by the end of the week13:56
rickspencer3dholbach, here's where I am organizing my workshop, fwiw13:56
rickspencer3https://wiki.ubuntu.com/RickSpencer/UbuntuSDKWorkshop13:56
rickspencer3dholbach, I'll have a link to me deck there, so you guys can do what you want with it ;)13:57
dholbachrickspencer3, they'll consist of 4 parts: 1) intro to ubuntu for devices, 2) get started (install sdk, what the emulator can do, etc.), 3) short intro to what qml looks like, our design building blocks, 4) workshop: write your first app (students to work on their own, ask teachers when issues arise)13:57
dholbachrickspencer3, 1) and 4) are already in the docs folder I mentioned13:57
rickspencer3dholbach, perfect13:57
dholbachrickspencer3, great, I'll take a look at yours as well13:57
dholbachrickspencer3, let me know if you have comments :)13:58
rickspencer3dholbach, I'll def. start with your slides13:58
dholbachrock on!13:58
nik90_davmor2: I think it is a indicator-datetime bug since I just outputted the alarm sound at the end of updating an alarm and it shows the correct alarm sound that was chosen13:58
rickspencer3dholbach, your rss reader looks perfect13:58
popeyrpadovani: mzanetti can we bump the reminders meeting to tomorrow? i have a clash?13:58
rickspencer3I'll use that and give you feedback on how it goes13:59
dholbachrickspencer3, I had quite a bit of help from mhall119 with that one :)13:59
rpadovanipopey, tomorrow only morning or before 4.30 PM13:59
* mzanetti won't be here tomorrow at all13:59
davmor2nik90_: feel free to reassign I'm sure charles is just as unbusy and desperate for extra work :D14:00
nik90_charles: bug 136494914:00
ubot5bug 1364949 in Ubuntu Clock App "Editing alarm sounds doesn't actually change them" [Medium,Confirmed] https://launchpad.net/bugs/136494914:00
davmor2I couldn't even type that and keep a straight face14:00
nik90_charles: seems like a regression14:00
nik90_davmor2: lol14:00
popeyrpadovani: mzanetti ok, how about in 30 mins?14:01
mzanettipopey: I have my standup in 30. but 45 would work for me14:01
popeyhm, i have a clash14:01
mzanettihaha14:01
mzanettihow hard can it be :D14:02
popeyhow about 16:30 UTC?14:02
mzanettiok14:02
popeyrpadovani: ^14:02
davmor2popey, mzanetti: Midnight I bet neither of you are doing anything at midnight?14:02
nik90_davmor2: what does the explanatory tag indicate? Does it require a manual test update?14:02
davmor2brendand: ^14:03
nik90_davmor2: I meant exploratory14:03
charlesdavmor2, nik90_, :-)14:05
=== zsombi|afk is now known as zsombi
brendanddavmor2, it's for our internal purposes14:06
rpadovanipopey, mzanetti maybe later today?14:06
davmor2nik90_: That is going to be how the issue was found I was just tatting with alarms so it was during exploratory testing.  Testcase how ever would mean you need a manual or automated testcase adding for it I guess :)14:07
nik90_charles: so on outputting the alarm sound just after pressing the save button I notice that the alarm sound is the correct one. But what is being played is the default one14:07
davmor2charles: so if I create an alarm with a different sound it plays the new sound.  So it is only edited ones that don't change the sound playing :(14:08
charlesnik90_, davmor2, sorry about my lag time; I'm also in an indicator-transfer discussion. could one of you two please confirm that the new sound's filename is saved in ~/.local/share/evolution/tasks/$foo/tasks.ics ?14:09
davmor2charles: sure give me 514:09
charlesdavmor2, ty14:09
popeyrpadovani: is 16:30 UTC no good for you?14:11
rpadovanipopey, today? Yap, I miss the message14:11
popeyok, lets do that then14:12
davmor2charles: it isn't changing, http://paste.ubuntu.com/8223844/14:14
charlesdavmor2, that's good to know!14:14
nik90_charles: same here14:15
charlesdavmor2, the joke answer is that's good to know because it's not an indicator-datetime bug :-)14:15
charlesdavmor2, the more serious answer is that it narrows down where the problem is14:15
nik90_:)14:15
charlesnik90_, davmor2, the next step would be for  nik90_ to confirm that his app's going through the right motions of saving the modified event14:15
charlesnik90_, davmor2, if that's confirmed, then the problem is either in ubuntu-ui-toolkit or qtorganizer5-eds14:16
nik90_charles: before I call alarm.save(), I outputted the alarm sound property.14:16
nik90_charles: it shows the new chosen alarm sound.14:17
mzanettirpadovani: https://code.launchpad.net/~rpadovani/reminders-app/bottomEdge/+merge/23111814:17
nik90_charles: which means that once save() is called, it is not setting it properly in the task.ics file14:17
nik90_charles: I could do some more debugging to confirm this14:17
charlesnik90_, please do so14:22
nik90_charles: hmm I suspect the issue is in the SDK since zsombi did some changes related to alarm edits ;D recently14:22
nik90_charles: but I will take care of this14:23
zsombinik90_: ??14:23
nik90_zsombi: https://launchpad.net/bugs/136494914:23
ubot5Ubuntu bug 1364949 in Ubuntu Clock App "Editing alarm sounds doesn't actually change them" [Medium,Confirmed]14:23
davmor2nik90_: you might want to check what happens if you change the time too if you are doing a bit more digging14:24
zsombinik90_: ah, ok, that can be the toolkit thingie... it could be that the flag fro changing that wasn't set14:24
nik90_zsombi: to summarise, when the user edit a saved alarm and changes the alarm sound, it is not changed.14:24
nik90_zsombi: May I toss it over to the toolkit and tag it rtm14.14:25
davmor2nik90_: just incase it is the whole thing that isn't editable once set14:25
zsombinik90_: yup, I'll check it14:25
nik90_davmor2: what!14:27
nik90_davmor2: so changing other properties of the alarm doesnt work?14:27
davmor2nik90_: I haven't checked,  I did say if you were digging a little bit more14:27
davmor2nik90_: I can have a quick look14:28
nik90_davmor2: in my testing, alarm time,day seems to change as expected14:29
nik90_charles: I just noticed that http://paste.ubuntu.com/8223955/ has two alarm sounds :P14:30
nik90_charles: but again has to do with the changes in the sdk14:31
=== fgallina is now known as lunch
charlesnik90_, agreed wrt the sdk, but still that's useful information, make sure it's in the ticket :-)15:43
bzoltanmhall119: nik90_: I have pushed a new Trusty QtC plugin backport of the today's release to the Tools Development PPA. This release contains the scope development support and the upcoming new adb policy support. It is an important release. Please bug me if you find anything wrong with it. If you are happy with that release then I will copy the packages to the SDK Release PPA.15:56
=== lunch is now known as fgallina
nik90__bzoltan: ack16:08
=== alecu_ is now known as alecu
=== nik90__ is now known as nik90_
nik90_mhall119: can you test the scope development support as I don't do scopes (yet) :P16:08
=== JamesTait is now known as Guest46019
nik90_bzoltan: so is this update already available on utopic since you mentioned trusty backport?16:09
renatugerlowskija, yes I am working on that :D16:09
=== JamesTai1 is now known as JamesTait
=== davmor2_ is now known as davmor2
=== popey_ is now known as popey
brendanddavmor2, nik90_ - did you see that alarms are going off 1 minute later than scheduled as well?16:22
* nik90_ tries that16:22
davmor2brendand: mine went off at 17:0016:22
brendanddavmor2, mine went off at 16:21, set for 16:2016:23
* brendand tries again16:23
popeymine went off on time too16:24
nik90_brendand: mine went of on time as well16:25
brendandnext one did16:25
brendandah well16:25
nik90_brendand: was the first alarm scheduled a long time after the current time?16:27
nik90_brendand: it could be that when the phone is in sleep, time skips16:27
nik90_tsdgeos: hey, quick question when you open the clock-app in Catalan, do the translations show up?16:31
nik90_tsdgeos: I changed my phone language to italian just to test and rebooted the phone. But on opening the clock app no strings are translated16:32
bzoltannik90_:  yes, the utopic version was released just few hours ago16:33
gerlowskijarenatu: cool.  Quick question then if you have the time.  Is there a way to run an app (specifically the calendar-app, which uses qtorganizer5-eds) against a modified version of the plugin, without installing the modified plugin across my whole system?16:33
nik90_bzoltan: cool I will test it there16:34
gerlowskijarenatu: or, rephrased, do you have a suggested way of testing changes in qtorganizer5-eds by running an app against it16:36
tsdgeosnik90_: i get translations for almost everything yes16:48
=== seb128_ is now known as seb128
rpadovanimzanetti, the modify works well, updated the branch16:57
renatugerlowskija, the plugin is loaded by qt, maybe you could try export  QT_PLUGIN_PATH16:58
renatuI never tried16:58
gerlowskijaoh, hmm.  how do you test changes you make then?  does qtorganizer5-eds have its own unit/integration tests?17:00
renatugerlowskija, I am creating the plugin manually: QOrganizerEDSEngine *engine = QOrganizerEDSEngine::createEDSEngine(QMap<QString, QString>());17:15
mhall119bzoltan: I'll update my QtC and test it, will give you and zbenjamin feedback17:25
=== ybon1 is now known as ybon
ahayzenpopey, balloons, are we still suffering jenkins outage?17:50
balloonsahayzen, yep17:58
ahayzenballoons, :( any eta or are you still battling?17:59
pmcgowanmhall119, could you get a description on how dekko uses the custom url scheme delegation? is there some other way to accomplish this?19:21
pmcgowanDanChapman, ^^19:22
ahayzenballoons, music-app seems to be running nicely so far in jenkins thanks for whatever you guys did to fix it :)19:22
* ahayzen waits patiently to see if it will fully pass :)19:23
balloonsahayzen, it appears we might be out of the woods19:26
ahayzenballoons, \o/ ... i'm just checking which mps we would like to land before the next push to store with victor....19:26
ahayzenballoons, 'Finished: SUCCESS' :D19:28
mhall119pmcgowan: http://bazaar.launchpad.net/~dpniel/dekko/trunk-1/view/head:/src/Ubuntu/qml/MessageView/HtmlPart.qml#L4119:35
mhall119Trojita core uses URLs like trojita-imap:// and such to load message parts19:37
pmcgowanmhall119, wondering if there is another way to implement it which would be easier than providing this in oxide19:37
mhall119pmcgowan: possibly19:38
mhall119looking at this code, maybe just allowing an override of the QNetworkAccessmanager used by Oxide would do it19:38
pmcgowanlet me add that pointer to the bug19:39
pmcgowanmhall119, thanks19:39
mhall119so it looks like 2 things are happening:19:41
mhall1191) They have a custom QNetworkAccessManager that knows to query trojita core API for things like trojita-imap://19:41
mhall1192) A wrapper class to for QNetworkReply that I assume makes it more QML-friendly19:42
mzanettikenvandine: hi. quick question: I have images in my app I want to export. I know how create a source so others can import it, but can I actively push it to the gallery from my app? or having a list of things that could potentially handle it and let the user pick one?20:25
kenvandinemzanetti, yup20:26
kenvandinecreate a transfer and charge it20:26
kenvandinebasically add the ContentPeerPicker20:26
mzanettiaha!20:27
mzanettimissed it in the docs20:27
* mzanetti tries20:27
kenvandinewith ContentHandler.Destination20:27
kenvandinethat will show peers that can open it20:27
mzanettibbiab :)20:29
mhall119kenvandine: I have the same question, actually20:30
mhall119so once you charge it, do you have to do anything else?20:30
kenvandinenope20:30
mhall119also, what's the difference between a destination and a share?20:30
kenvandineonce it's charged, the destination app should get focus20:30
kenvandinemhall119, technically none :)20:30
mhall119ok :)20:30
kenvandinebut... we make you choose one of the other so you can present it to the user differently20:30
kenvandinebut on the backend it does the same thing20:31
mzanettikenvandine: file:///home/micha/Develop/dronefly/app/components/ImageGallery.qml:158:5: created by hub20:35
mzanettikenvandine: as I saw you asking for feedback :) this could be a bit more verbose. took me a while20:35
kenvandine?20:35
kenvandineoh20:35
mzanettikenvandine: doesn't that mean its registered as qmlRegisterUncreatableType?20:35
kenvandineyeah, it could be20:35
kenvandineyes20:36
kenvandinewhich is that?20:36
kenvandinepaste the source20:36
mzanettiContentTransfer {}20:36
kenvandineyeah... you can't do that :)20:36
kenvandinethe peer picker will give you a transfer20:36
mzanettiyeah. figured by now. but could say "ContentTransfer can't be created this way. Get one from ContentHub" :)20:36
kenvandinebut yes... we could have a better message there20:36
kenvandineyes20:37
* kenvandine fixes now20:37
mzanetti:)20:37
mzanettiwhy does google always redirect me to sdk-1.0 docs... no wonder I totally missed the export api. /me notes down to check sdk version in url20:41
kenvandinemzanetti, i proposed a branch :)20:43
kenvandine"Not creatable as an object, please use ContentPeer::request()"20:43
mzanettiah. exactly what I needed. was still searching where to get it from20:43
mzanettithanks :)20:43
kenvandinenp :)20:43
mhall119kenvandine: is there a way to tell ContentPeerPicker not to show the app that initiated it?20:43
kenvandineContentPeerPicker has a selected signal20:43
mhall119kenvandine: my app is both an importer and exporter of images20:43
kenvandinemhall119, no... sorry20:44
kenvandinegood idea though20:44
kenvandinemhall119, file a bug :)20:44
kenvandinethat'll take a little more thought20:44
kenvandinebut we should be able to filter it out of the model automatically20:44
kenvandinemhall119, i'm really wishing i had a way to open pdf files on my phone20:45
* kenvandine hides20:45
mhall119kenvandine: https://bugs.launchpad.net/content-hub/+bug/136514820:46
ubot5Ubuntu bug 1365148 in content-hub "ContentPeerPicker shouldn't show the app that is using it" [Undecided,New]20:46
mhall119kenvandine: there's an app in the store for viewing PDFs20:46
mhall119it's quite nice20:46
kenvandinemhall119, but does it show up in the peer picker for downloads?20:46
mhall119kenvandine: conveniently it can use the filemanager-app as a picker :)20:46
kenvandineright...20:47
mhall119kenvandine: ah, I don't think so no20:47
kenvandine:-D20:47
kenvandinei was giving you an opening for making a jab :)20:47
mhall119it would be nice if filemanager-app was also a destination for ContentType.All20:47
mhall119^^ happy :)20:47
mhall119kenvandine: is there a way in QML to delete files that I've imported via content-hub?20:48
kenvandinenot in pure QML20:48
mhall119:(20:48
kenvandinemhall119, so if you don't choose a content store, the files won't persist20:50
kenvandinebut that doesn't help if you need them to live longer20:51
mhall119yeah, I want them to live longer, and let the user delete them from my app20:51
=== salem_ is now known as _salem
mzanettikenvandine: does this make sense? http://paste.ubuntu.com/8226754/20:59
kenvandinemzanetti, so why not use the ContentPeerPicker?21:00
mzanettikenvandine: ?21:00
mzanettiwhat does the content picker have to do with it?21:01
kenvandineContentPeerPicker shows the list of peers21:01
twstddevnik90_, ping21:01
mzanettioh... contentpeerpicker21:01
kenvandinewhat you did there would give you the default peer for share and pictures21:01
kenvandinewhich i don't think exists21:01
kenvandinenot a "default"21:01
kenvandinehttp://bazaar.launchpad.net/~ken-vandine/+junk/hub-exporter/view/head:/hub-exporter.qml#L40921:03
kenvandinemzanetti, ^^21:03
kenvandinea complete example21:03
mzanettii c21:03
mzanettithanks21:03
kenvandinenp21:03
nik90_twstddev: pong21:04
twstddevnik90_, http://146.185.188.87/?lat=40.714270&long=-74.00597021:05
twstddevthat should stay there, it's on popey's server21:05
nik90_twstddev: oh cool21:06
twstddevnik90_, as well I had a look at the cpu high load issue in the clock app. You do a software accelerated animation, you basically create your own animation loop with 100 fps and rotate the image. I found that animator components should render on gpu, but honestly have not noticed much of a difference21:08
twstddevprobably on my vm it cannot initialise GL21:08
twstddevso, the best probably make a one second tick21:09
twstddev:)21:09
nik90_:P21:09
nik90_thats what we had at the beginning21:09
twstddevyou can check on the device21:09
twstddevwith RotationAnimator21:09
nik90_will do21:09
twstddevdocumentation claims that should be hardware accelerated21:09
twstddevnot RotationAnimation, but RotationAnimator :P21:10
nik90_yup21:11
nik90_http://qt-project.org/doc/qt-5/qml-qtquick-rotationanimator.html21:11
nik90_fginther: I am getting mixed results on https://code.launchpad.net/~nik90/ubuntu-clock-app/conditionally-load-alarmmodel/+merge/23241221:12
nik90_fginther: it says it passed Continous Integration but failed autolanding21:12
ahayzennik90_, same i just had one of the music-app landings explode21:13
nik90_hmm strange21:13
ahayzennik90_, yep :/ you can see it go green for a bit...then red ...then maybe green again? http://91.189.93.70:8080/job/generic-mediumtests-utopic/21:14
fgintherahayzen, one of your music-app landings failed due to an incomplete fix for the recent jenkins issue, I've reappoved the MP21:15
fginthernik90_, looking21:15
ahayzenfginther, oh cool thanks21:15
fginthernik90_, I see one problem, the clock reboot branch job was still trying to merge those MPs21:17
nik90_fginther: oh the first time it failed, I waited an hour before top-approving again21:18
fginthernik90_, well, there were two autolanding jobs being triggered simultaneously21:18
nik90_ok21:19
fginthernik90_, the other problem is that the tests are not passing on a mako: https://jenkins.qa.ubuntu.com/job/generic-click-autopilot-runner-mako/47221:19
nik90_fginther: that's a known issue..its due an upstream autopilot bug21:20
nik90_fginther: related to the datetime picker21:20
fginthernik90_, ok21:20
nik90_although I thought we skipped it on the device21:20
fgintherthe autolanding job for lp:ubuntu-clock-app have been running mako tests for a while now. When the project trunk was switched, it also meant it started running mako tests on the reboot branch21:22
fginthernik90_, is that expected?21:23
nik90_fginther: hmm then that could indicate real failure21:23
* balloons reads21:23
nik90_fginther: let me try with another branch. The tests in this MP failed initially on my laptop. But I fixed it, checked it locally and then pushed.21:24
nik90_fginther: and then I noticed jenkins passed it. But I did not check on mako21:24
balloonsnik90_, https://jenkins.qa.ubuntu.com/job/generic-click-autopilot-runner-mako/472/testReport/junit/ubuntu_clock_app.tests.test_alarm/TestAlarm/test_add_recurring_type_alarm_must_add_to_alarm_list_random_/ this does not look like the datepicker bug21:24
nik90_balloons: yeah, let me test on mako and see where the issue is21:25
nik90_balloons: does the instructions at http://www.theorangenotebook.com/2014/02/click-buddy-and-you-how-to-test-your.html still valid?21:34
nik90_balloons: I get errors that the custom C++ plugins like DateTime, Timezone are not loaded21:35
balloonsnik90_, http://developer.ubuntu.com/apps/sdk/tutorials/building-cross-architecture-click-applications/ is the definitive reference for building armhf binaries21:41
balloonsthis is a rough version I did which contains info about how I build things: http://www.theorangenotebook.com/2014/05/building-cross-platform-click-packages.html21:41
nik90_balloons: ok so I build it that way and install the click package manually and then do phablet-test-run?21:42
balloonsnik90_, yea build and install it, make sure you can load it and it runs21:42
balloonsthen you can run the tests however you feel21:42
nik90_ok21:43
balloonsI like using autopkgtest for this as it does everything you need. You can literally plug the phone in and hit the command and it runs21:46
balloonsit grabs depends, setups up ap, copies the tests, etc21:46
nik90_balloons: but I thought that didnt work for the new clock app21:47
balloonswhat didn't work? autopkgtest?21:47
nik90_balloons: also when I install the click myself, would phablet-test-run grab the tests from /opt/com.ubuntu.clock folder?21:48
nik90_balloons: autopkgtest yes21:48
nik90_https://bugs.launchpad.net/ubuntu-clock-app/+bug/135514521:49
ubot5Ubuntu bug 1355145 in Ubuntu Clock App ""make autopilot" fails in autopkgtest" [Undecided,New]21:49
balloonson that bug.. hmm.. However, it's not needed to run tests on the device. autopkgtest keys off the manifest file for a click21:50
balloonsnik90_, works for me; adt-run --click com.ubuntu.clock --- ssh -s adb21:50
balloons^^ that will run the tests for whatever version of clock I have installed on my device21:50
nik90_balloons: but where does autopkgtest grab the tests from?21:51
nik90_I just want to make sure I am runnign the latest tests and not some old trunk ones21:51
balloonsit reads the click manifest and grabs them. in your case, you should pass the local tests along so it uses those instead21:51
balloonsso, adt-run ubuntu-clock-app-local-folder/ --click com.ubuntu.clock --- ssh -s adb21:51
nik90_ah21:52
balloonsno worries, I have a post actually on promoting this a bit more.. I did an initial post when support landed, but things have gotten easier/better since21:52
balloonsit's come time to push folks to adopting it :-)21:52
nik90_hmm let me guess I need to try this on utopic since trusty doesnt have latest autopkgtest21:53
balloonsyou can actually just grab the utopic deb, it works fine21:53
balloonsso, yes trusty is fine :-)21:53
balloonshttp://mirrors.kernel.org/ubuntu/pool/main/a/autopkgtest/autopkgtest_3.4_all.deb21:53
balloonsa backport should be done.. we can bug pitti to do it :-)21:53
ahayzenballoons, fginther (and others who helped) thanks for getting jenkins back up, all of the backlog of music-app has now landed \o/ thanks again :)21:54
balloonsgood to hear ahayzen21:54
fgintherahayzen, sorry for the mess21:54
fgintherahayzen, and you're welcome :-)21:55
ahayzenballoons, popey when u have a moment a store build of music would be appreciated (hopefully it will fix the krillin CI issues)21:55
popeyballoons: if you upload, I'll approve.21:55
balloonspopey, yep, trying21:55
ahayzen#611 should be the latest21:55
balloonsI can't get reminders to upload, it keeps rejecting21:55
balloonsI hope music fairs better21:56
ahayzenheh21:56
popeyrejecting how?21:56
balloonsI have trouble with the upload form.. it often stops, or fails validation21:56
popeyballoons: i can't download clicks to review, sound the beuno alarm!22:01
balloonsyikes! glad it's not just me22:05
balloonsnik90_, btw, https://people.debian.org/~mpitt/autopkgtest/README.click-tests.html should explain in more detail what I just said22:07
nik90_balloons: ok22:08
nik90_balloons: turns out it is a real failure on device :/22:09
nik90_balloons: basically the clock app freezes when you try swiping the bottom edge up while the alarm database is loading...although it happens only in that branch.22:10
balloonshmm,interesting22:14
=== daker_ is now known as daker
popey"There was an error connecting to the download server. Please try again later."22:23
ahayzenballoons, u got a moment for a quick autopilot question?22:27
balloonsshoot22:29
ahayzenballoons, when doing an assertThat to a property should there be lambda before it or can it directly go as the first parameter? (I'm just trying to tidy up more old code)22:30
ahayzenballoons, so this is directly going to the qml property not to a helper method22:30
balloonspopey, ahayzen wahoo, music uploaded fine22:30
ahayzenballoons, \o/22:30
balloonsahayzen, using eventually requires a function22:31
balloonsbut otherwise you don't need lambda in an assert22:31
ahayzenballoons, hmmm so doing self.assertThat(self.player.isPlaying, Eventually(Equals(True))) ?22:31
balloonsahayzen, I would think that is just fine22:32
ahayzenballoons, ok because before we were sometimes doing..actual_title = lambda: self.player.currentMetaTitle ... then self.assertThat(actual_title, Eventually(Equals(whatever)))22:32
balloonsdoes it complain? If so, you can construct something ofc22:32
ahayzenballoons, so should that be able to move directly as the first parameter22:33
balloonsright22:33
balloonsI believe so.. but hey, python will yell if it's not true22:33
ahayzenballoons, ok i'll try it.... i'm just trying not to make 'flaky' tests :)22:33
balloonsahayzen, right.. either way won't be flaky, heh, it's syntax.. but making lambda functions needlessly should be avoided22:34
balloonsit's confusing22:34
ahayzenballoons, exactly why i'm trying to remove them :)22:34
popeyballoons: do we need to go through and retry all the merges or has that been tried?22:38
balloonspopey, slowly but surely yes22:38
balloonsI don't want to overrun jenkins so I've been rebuilding the important ones22:38
balloonsfeel free to do the same22:38
popeyballoons: fginther I'm getting 500 when trying to retry a build.23:24
popeyhttps://code.launchpad.net/~dpm/ubuntu-filemanager-app/desktop-i18n/+merge/230591 to http://91.189.93.70:8080/job/generic-mediumtests-utopic/1705/console23:24
gerlowskijarenatu: ping23:50

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