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

dholbachgood morning07:27
=== dholbach_ is now known as dholbach
justCarakaso/08:34
DanChapmangood morning all08:45
=== dholbach_ is now known as dholbach
JamesTaitGood morning all; happy Animation Day! :-D09:40
dpmahayzen, I installed the latest music app from trunk, it looks really really good!10:11
ahayzendpm, thanks me and victor are testing at the moment..we're hoping this will be nearly the final10:11
popeyahayzen: shall we crank a click out?10:12
ahayzenpopey, not yet still testing :)10:12
popeykk10:12
ahayzenpopey, i'll ping you when we think its good10:12
popeyok. ta10:13
ahayzenhopefully this will be one of the last click builds10:13
dpmahayzen, there is a comment on this branch about deleting the database. I understand this is only relevant to developers jumping between branches, but for users the database migration will be transparent? https://code.launchpad.net/~andrew-hayzen/music-app/remix-recent-db-changes/+merge/23966510:14
ahayzendpm. yeah it is one way though... so you can't go back...and it will delete your recent data (no attempt to migrate as that would be quite complicated and your recent data changes anyway)10:15
dpmok, makes sense10:16
ahayzendpm, yeah it was just a note to testers really to expect bad things if they attempted to go back10:16
dpmok, thanks for clarifying :)10:18
ahayzendpm, bug 1386613 is by design but with the db changes it could be quite easy to accept files on their own now10:20
ubot5bug 1386613 in Ubuntu Music App "[Remix] Only songs played from the Artists tab get added to the Recent tab" [Undecided,New] https://launchpad.net/bugs/138661310:20
ahayzendpm, bug 1386605 'header' you refer to is the tab header?10:20
ubot5bug 1386605 in Ubuntu Music App "[Remix] On single album view, the header comes back with a vengeance" [Low,Triaged] https://launchpad.net/bugs/138660510:20
dpmahayzen, yeah, the tab header does not hide10:25
dpmwell, it hides for a split second, and then bounces back10:25
ahayzendpm, interesting i wonder if that is us || UITK10:25
dpmahayzen, not sure where it comes from, but the Songs tab, the Queue page and other places behave as expected10:26
ahayzendpm, interesting10:26
ahayzendpm, it seems to happen on the songsPage if you release over the header (the bit with a blurred background)?10:27
ahayzendpm, or basically *sometimes* it reappears sometimes it doesn't lol10:28
dpmahayzen, it doesn't seem to happen to me on the songs tab. The header seems to behave and stay hidden :)10:29
ahayzendpm, we refer to the songsPage as the page after selecting an album...and the songs tab is the tracks tab10:29
dpmuntil I start scrolling in the other direction, where it appears as expected10:29
dpmahayzen, aaaah10:29
dpmok10:29
dpmso I was talking about the tracks tab10:30
ahayzendpm, our autopilot test names got horribly confusing at one point10:30
dpmahayzen, gotcha. So yeah, I can reproduce it on songsPage. The tab header always reappears.10:31
ahayzendpm, yeah weird i'll look at it when i'm back from uni10:31
dpmahayzen, no worries, just a small thing I noticed10:32
ahayzenbug 1386628 will be fun :) i had plans for that with the old app...i wonder what is causing it to be slow with the new one as a lot has changed10:34
ubot5bug 1386628 in Ubuntu Music App "[Remix] Long delay between tapping a song and showing the "Now playing" view" [Medium,Triaged] https://launchpad.net/bugs/138662810:34
popeynik90: are we any closer to landing the location branch? I am finding location detection to be pretty robust now.10:38
nik90popey: I didn't look into it recently. I can review my branch and see if there is anything else that needs to be done to complete it.10:43
popeynik90: thanks.10:43
popeyseb128: do you know if we have a bug filed for calendar not starting on desktop ?10:49
seb128popey, not that I know10:50
popeyseb128: did you say you knew what component the issue was in?10:50
popeyI am seeing 403 errors in the terminal which may or may not be related10:51
seb128popey, I think some people said it was an issue with e-d-s10:51
seb128not sure if that's true10:51
popeyplausible ☻10:51
* popey files a bug10:51
davmor2popey: WARNING:root:Ignoring missing framework "ubuntu-sdk-14.10" so what is the current framework?10:52
popeydavmor2: adb shell ls -l /usr/share/click/frameworks/10:52
davmor2popey: -rw-r--r-- 1 root root 42 Oct 14 17:37 ubuntu-sdk-14.10.framework hmmm so it just hates me then I don't blame it :)10:56
popeyare you on trusty or utopic?10:56
popeyalso, it's a warning10:56
ogra_so ignorant10:59
davmor2popey: utopic10:59
davmor2popey: indeed but I'm assuming I shouldn't have a warning if it is correct though right?11:00
popeyyeah, dunno why it's complaining11:00
mihirpopey: it runs fine when i run application on my device.11:01
popeymihir: same here, but not on desktop11:02
mihirsorry i meant machine :|11:02
popeywondering if we're missing a package or if something is newer in rtm than utopic11:02
popeyodd11:02
popeyoh11:02
mihiri did that on saturday before i left DC11:02
mihirand i am on utopic11:03
mihircould you pastebin the errors ?11:03
mihirpopey: one more input required for calendar choice page11:06
mihir1). http://i.imgur.com/7MyWwGh.png11:06
mihir2).http://i.imgur.com/Vca7oLq.png11:06
mihirpopey: hmm i see , i don't have sync account because of that i might be able to run on desktop.11:09
nik90popey: I updated the clock location branch at https://code.launchpad.net/~nik90/ubuntu-clock-app/implement-location-finding/+merge/231793. It seems to work fine now on my rtm stable #5 image. Woohoo. However as mentioned in the comment I would like additional people to test it and see if it works as expected since it prominently shown in the main clock page.11:09
popeymihir: i pasted the error in the bug11:10
mihirpopey: yes i see11:10
nik90mihir: if you got time later, mind giving a hand at testing https://code.launchpad.net/~nik90/ubuntu-clock-app/implement-location-finding/+merge/231793, the instructions are mentioned in the MP description. No code review necessary. Just real life testing on the device.11:11
popeymihir: i think the coloured blocks should be square.11:11
nik90davmor2, balloons: I would appreciate your help as well ^^11:11
mihirpopey: that means 2nd option ?11:11
popeyyes11:11
mihirpopey: okay great :)11:11
mihirnik90: sure will do that :)11:11
mihirpopey: for your reference , we have closed all strike items :- http://pad.ubuntu.com/DnXPSYyHVF11:12
davmor2nik90: I will be doing a lot of flashing today so I can look latter when things have calmed down11:12
nik90mihir: just report back your testing results in the MP comments since I won't be online on IRC due to my exams.11:12
popeyyeah, i saw that earlier mihir, nice one!11:12
nik90davmor2: no hurry11:12
mihirnik90: sure I'll comment there :)11:13
mihirnik90: all the best for our exams :)11:14
nik90thnx mate11:14
* nik90 is off11:14
=== rmescandon is now known as rmescandon-afk
mihirpopey: okay :)11:23
=== rmescandon-afk is now known as rmescandon
dpmzsombi, could you give us a hand with this bug? https://bugs.launchpad.net/ubuntu-filemanager-app/+bug/1386208 - we've got no idea where the purple comes from in https://bugs.launchpad.net/ubuntu-filemanager-app/+bug/1386208/+attachment/4246224/+files/purple.png so some guidance would help already12:01
ubot5Ubuntu bug 1386208 in Ubuntu File Manager App "Purple actions on the header" [Low,Triaged]12:01
davmor2popey: made the mistake of not using the sdk is now published12:03
popeyhah12:04
zsombidpm: we found this bug during the sprint, it comes from an old palette value that hasn't been specified by the UX since the color schemes got more complex than they were...12:13
zsombidpm: the old background color of SuruDark was purple, and that color hasn't been changed since.12:14
zsombidpm: it is a toolkit bug12:15
=== _salem is now known as salem_
davmor2popey: oh by the way the http://developer.ubuntu.com/publish/webapp/packaging-web-apps/ is wrong it say 128x128 icon and it is 256x256 for myapps12:19
popeydavmor2: scroll down, see big orange button "Report a bug on this site"12:20
davmor2popey: ha nice :)  I hadn't scrolled down that far :)12:21
popeydavmor2: also, i think that button won't work properly, looks like it should fill fields in12:21
popeytry it12:21
davmor2popey: it adds reported from and the url12:23
popeydid it work though?12:23
davmor2https://bugs.launchpad.net/developer-ubuntu-com/+bug/138666212:23
ubot5Ubuntu bug 1386662 in Ubuntu App Developer site "icon size is wrong say 128x128 but myapps only accept 256x256" [Undecided,New]12:23
davmor2popey: ^12:23
popeynice!12:23
* popey confirms12:24
dpmzsombi, ok, thanks. So is there any workaround we can use for the app? And what is the toolkit's bug number, so that we can reference it in the file manager bug?12:24
t1mpdpm: 1386208 ;)12:24
t1mpI thought we had a bug for it, but I couldn't find one12:24
zsombidpm: I don't think we had any special bug for that, colors in general get broken when the mainview starts to do gradients, and I think it's because it starts to grab SuruGradient, and not SuruDark... But I also assigned the bug to the toolkit12:25
zsombit1mp: dpm: there was teh MainView.backgroundColor is unusable bug...12:25
dpmt1mp, zsombi, ah, nice, thanks! So why does it not affect other apps? Can we work around it while it's not fixed in the toolkit?12:26
zsombit1mp: dpm: so we have to get rid of teh SuruGradient theme12:26
t1mpzsombi: where is that bug?12:26
zsombidpm: those who use gradients in teh MainView they will have probs12:26
zsombit1mp: the MainView one?12:27
zsombit1mp: hmm... seems it got marked as invalid?12:28
t1mpzsombi: yes, I couldn't find it12:28
dpmzsombi, from, what you are saying, I understand that they'll have problems. But basically, if an app uses a gradient there is no workaround (i.e. overriding the theme) that can be used?12:29
zsombidpm: of course there is! but you'll get binding loops :/12:29
zsombit1mp: cannot find it either...12:29
zsombidpm: but we can fix it12:30
t1mpzsombi: the StyledItem is internal in MainView, so apps cannot easily override it12:30
zsombidpm: I mean to not to use SuruGradient12:30
t1mpzsombi: this is in the MainViewStyle:12:30
zsombit1mp: why would they? they can set Theme.name = "Ubuntu.Components.Themes.SuruDark" right?12:30
t1mp        property string theme: (ColorUtils.luminance(styledItem.backgroundColor) >= 0.85) ? "Ambiance" :12:30
t1mp                                (isGradient ? "SuruGradient" : "SuruDark")12:30
zsombit1mp: ^^12:31
zsombit1mp: that does not forbid an app to use a different theme, right?12:31
zsombit1mp: but yes, the fix is not to use SuruGradient at all!12:32
t1mpuhm. yeah12:32
t1mpzsombi: can you comment the workaround in the bug report? that's useful for the app developers :)12:32
zsombit1mp: sure...12:32
dpmI don't think I can quite follow - i.e. I don't even know what SuruGradient is or whether we're using it in file manager12:32
dpmelopio, are you around today?12:34
zsombidpm: once upon atime, there were three King Themes: Ambiance, SuruDark and SuruGradient. They were ruling over the apps one after each other depending on the luminance of the background and whether the lands had separate colors for header and/or footer. Then the sorcerers came and decided to dismiss SuruGradient, being the evil and thus mainenance on that has been dropped12:38
zsombidpm: but, unfortunately the evil cannot be removed easily from the Garden of Eden, so the ancient logic choosing the ruler had staid there, which now messes up teh kingdom...12:39
zsombi:)12:39
dpmzsombi, shall we then live happily ever after? :-)12:39
zsombidpm: we shall, once we give enough treasure to the kingdom chooser, so the SuruGradient will be ruled out for good12:40
zsombidpm: and, as the themes themselves are not part of the public API of the toolkit, we perhaps can simply remove it from the package12:41
dpmzsombi, awesome, and what shall we then recommend to the valiant knights of the ancient order of File Manager, to set Theme.name = "Ubuntu.Components.Themes.SuruDark", or not to use a gradient at all?12:42
zsombidpm: now, the question is if this bug is a critical one or not...12:42
dpmzsombi, it definitely isn't critical, so I'm just trying to find out the best way to remove that purple from file manager12:43
zsombidpm: they should hope that the force is with them, and do the workaround till the bug is fixed12:43
zsombidpm: so, may the 4th be with app developers who use gradients in their apps :)12:44
dpmthanks zsombi, may the force be with you too :)12:44
zsombit1mp: do U wanna take the Jedi sword? ;)12:45
zsombit1mp: or I could fix it, however this bug ain't seems to be critical...12:46
zsombit1mp: trhe other one was12:46
zsombiehh12:46
sverzegnassidpm, do you have some time to talk about the docviewer-app?12:46
dpmhi sverzegnassi, sure! How are you? Are you back home already?12:47
t1mpzsombi: what's the other one?12:50
zsombit1mp: I foudn teh bug, I'll fix it https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/135677912:50
ubot5Ubuntu bug 1356779 in Ubuntu UI Toolkit "MainView.backgroundColor is not usable any more" [High,Confirmed]12:50
zsombit1mp: it was marked as invalid.12:50
sverzegnassidpm, I'm fine! I come back home on Sunday, the return flight was definitely better than the outbound one12:50
* zsombi brb12:50
t1mpzsombi: I marked the new bug as a duplicate12:53
dpmsverzegnassi, cool :)12:53
dpmt1mp, zsombi, after a quick test, it seems adding Theme.name = "Ubuntu.Components.Themes.SuruDark" to http://bazaar.launchpad.net/~ubuntu-filemanager-dev/ubuntu-filemanager-app/trunk/view/head:/src/app/qml/filemanager.qml#L273 did not quite work. Anything that I might have missed?13:14
zsombidpm: hmm...13:17
zsombidpm: uhh... actually it won't you're right, because the SuruGradient uses the same MainViewStyle as Ambiance is using, so changing the theme will roll back the default logic :(13:18
dpmargh13:20
t1mpdpm: then the quick fix is not to use a gradient background13:25
dpmt1mp, yeah, I've just tested that, and it seems it will be the way to go13:27
dpmthanks guys13:27
t1mpdpm: yes, for now. Until we get a proper fix in13:28
t1mpzsombi: perhaps we should add a property Item background to the MainView?13:28
t1mphmm.. maybe that's not even needed13:29
t1mpif the MainView contents is simply being clipped behind the header, apps can simply put the background Item behind the MainView13:29
zsombidpm: one way to get the same background is to create a rectangle and set it's z to -113:29
zsombidpm: then don't set the colors to MainView yet13:29
t1mpzsombi: no need to set z to -1 if the background Item is in the qml file before the MainView (not inside it)13:30
t1mpso Item { id: background }; MainView { }, or even Item { id: background; MainView { } }13:30
zsombit1mp: well, yes, unless someone uses QuickUtils.rootItem().backgroundColor... as then teh rootItem won't be teh MainView...13:31
t1mpzsombi: or de we rely on MainView being the root item in the tree?13:31
zsombit1mp: afaik toolkit doesn't but you never know...13:31
zsombit1mp: well, QuickUtils is not even supported as public API...13:31
t1mpzsombi: if you put the background inside MainView, even with z=-1, it will be clipped by contentsClipper inside the MainView13:32
t1mpthat is there to hide mainview contents behind the (transparent) header13:33
dpmt1mp, zsombi, that's a bit too hardcore for me, I'll go with "no gradient" for now. Now I'm getting a black actions toolbar in the header. That's ok, better than purple, but does that mean that the toolbar can only be either black or light grey? So what if I write a Dropbox app and I want it to be blue?13:33
zsombidpm: yes, we were already talking about this, and there's a slight problem implementing that :( So we either take a color of we mak eit transparent, so teh background color will be taken. This needs design input as well13:35
t1mpzsombi: I solved it for the header divider. We can use the same approach for the panel, if design agrees13:35
dpmzsombi, what's the current logic? If there is a color set as headerColor it's SuruDark (i.e. header actions black) and if there isn't, it's Ambiance (i.e. header actions light grey)?13:37
t1mpdpm:         property string theme: (ColorUtils.luminance(styledItem.backgroundColor) >= 0.85) ? "Ambiance" :13:37
t1mp                                (isGradient ? "SuruGradient" : "SuruDark")13:38
zsombit1mp: dpm was asking for teh header divider solution :)13:38
t1mpthe new logic for the header divider (which has not landed yet) is:             dividerColor: Qt.darker(background.headerColor, 1.1)13:39
t1mpthe current/old header divider uses a semi-transparent dark image for the background13:39
zsombit1mp: right, so we can get the background color transferred to the header colors as well...13:40
t1mpzsombi: yes13:40
t1mpzsombi: shall I take https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1356779 ?13:41
ubot5Ubuntu bug 1356779 in Ubuntu UI Toolkit "MainView.backgroundColor is not usable any more" [High,Confirmed]13:41
t1mp(tomorrow..)13:41
zsombit1mp: well, you could, however that falls back on the theme autochoose, but not to teh header color chosing13:43
ajalkanedpm: Mayhaps after your changes also the "Open With" dialog works correctly?13:44
zsombit1mp: so the one we're talking about is a different one13:44
* dpm tries13:44
t1mpzsombi: ok, you keep it. :)13:44
zsombit1mp: so you or dpm shoudl fila a bug for the above discussed one13:44
t1mpzsombi: so https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1386208 is not a dupe..13:44
dpmajalkane, unfortunately, it doesn't :/13:44
ubot5Ubuntu bug 1356779 in Ubuntu UI Toolkit "duplicate for #1386208 MainView.backgroundColor is not usable any more" [High,Confirmed]13:44
ajalkaneah, too bad13:45
zsombit1mp: well, partly yes, but the other part we just discussed is not13:45
t1mpDialogs all have a light background now, that was by design13:45
t1mpajalkane: ^13:45
zsombit1mp: dpm: and in my vision this misscoloring is not low priority, but pretty high13:46
t1mpzsombi: you are the one who gave it Low priority 1h ago13:46
zsombit1mp: yes, because teh app's priority was low...13:46
zsombit1mp: unduped it, and rised to High13:46
ajalkanet1mp: I don't know if you can call it a dialog, it's a "Page"13:47
zsombisorry, rose :D13:47
t1mpzsombi: ok13:47
t1mpajalkane: true, a Page is not a Dialog13:47
t1mp(I was referring to the Dialog component)13:47
dpmt1mp, zsombi, ok, so I know how we can fix the purple header actions for now. Any ideas on how to fix bug 1386212 ?13:49
ubot5bug 1386212 in Ubuntu File Manager App "Unreadable "Applications" header on "Open with" dialog" [Low,Triaged] https://launchpad.net/bugs/138621213:49
ajalkaneIt's something about ContentHubPeerPicker component.13:50
ajalkaneThis might work on that? Component.onCompleted: Theme.name = "Ubuntu.Components.Themes.SuruDark"13:50
=== rmescandon is now known as rmescandon-lunch
zsombidpm: well, perhaps by setting a readable color to teh text would help, right?13:51
zsombidpm: I mean noone should expect that all components will magically work with all colors :)13:52
ajalkaneaye optimally one would want the whole page to follow File Manager's theme and not have white background13:52
dpmajalkane, where's the content hub code in the app? I can't find a reference to ContentHubPeerPicker13:54
dpmah, found it13:55
dpmContentPeerPicker13:55
ajalkaneyeah, something like that :)13:58
akiva-thinkpaddpm, Welcome back from the sprint or whatever you were doing. I am basically a free agent at the moment, if you have any project that needs shoring up.13:58
akiva-thinkpadajalkane, o/13:58
dpmhey akiva-thinkpad o/13:58
akiva-thinkpad\o13:59
dpmakiva-thinkpad, good work with the file manager header!13:59
akiva-thinkpadthanks; ajalkane helped a lot with it.13:59
dpmakiva-thinkpad, would you be interested in looking at these? https://bugs.launchpad.net/ubuntu-filemanager-app/+bugs?field.tag=new-header14:00
akiva-thinkpaddpm, yep!14:00
ajalkanehowdy akiva-thinkpad14:00
akiva-thinkpaddpm, okay I'll see if we can close all the bugs in it then.14:01
akiva-thinkpaddpm, what is the status of the RTM; is that done now? Are there any sprints or deadlines were aiming for?14:01
dpmakiva-thinkpad, essentially we're continually working with manufacturers. We're ramping up and having biweekly milestones to fix all critical bugs for the final image14:05
akiva-thinkpaddpm, good to know. Do we know if the full suite of core apps will be used?14:06
=== dholbach_ is now known as dholbach
popeyakiva-thinkpad: no, thats up to the manufacturer really. all of them are in the store though.14:16
akiva-thinkpadpopey, ah cool.14:23
dpmajalkane, if you happen to be around, would you mind reviewing https://code.launchpad.net/~dpm/ubuntu-filemanager-app/kill-purple/+merge/239860 - if that one looks ok and lands, I think we should then upload to the store14:33
elopiodpm: here14:34
elopiohow can I help you?14:34
dpmhola elopio, hope you had a nice flight back14:35
dpmelopio, a couple of contributors have revived the docviewer project14:35
elopiodpm: I did, thanks. It was short this time.14:35
dpmnice :)14:35
dpmelopio, so I submitted a branch to make it easier to contribute and to clean things up: https://code.launchpad.net/~dpm/ubuntu-docviewer-app/add-plugin/+merge/23754514:36
dpmelopio, it needs the tests to be adapted to current AP practices, as I think the AP code is outdated. Would you mind having a look at it?14:36
elopiodpm: so, the tests need to pass the name of the file to open in a desktop file? that's what we are missing now?14:38
ajalkanedpm: sure, I skimmed through the commit and it looks good to me. Great to get rid of the purple header actions!14:39
dpmelopio, not sure, tbh. What I saw on the tests is that they were complaining that we're using deprecated emulators modules14:40
dpmajalkane, thanks. If it looks good to you, would you mind top-approving too?14:46
ajalkaneyeah of course, sorry forgot about it14:48
elopiodpm: that is just a warning. Not necessary to fix on your MP that is already too big.14:48
=== rmescandon-lunch is now known as rmescandon
elopioit's already reported here: https://bugs.launchpad.net/ubuntu-calendar-app/+bug/134168114:50
ubot5Ubuntu bug 1341681 in dialer-app "Autopilot tests should stop using deprecated emulators module" [Undecided,In progress]14:50
elopiothis is the error:14:51
elopio    self.arch_dir = glob.glob('%s/obj-*' % self.build_dir)[0]14:51
elopioIndexError: list index out of range14:51
elopioI'll see what weird thing is happening there.14:51
dpmelopio, yes, that's exactly what confused me when I was looking at it last week.14:52
dpmI don't even understand why the arch_dir is required for the tests14:53
elopiodpm: well, this is something you are adding on your branch14:57
elopio1867+ self.arch_dir = glob.glob('%s/obj-*' % self.build_dir)[0]14:58
elopiothat's not in trunk.14:58
dpmelopio, yeah, my bad, I merged another branch from someone who had taken care of the AP tests, but it was at the sprint, and I didn't have much time to look at it.14:58
elopioI think that you should be able to launch the local location binary by using just the binary name, without the full path.14:59
elopiodpm: can you make the core apps ppa for vivid?15:02
karniAnyone has experience/had problems while playing video using Video component in QML? Or would you suggest MediaPlayer? I tried webview, but doesn't seem to work in all cases.15:56
dpmelopio, sorry, got busy with something else. Yes, I can set up the PPA for vivid16:08
ajalkaneAnyone know what this error is, I'm trying to run from QtCreator FileManager on device: http://pastebin.com/mzDWNWcD16:09
ajalkaneShort version: ImportError: cannot import name UpstartAppLaunch, introspection typelib not found16:09
dpmelopio, actually, no, they land there from Jenkins, IIRC, so no daily builds. fginther, could we enable vivid .deb builds for the core apps in Jenkins?16:09
dpmajalkane, looks like you've got a missing package, but I can't tell which or where (desktop or device)16:11
fgintherdpm, the vivid transisiton work is in progress. How soon do you need the vivid packages in the PPA?16:11
popeydpm: robert schroll saw that last week too16:12
dpmfginther, I'm in no rush, but elopio was asking for it16:12
popeyhe said there was something missing but we didnt know what16:12
elopiodpm: fginther: I can install a virtual machine with utopic to install the deb. I want to see if we need the full path to launch the app when it is installed from the deb.16:13
elopioI can also build the deb here. So no rush.16:13
dpmelopio, or you can use the emulator16:14
fgintherelopio, thanks for the input. Everything should be in place this week, but let us know if there is an urgent need for a specific package16:15
fgintherelopio, dpm, and just FYI, please start pinging the CI vanguard (which is usually 'cihelp') in #ubunut-ci-eng. It makes it easier to record requests16:16
dpmok, thanks fginther16:16
elopioack16:16
dpmajalkane, popey, looks similar to bug 1327066 - Arto, is your Qt Creator up to date, are you running Ubuntu 14.04 or 14.10 on the desktop?16:17
ubot5bug 1327066 in qtcreator-plugin-ubuntu (Ubuntu) "upstart-app-launch was renamed to ubuntu-app-launch, launching apps from SDK broken" [Undecided,Fix released] https://launchpad.net/bugs/132706616:17
popeyoh could be.16:18
dpmajalkane, do you have any of these 2 packages installed? http://packages.ubuntu.com/search?searchon=contents&keywords=UbuntuAppLaunch&mode=filename&suite=utopic&arch=any16:20
dpmelopio, ok, so at least for running locally (i.e. .deb not installed), that arch_dir thing is not needed. I managed to get the tests running, but now the complaint is about the app not being able to receive an argument as the path of the document to open16:57
elopiodpm: yes, I managed to install it. autopilot will call which to find the full path.16:58
elopiodpm: so, if you call the autopilot LaunchUpstartApp to start it, you can pass the path to the file as an argument.16:58
elopiothe same for LaunchTestApp16:58
elopiothe only problem is when you launch the app with LaunchClickApp. That's where the only way to pass arguments is through the command line.16:59
elopioI mean, through the desktop file.16:59
elopiodpm: on the setup, you only have launch_test_application. So you just have to pass the file path as arg to launch_test_installed and launch_test_local17:01
dpmelopio, let me have a look, not sure I quite get it yet17:01
elopioyou are already doing it. Not sure why it's failing for you. Let me give it a try.17:02
dpmelopio, actually, wait. So, after removing the glob.glob() line, I can get the tests to run and pass locally17:03
dpmelopio, so the question is why they fail on Jenkins. Do we just need to have that line removed?17:03
elopiodpm: I think it will work on jenkins without that line, yes. It look correct.17:04
elopiowhat we are missing is how to find the binary location when compiled into a build dir.17:04
elopioremember the discussions we had about passing the build path from cmake to the test scripts?17:04
karniSo, I can't play a video. Anyone? http://paste.ubuntu.com/8721620/ -- This uses MediaPlayer and VideoOutput17:05
karnijut sits there, silently, nothing is happening. autoLoad and autoPlay are set to true17:05
karnipath is correct (I adb pulled and was able to play the file on my PC)17:05
karnithe file has been recorded with krillin.17:05
dpmelopio, not sure I quite follow. That's exactly what I'm doing: I built the app from Qt creator locally (different build and source dir) and the tests run fine - I'm using that CMakeLists.txt.user parser that reads the build dir from there17:05
elopiodpm: by removing that line, what you did is that the local compiled binary is not found, so it launches the installed binary.17:06
elopioI think that jenkins won't have a local compiled binary because it generally installs the deb or the click.17:07
elopioso jenkins will be fine. We need to find a solution to locate the compiled binary for the cases you don't want to run the installed one.17:08
dpmelopio, no, I don't have an installed binary, that is, I don't have the package installed17:08
elopiodpm: then it doesn't make any sense :)17:08
elopiomaybe you don't need that line to find the locallly compiled one.17:08
dpmelopio, that's exactly what I'm saying :) The CMakeLists.txt.user parser finds the build directory and the binary17:09
elopiodpm: okay then :) I wonder why that line was added, but if it works for you without it, things should just work.17:10
elopiowe need to clean the way the app is started, to copy the strategy from the other apps. But we better wait for your branch to land to avoid a bigger mess.17:10
dpmelopio, it works for me (local build), but I think Jenkins would rather follow your setup (installed package) - did you remove the glob.glob() line and then the tests passed?17:11
elopiodpm: well, I got the installed app launching.17:17
elopiothe tests are failing, not yet sure why. But that part seems to work17:17
dpmelopio, are you getting the same failure as Jenkins?17:18
elopiodpm: no, I removed the glob, removed the not used import, and changed the local location to not use the arch, just to get that part skiped.17:19
elopioautopilot.exceptions.StateNotFoundError: Object not found with name 'TextArea' and properties {'objectName': 'textAreaMain'}.17:19
elopiothat's what I got.17:19
dpmoh, wow, that fails in an even more interesting way17:20
ajalkanedpm: I have this file: /usr/lib/girepository-1.0/UbuntuAppLaunch-2.typelib17:20
ajalkaneBut I just realized this might be because the arm kit has to be updated17:21
dpmaha17:21
elopiodpm: I might be missing dependencies, because the window is empty.17:21
elopiobut if it works for you, jenkins on utopic should work. Please make the change and then we will see the new jenkins results.17:21
dpmelopio, yeah, pushed the change 10 mins ago, waiting for the Jenkins job to get triggered17:22
mihirhey any idea we have changed any permission issues on desktop , http://paste.ubuntu.com/8721791/ ?17:22
mihirpopey: we might have got some changes in permission i believe that's why it is failing on desktop17:24
popeymihir: permission on what?17:25
mihirpopey: may be it looks like it is not able to access the online accounts :|17:26
mihirpopey: if you just stop syncing it runs with no issues :|17:27
mihirpopey: i might be wrong though.17:27
popeyyeah, i see that.17:27
popeyahayzen: heya17:30
ahayzenpopey, yo17:30
* ahayzen pretends to be wide awake and alert17:31
popeyhah, join the rest of the channel17:31
popeyahayzen: jouni is back tomorrow.17:31
ahayzen\o/17:31
popeyHow's it going today? (slow as a result of jet lag?)17:32
popeyI saw you guys merging late last night17:32
ahayzenpopey, good ... i was up until 5am this morning then had 9am lectures ... so not really jet lag just lack of sleep in general aha17:32
popeyahhh17:32
elopiodpm: you need to remove the unused import17:33
elopiojenkins does static checks before running the tests.17:33
ahayzenpopey, but we did *lots* of landings... we just need to iron out the bugs then build a click  and hopefully this is it lol17:33
popey"that's all"17:33
* ahayzen thanks dpm for testing and reporting bugs from the latest remix branch17:34
ahayzenpopey, yeah "that's all"17:34
mihirpopey: turning off and on again works :D17:34
* mihir reminds of THE IT CROWD ;)17:34
popey17:35
mihirpopey: can you try ?17:35
popeymihir: what? rebooting my pc?17:35
popeysure.17:35
mihirnah17:35
mihirpopey: the online account :|17:35
popeyi have17:35
popeywhat? remove and re-add?17:35
mihirand wait for while , i just toggled , Google account off, calendar sync on-off and it has stared :|17:35
popeyok, will test that in a short while and report on the bug17:36
mihirpopey: okay thanks.17:36
mihirbut i am still not able to get what exactly the issue is.17:36
popeyditto, will test more.17:37
popeywill try adding other accounts too17:37
popeyahayzen: Anything we need to discuss then?17:37
ahayzenpopey, erm... don't think so we just need to fix the bugs and then tell u to build a click :) ... so hopefully in the next 24hrs or so17:38
popeyok!17:38
ahayzenpopey, are you able to run the latest branch as well for testing purposes?17:41
popeysure thing17:41
* popey pulls17:42
popeyahayzen: rev 713>?17:42
ahayzenpopey, thanks :) you should notice faster startup times as *loads* of things are in async now17:42
ahayzenpopey, yep :)17:42
popeyASYNC ALL THE THINGS!17:42
popeyok17:42
ahayzenliterally17:42
ahayzeni've seen startup times of ~2.5-3s from ~6s :D17:43
popeyblimey17:43
* popey needs more music17:44
ahayzenpopey, heh my device is full of music ... i've only got 3% space left lol17:44
popeyerk17:45
popeyinstalled17:45
ahayzenpopey, oh yeah battery life is awesome i managed to play music on the whole of the flgiht back and the bus so like 8hrs and it only used ~50% battery :)17:45
popeyblimey17:48
davmor2popey: I already posted you a link to musics but you turned your nose up to it :P17:51
mihirahayzen: that's sounds amazing :D17:52
mihirahayzen: also your flight was delayed little :P17:52
ahayzenmihir, yeah ... again lol ... how was your trip back?17:52
dpmahayzen, no worries, I enjoy testing it. I loved the "old" music app. The remix looks even more awesome17:53
mihirahayzen: don't ask tiring :P lol it took me 21 hours to reach home :P17:53
ahayzendpm, thanks :)17:53
dpmelopio, what unused import?17:53
ahayzenmihir, haha which way did you go? east->west or west->east i forget?17:54
elopiodpm: import glob17:54
* dpm hates pyflakes17:54
dpmreally...17:55
mihirahayzen: i  passed through north Atlantic ocean17:56
dpmok, next try17:56
dpmpushed17:56
* mihir screencast the video for desktop failure.18:01
mihirpopey: you still around?18:18
mihirpopey: if yes then short screencast , https://www.youtube.com/watch?v=zqmr4PH5Kyc&feature=youtu.be18:18
mihirpopey: https://www.youtube.com/watch?v=zqmr4PH5Kyc&feature=youtu.be i got dc if you missed the link.18:20
popeymihir: thats interesting!18:21
popeydidnt realise it would work after you enable the calendar while the calendar is running18:21
popeyadd that to the bug! ☻18:21
mihirpopey: hmm yup , :D but i am not sure on which side the bug is :-s18:21
popeyme either18:21
* popey makes food18:22
popeybrb18:22
mihirpopey: no issues , commented on bug, i'll update that if i came across any solution.18:28
dpm_elopio, ok, we're making progress, but it seems Jenkins still cannot find the executable: http://91.189.93.70:8080/job/generic-mediumtests-utopic-python3/1350/testReport/junit/ubuntu_docviewer_app.tests.test_docviewer/TestMainWindow/test_read_image_file_mimeType_with_mouse_/18:31
elopiodpm_: it's trying to launch it from the build dir, even if there's none.18:37
elopiothere18:37
elopio's a method get_build_dir that I didn't fully understood.18:37
elopioand every tests calls if build_dir exists, then launch locally18:37
elopioelse, launch installed.18:37
elopioa slightly better check would be:18:40
elopioif local binary exists, then launch local.18:40
elopioelse, launch installed.18:40
=== Daryl is now known as Guest65857
dpm_elopio, sorry, I hadn't seen your ping. I still don't quite get it: it uses exactly the same workflow as file manager, for which Jenkins can find the executable. Where is the call that each test does to "if build dir exists"?18:55
kurt___akiva-thinkpad, I finally got my Internet back up and working! I'm still trying to get that audio recorder working so i'm gonna delete the code off the launchpad and re-do what I have in the new 14.10  SDK framework18:57
kurt___not sure if you remeber helping me with that before but i messed up the setup somehow and could not get it work starting new may help me fix it.18:59
dpm_elopio, oh, I see it, it's in every test. Hm, a bit of code duplication too18:59
elopiodpm_: yes, not nice.19:13
elopioluckily we have only a few tests. We can make some clean ups before they start to add more.19:13
dpm_elopio, indeed, I think those need cleanup. For now I just fixed the bare minimum for the tests to run and we can take care of the cleanups on a separate branch. I pushed now19:15
* dpm_ crosses fingers19:15
* dpm_ prays to the CI gods19:15
elopiodpm_: yes. As soon as you have that branch landed, please ping me to copy some things from the other projects.19:16
dpm_thanks elopio!19:16
=== salem_ is now known as _salem
josharensonIs there a reason that "Run cmake" isn't listed under the build menu in my SDK? I can't build anything (from the SDK). I have the qtcreator-plugin-cmake installed21:25
josharensonand when I build for dekstop (instead of arm) the sdk just crashes21:31
josharenson... back to vim21:31
=== Daryl is now known as Guest61473

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