/srv/irclogs.ubuntu.com/2014/04/07/#ubuntu-app-devel.txt

=== chriadam|away is now known as chriadam
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== fginther` is now known as fginther
AskUbuntuHow to set up an environment to develop Android apps in Ubuntu that doesn't have internet Connectivity? | http://askubuntu.com/q/44434105:57
DanChapmangood morning06:58
dholbachgood morning07:12
=== chriadam is now known as chriadam|away
JamesTaitGood morning all; happy Monday, and happy No Housework Day! :-D08:47
justCarakashaha JamesTait, my girlfriend would love that, but she already has no school today08:53
nik90Need reviewers for https://code.launchpad.net/~nik90/ubuntu-clock-app/fix-qtcreator-device-test/+merge/206690, https://code.launchpad.net/~nik90/ubuntu-clock-app/fix-window-title/+merge/214399 and https://code.launchpad.net/~nik90/ubuntu-clock-app/added-placeholder/+merge/21440109:16
nik90All simple MPs09:16
nerochiaroom26er: hi, i'm trying to figure out why on the CI machine "otto" a test that passes on my desktop is failing. is there any specific things that otto does that i should keep in mind when writing tests ?09:38
om26ernerochiaro, no, there should be nothing different, we can ask fginther when he comes online later in the day.09:42
nerochiaroom26er: ok09:42
=== zequence_ is now known as zequence
mihirnik90, reviewed your simple MRs.09:55
nerochiaroom26er: do you know who's in charge of the ubuntuuitoolkit autopilot emulators ?09:56
t1mpnerochiaro: elopio09:57
nik90mihir: thnx a lot.09:59
mihirnik90, in MR window tittle commented , it looks like just blank space something like that.10:00
nik90mihir: I just replied to it. I removed a space at the end of the line10:00
nik90mihir: since it was unnecessary10:00
mihirnik90, got it , approved :)10:01
nerochiarot1mp: ok thanks10:01
nik90mihir: :)10:02
nerochiaroelopio: i'm trying to figure out why this test fails when trying to use the uitk emulator to hide a toolbar: https://jenkins.qa.ubuntu.com/job/generic-click-autopilot-runner-mako/49/testReport/junit/gallery_app.tests.test_album_editor/TestAlbumEditor/test_add_photo/ do you have any ideas ?10:02
nerochiaroelopio: sorry, to open a toolbar10:02
nerochiarofginther: hi, when you have a minute i need a bit of help figuring out why an autopilot test passes on the desktop on my machine but fails in CI on otto10:30
dholbachDanChapman, looks like trojita-ubu segfaults on startup now10:40
dholbachdaniel@daydream:~$ trojita-ubu10:40
dholbachFile: qml/trojita/main.qml does not exist at any of the standard paths!10:40
DanChapmandholbach oops :-/ i'll fix that now10:42
dholbachDanChapman, do you need a bug report for it?10:44
DanChapmandholbach, that would be handy :-)10:45
dholbachDanChapman, all yours: https://bugs.kde.org/show_bug.cgi?id=33315310:47
ubot2KDE bug 333153 in Ubuntu "qml/trojita/main.qml does not exist at any of the standard paths" [Grave,Unconfirmed]10:47
DanChapmandholbach: great thanks for that10:47
dholbachJamesTait, hey hey - how's life over there?10:50
dholbachJamesTait, do you think 1297196 is going to be a problem to get fixed?10:51
JamesTaitdholbach, absolutely!  In fact, it might even be fixed today.10:52
JamesTaitdholbach, we switched to a different back-end last week that would allow the package to be indexed, but we discovered a problem late on Friday that meant we had to switch back for the weekend.  I've seen the request go out this morning to roll out the fix to that.10:54
dholbachJamesTait, that'd be wonderful!10:54
noodles775JamesTait: That's just the fix so we can switch the back. I mentioned to dholbach that even with that there still won't be translations... let us know if that's not the case.10:55
popeyzsombi: what's the status of https://code.launchpad.net/~zsombi/ubuntu-ui-toolkit/alarm-date-fix/+merge/210181 and https://code.launchpad.net/~zsombi/ubuntu-ui-toolkit/alarm-fetch-fix/+merge/208749 please?10:56
=== MacSlow is now known as MacSlow|lunch
JamesTaitnoodles775, dholbach - right.  So the package will be indexed and the translations will be there, but we currently have no way of presenting them (bug #1302622).10:57
ubot2Launchpad bug 1302622 in Click Package Index "Queries and responses should be automatically localised" [Medium,Triaged] https://launchpad.net/bugs/130262210:57
nerochiaroelopio: fginther: ping11:04
popeymzanetti: who is working on "our" fix for https://bugreports.qt-project.org/browse/QTBUG-37983 ?11:06
mzanettipopey: hmm... I'm afraid noone currently11:06
ogra_mzanetti, err, are people involved with the discussion about it aware that we will not release any image until this is worked around (or fixed)11:08
ogra_(and we are blocking images since two weeks for it now)11:09
mzanettibecause of this?11:09
ogra_yes11:09
mzanettino, that's news to me11:09
mzanettibut isn't this issue already released?11:09
ogra_oh, sorry, i mixed up the bug number11:10
ogra_i thought it was the blocking events on screen suspend one11:10
ogra_ignore me :P11:10
mzanettiogra_: hmm. just realized we don't have Qt 5.2 in the promoted image yet11:11
ogra_right11:11
mzanettiogra_: in which I would probably vote for blocking on this too. as it will "break" every app using a sorted list11:11
ogra_because of the event blocking11:11
popeymzanetti: do we have a bug on our radar i.e. launchpad?11:13
mzanettipopey: don't know. I think dpm reported something, but not sure about it11:13
mzanettidpm: did you in the end?11:13
dpmmzanetti, I didn't, sorry, but it's still on my TODO, will report and send e-mail in a bit11:14
dpmpopey, mzanetti, reported it as bug 1303746 - feel free to edit the description as necessary11:24
ubot2Launchpad bug 1303746 in qtdeclarative-opensource-src (Ubuntu) "Performance hit when editing sorted lists" [Undecided,New] https://launchpad.net/bugs/130374611:24
dpmbbl, lunch time11:24
popeythanks dpm11:25
popeybzoltan: could someone please look at bug 1303746 ?11:27
ubot2Launchpad bug 1303746 in Ubuntu Reminders app "Performance hit when editing sorted lists" [Critical,Triaged] https://launchpad.net/bugs/130374611:27
bzoltanpopey:  OK11:27
popeythanks11:28
dholbachJamesTait, for now getting them published and showing them somehow would be a good start (the ubuntu app showdown is closing in 2 days and we have a "chinese app" prize category :-))12:17
dholbachJamesTait, so "probably fixed today" sounds pretty great to me :-)12:18
justCarakasdholbach: what is the latest moment you can try to publish a new version for the showdown (and getting it aproved)12:21
JamesTaitdholbach, well, the published part should be fixed today.  Sounds like getting the localisations returned in results just took a massive priority bump!12:21
dholbachjustCarakas, Wednesday, April 9th 2014 (23:59 UTC) - http://developer.ubuntu.com/showdown/12:21
dholbachJamesTait, thanks a lot for working on this!12:22
justCarakasdholbach: and if you uploaded a new version at lets say 23:50 and it isn't reviewed 9 minutes later, is that update than in or not for the showdown ?12:23
dholbachjustCarakas, I'd recommend to get everything in and an earlier version published earlier than that already12:28
dholbachjustCarakas, I'm sure that changed which come in at 23:50 are still considered12:28
justCarakasdholbach: ive already published it but Im still working on it :) and I saw that you did the reviewing every time so I thought I'll ask him, thanks :)12:31
=== jhodapp is now known as jhodapp|brb
=== _salem is now known as salem_
=== jhodapp|brb is now known as jhodapp
dpmelopio, can you join us in the core apps review call today in ~45 to talk about reminders tests?13:16
fginthernerochiaro, pong13:21
nerochiarofginther: hi, i'm tryingt to figure out why a test passes on my desktop and fails on CI on otto. i was told you might be able to help me13:21
fginthernerochiaro, I might be able to help a little. What's up?13:22
nerochiarofginther: this MR has one test failing https://code.launchpad.net/~amanzi-team/gallery-app/gallery-app-pinch-unzoom/+merge/213885 on otto13:24
nerochiarofginther: but it works just fine on my desktop when I try it13:24
fginthernerochiaro, I don't have much advice here. I usually recommend to run the tests in a VM (for example VirtualBox) to help expose timing or dependency issues.13:33
fginthernerochiaro, also, are you aware that the mako test is also failing?13:33
nerochiarofginther: that seems like a problem with the uitk emulators, i was trying to ping elopio about it but haven't got an answer yet13:33
fginthernerochiaro, also, what about these errors?13:35
fgintherfile:///usr/share/gallery-app/rc/qml/MainScreen.qml:73: TypeError: Cannot call method 'leaveSelectionMode' of null13:35
fgintherError loading image metadata: /tmp/gallery-ap_sd/__init__.py: The file contains data of an unknown image type13:35
nerochiarofginther: the last one should be harmless, though it's a mistake to copy that file into the media dir13:36
fginthernerochiaro, the test-log looks like the app may have exited pre-maturely13:36
fginthernerochiaro, but I'm a little behind on how autopilot works these days13:37
nerochiarofginther: the first error also should be harmless, it always happens and the app works fine. but i have it on my list to investigate these warnings and try to remove them13:37
t1mp15:35:41 < fginther> file:///usr/share/gallery-app/rc/qml/MainScreen.qml:73: TypeError: Cannot call method 'leaveSelectionMode' of null13:39
t1mpnerochiaro: ^I'm not sure that is a uitk error13:39
t1mpit seems like the tab index is changed before the eventview was initialized13:40
nerochiarot1mp: i never said it was13:40
t1mpah you said uitk emulators13:40
t1mpbut maybe for another warning/bug13:40
nerochiarot1mp: the error in emulators I'm talking about is this one, at the bottom: https://jenkins.qa.ubuntu.com/job/generic-click-autopilot-runner-mako/49/testReport/junit/gallery_app.tests.test_album_editor/TestAlbumEditor/test_add_photo/13:48
t1mpnerochiaro: ok.13:56
t1mpnerochiaro: might be related to this fix https://code.launchpad.net/~elopio/ubuntu-ui-toolkit/fix1302706-click_toolbar_button_failure_window/+merge/21430913:56
nerochiarot1mp: that merge request was approved even if the tests seems to fail, btw13:59
t1mpnerochiaro: yes, a weird failure [Errno 2] No such file or directory: '/var/lib/jenkins/slaves/upstream-merger/mako-04ccca120acd4dea/workspace/generic-deb-autopilot-runner-mako/clientlogs/ubuntuuitoolkit/test_results.xml'14:01
nerochiarot1mp: so was that already committed when my test failed ?14:02
nerochiarot1mp: or shall i ask for a re-run ?14:02
t1mpnerochiaro: no it is not in our trunk yet, still needs to land but it fixes a similar issue, maybe even this one14:02
t1mpnerochiaro: but elopio knows more details14:02
t1mpelopio: can you do an empty commit on https://code.launchpad.net/~elopio/ubuntu-ui-toolkit/fix1302706-click_toolbar_button_failure_window/+merge/214309 to get a new jenkins run? I think it failed on something unrelated14:03
elopiot1mp: nerochiaro, sorry, I was in a meeting.14:27
elopiot1mp: I've just triggered a rebuild there.14:29
elopionerochiaro: for you not to have to wait for a new release of the toolkit, I did: https://code.launchpad.net/~elopio/gallery-app/workaround1302706-fix1302706-click_toolbar_button_failure/+merge/21431014:31
nerochiaroelopio: thanks, i'll add this and see what happens14:33
elopionerochiaro: ok, let me know if there are still problems.14:42
nerochiaroelopio: will do14:43
=== shuduo is now known as shuduo_afk
nikwenIs there any way to take screenshots of a Ubuntu Touch device?15:09
ogra_yes15:10
ogra_phablet-screenshot ...15:10
ogra_it is part for the pahblet-tools package ... install it on your desktop15:11
nikwenWow, worked. :)15:11
nikwenThank you very much (again ^^). Didn't expect it to be in that package...15:12
=== gatox is now known as gatox_lunch
* dholbach hugs noodles775 and JamesTait15:31
dholbachgreat work!15:31
* noodles775 goes for a real hug since he's in the same room, dholbach :)15:33
dholbach:-D15:33
=== chihchun is now known as chihchun_afk
nik90iBelieve: ping15:48
iBelievenik90, pong15:48
=== alex_abreu is now known as alex-abrey
=== alex-abrey is now known as alex-abreu
=== bfiller is now known as bfiller_afk
=== gatox_lunch is now known as gatox
=== chihchun_afk is now known as chihchun
nerochiarofginther: one quick question. if i build and install my package with click-buddy --provision, how do i run the installed package or its tests, on the phone ?16:47
sergiusensnerochiaro: upstart-app-launch the app; or phablet-test-run py_test_module_name16:51
nerochiarosergiusens: ok,but just out of curiosity: launching the app from the icon in the launcher shouldn't run the installed click package ?16:51
nerochiarosergiusens: and logging in and running autopilot run app_name shouldn't run the same tests as phablet-test-run ?16:52
sergiusensnerochiaro: yes; but do we still have the bug where the scopes need to refresh?16:52
sergiusensnerochiaro: no, logging in would run a different set of tests due to the py2->py3 migration16:52
nerochiarosergiusens: ok, that's good to know. i have been runnning the wrong stuff for a while then16:53
nerochiarosergiusens: if i launch the app from the launcher after rebooting it's still not launching the right version of the app. what is it that i'm missing ?16:56
nerochiarosergiusens: upstart-app-lauch does the same, it's not launching the version of the app that i built with click-buddy17:00
sergiusensnerochiaro: do you have the outut from running click buddy?17:00
nerochiarosergiusens: http://pastebin.ubuntu.com/7217895/ (top with actual invocation truncated)17:01
nerochiarosergiusens: but it was --provision --no-clean (which btw still causes a full rebuild, so i'm not sure what's useful for)17:02
sergiusensnerochiaro: no-clean is just for analyzing what was built17:07
nerochiarosergiusens: ok, no way to not rebuild from scratch everytime, i imagine. not important anyway17:08
nerochiarosergiusens: the problem is how do i install and run that click package17:08
sergiusensnerochiaro: seems to have installed, can you run click list | grep gallery as root and phablet?17:09
nerochiarosergiusens: com.ubuntu.gallery2.9.1.94917:10
sergiusensnerochiaro: that's as root or phablet?17:10
nerochiarosergiusens: phablet. root gives: com.ubuntu.gallery2.9.1.94117:11
sergiusensnerochiaro: as phablet upstart-app-launch com.ubuntu.gallery_gallery_2.9.1.949 should work17:11
nerochiarosergiusens: there's a white screen coming in 1/4 of the way from the right, but no app is launched, and the white rectangle is stuck there17:14
sergiusensnerochiaro: can you check the upstart log?17:15
nerochiarosergiusens: not sure where to find it17:16
sergiusens.cache/upstart/application-click.*17:16
nerochiarosergiusens: ** (process:2319): WARNING **: Unable to exec './gallery-app should' in '/opt/click.ubuntu.com/.click/users/phablet/com.ubuntu.gallery': Permission denied17:19
sergiusensnerochiaro: what is the 'should' in there?17:19
nerochiarosergiusens: sorry, that was from an earlier attempt at running it with a wrong cut and paste from your message17:20
nerochiarosergiusens: later i ran it ok17:20
nerochiarosergiusens: i mean, with the right command17:21
nerochiarosergiusens: but i see no trace of that in the log17:21
sergiusensI can't really dig too much into why it's failing; on a crunch line here; maybe ted can assist on #ubuntu-touch17:22
nerochiarosergiusens: i actually gotta go too. i'll try again tomorrow17:22
nerochiarosergiusens: thanks17:23
PaoloRotoloHi all!17:33
PaoloRotoloHi nik90 :)17:33
=== bfiller_afk is now known as bfiller
nik90PaoloRotolo: hey18:29
iBelievernik90, ping19:01
iBelieverpopey, ping19:01
nik90iBeliever: pong19:01
iBelieverhey nik90, do you have a Nexus 4 with Ubuntu on it? I was wondering if you could get a screenshot of the About page19:02
nik90iBeliever: sure19:03
iBelievernik90, because of this issue: https://github.com/iBeliever/project-dashboard/issues/9219:03
iBelievernik90, I've been using the Nexus 4 screensize and haven't seen the problem mentioned there19:03
iBelieverpopey, nevermind the ping. nik90 is able to help with what I needed19:03
popeyok!19:04
qtrosHi all!19:29
qtrosDid anyone use TwimGo v0.3 from Ubuntu App Store? :)19:30
nik90qtros: I just installed it. But I am stuck at http://imgur.com/vVAU05619:40
nik90qtros: btw, the loading indicator can barely be seen with the orange background19:40
qtrosnik90 I'll fix this design later...19:41
qtrosnik90 can you provide console output? :)19:41
qtrosnik90 please)19:41
nik90qtros: where can I find the code? I do not know how to run the app on the phone. So I want to try it on the desktop19:43
nik90qtros: as in run the app on the phone through the console19:43
qtrosnik90 here you are: lp:~mrqtros/twimgo/twimgo-28-prepare-0.319:43
qtrosnik90 version from the store19:43
nik90qtros: http://paste.ubuntu.com/7218537/19:45
qtrosnik90 desktop?19:46
nik90qtros: yes19:46
qtrosnik90 seems that something wrong with system time settings ...19:46
qtrosnik90 I can't reproduce that on my system19:47
qtrosnik90 I even tried to change locale and location (to London)19:47
nik90qtros: I remember getting the same error before as well when trying your app. I think popey got it as well.19:47
nik90qtros: the issue will definitely there19:48
qtrosnik90 can u run on device from SDK?19:51
nik90qtros: sure..give me a min19:51
qtrosnik90 I understood19:53
qtrosnik90 the problem :)19:53
qtrosnik90 with the Red Screen19:54
nik90qtros: runningn on device from SDK works19:54
qtrosnik90 can you please try my click? :)19:54
nik90qtros: sure..you know how to install click on device? I remember some part of the instructions19:55
qtrosnik90 here you are: http://yadi.sk/d/8EqyqewKLzKED19:57
ahayzenelopio, i've just reflashed to the latest to retest another branch20:06
ahayzenelopio, i'll try again in a minute20:07
elopiothanks ahayzen20:07
rpadovanio/ There is a way to change the color of the tab header titles? I tried with Theme.loadTheme20:07
ahayzenelopio, it was strange how it only occurred when doing the tests together and not singularly?!20:07
rpadovanibut I have an error:20:07
rpadovaniTypeError: Property 'loadTheme' of object UCTheme(0x7f7fda7fb980) is not a function20:07
elopioahayzen: it's strange you can ever get to that error. I've put the exception there with a comment that says: This should never happen :D20:08
ahayzenelopio, lol20:08
elopiowithout the exception, we would be in a never-ending loop switching tabs, so that means that either autopilot is not reading the properties correctly20:09
elopioor it's qml not updating them.20:09
elopiothis is the kind of bug that when you are about to understand, it vanishes.20:09
ahayzenelopio, right i'm gonna try and retest now :)20:11
ahayzenelopio, this is what i got http://pastebin.ubuntu.com/7218736/20:25
ahayzenelopio, i just want to check that the patch was applied correctly and fixed the music-app bug..20:26
elopioahayzen: ubuntuuitoolkit.emulators.ToolkitEmulatorException: The tab with index 3 was not selected.20:26
elopiothis is the exception I'm trying to track.20:26
ahayzenheh20:26
elopiocrap, I'll reflash and try again.20:26
ahayzenelopio, yeah it was applied correctly so those are real errors :/20:28
iBelieverHey, are there any developers here who work on the Apps scope or who know how it works? I'm having issues with my app not saving data upon exit, and it seems to be that onDestruction() isn't being called when the app is closed using the scope20:51
rpadovaniiBeliever, yes, I can confirm this, we had same issue with calculator, I search our old mails so I can give you all informations about it20:52
iBelieverrpadovani, thanks. If you have a bug number, that would be great as well, so I can back up the problem in my App Submission form20:54
nik90rpadovani: since when has this issue been present?20:58
rpadovaninik90, July?20:58
nik90rpadovani: july of last year!20:58
nik90rpadovani: that's bad20:58
rpadovanimaybe I'm confusing, but I remember a patch because calculator app saved calc on destruction, and no calcs were saved, so we now save on tear off20:59
rpadovanibug 118829220:59
ubot2Launchpad bug 1188292 in qtubuntu "Saved calculations are lost when the app is closed" [Undecided,New] https://launchpad.net/bugs/118829220:59
rpadovaniiBeliever, nik90 see comments21:00
rpadovanisince June, tsk21:01
nik90pretty sure the App Lifecycle has come a long way since then. We should check with the platform devs tomorrow21:02
iBelievernik90, rpadovani I think there used to be an issue with onDestruction() not being called at all21:03
iBelievernik90, rpadovani now it's working when closing from the HUD but not the apps scope21:04
iBelieverHere's the bug report related to this: https://github.com/iBeliever/project-dashboard/issues/9321:04
nik90iBeliever: ok. I will take that into account while judging the app. But ofc make sure this is in the app submission form.21:06
iBelievernik90, I've reported the bug as LP #1304034. I'll add it to the list of bugs affecting my project in the README, and have dpm or someone else add it to the form21:08
ubot2Launchpad bug 1304034 in unity-scope-click (Ubuntu) "onDestruction() not called when closing an app from the Apps scope" [Undecided,New] https://launchpad.net/bugs/130403421:08
iBeliever(since I've already submitted the form)21:08
nik90ok21:08
rpadovaniiBeliever, good luck for your app, seems very interesting :-)21:08
iBelieverrpadovani, thanks :)21:09
rpadovaninik90, iBeliever There is a way to change the color of the tab header titles? I tried with Theme.loadTheme21:11
rpadovanibut I have an error: TypeError: Property 'loadTheme' of object UCTheme(0x7f7fda7fb980) is not a function21:12
nik90rpadovani: question or statement?21:12
rpadovaninadrimajstor, question, there is a way?21:12
rpadovani*is there a way?21:13
nik90rpadovani: I remember there was an app in the previous showdown, where the tab titles used different colors.21:13
nik90rpadovani: I had a look at the source code. The author used html tags to change the color manually21:13
nik90rpadovani: so tab title: "<b>Text</b>" and so on...21:13
rpadovaninik90, mhh, it's an idea, but I don't like hard-coded style...21:14
rpadovanibut thanks :-)21:14
nik90rpadovani: agreed21:14
nik90rpadovani: may be ask Tim tomorrow?21:14
nik90rpadovani: the SDK theming is rather tricky atm since they haven't finalised stuff yet21:15
rpadovaninik90, Tim who?21:15
iBelieverrpadovani, yes, there's a way - it's called a hack :) I can show you if you want21:15
nik90rpadovani: timp21:15
iBelieveroh, you mean the text color?21:15
rpadovaniiBeliever, yap, text color21:15
rpadovaninik90, got it, thanks21:15
rpadovanitomorrow I have to study (I have an exam on Friday) but asap I ping him21:15
nik90rpadovani: hehe...me too :)21:16
iBelieverrpadovani, if this is for the shwdown, I'd try to using <font color="whatever">Title</font>. I know that works since I tried it21:16
iBelieverrpadovani, by showdown I mean since you're probably in a hurry and don't want to wait21:17
rpadovaniiBeliever, thanks, but it's for reminders app, I'm working on a personal app but maybe is ready for next showdown :P21:17
iBelieverrpadovani, ah, ok21:18
AskUbuntuMicrosoft VM installing Openemr on Ubuntu | http://askubuntu.com/q/44469821:55
=== fginther is now known as fginther|away
=== salem_ is now known as _salem
=== _salem is now known as salem_
=== salem_ is now known as _salem

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