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

=== fginther|away is now known as fginther
=== chriadam|away is now known as chriadam
=== sarnold_ is now known as sarnold
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
mihirGood Morning :)05:40
AskUbuntuHighLight Text line using python script in Gedit and LibreOffice without sing Plugins | http://askubuntu.com/q/44483006:45
dholbachgood morning06:46
nerochiarofginther: oSoMoN: om26er: does anyone know why when launching a click app with upstart-app-launch on the device i get this error in the log and the app doesn't start ? ** (process:2505): WARNING **: Unable to exec './gallery-app' in '/opt/click.ubuntu.com/.click/users/phablet/com.ubuntu.gallery': Permission denied09:08
oSoMoNnerochiaro, how do you launch it, exactly, and as which user?09:10
JamesTaitGood morning all; happy Be Kind To Lawyers Day! :-D09:17
nerochiarooSoMoN: I launch "upstart-app-launch com.ubuntu.gallery_gallery_2.9.1.949" as phablet09:18
popeynerochiaro: did you "sudo -u phablet -i" to become phablet?09:32
=== chriadam is now known as chriadam|away
=== MacSlow is now known as MacSlow|lunch
AskUbuntuInstallation failed for API | http://askubuntu.com/q/44492911:23
nerochiarooSoMoN: do you have a minute ? I really need some help with the whole click-buddy and phablet-test-run stack, i can't really get it to work, and i want to do things properly instead of just running tests directly by a shell in the device11:47
oSoMoNnerochiaro, I’m not a click expert by any means, there are people more experienced around here that surely can help you11:48
oSoMoNnerochiaro, if you explain here what the problem is, that will help11:49
nerochiarooSoMoN: i just want to know what is the process you follow to build and test a branch11:49
oSoMoNnerochiaro, given that I work on an app that’s not a click package, my process won’t help…11:50
popeynerochiaro: i can help perhaps...11:50
nerochiaropopey: oSoMoN: i am doing click-buddy --provision and then phablet-test-run app_name but it's not really working, the tests seem to be installed in the wrong place and when run they all fail11:50
popeyright, you haven't done the prep steps11:50
popeyI would 1) install the click, 2) phablet-config autopilot --dbus-probe enable, 3) phablet-click-test-setup --click $click_package  (e.g. phablet-click-test-setup --click com.ubuntu.music), 4) adb reboot, 5) phablet-test-run -v $test (e.g. phablet-test-run -v music_app)11:51
popeyworks for me11:51
popeylemme know if it doesn't for you11:51
popeyafter the test, clean up by "adb shell rm -rf /home/phablet/autopilot"11:51
nerochiaropopey: install the click seems to be done by click-buddy --provision, no ?11:52
popeymaybe, I don't do that, but that should work11:52
nerochiaropopey: i'm testing it, thanks. is this documented anywehre ?11:55
nerochiaropopey: it's failing, and i'm getting this: http://pastebin.ubuntu.com/7221277/ it looks like it's trying to run the old tests on the new click12:02
nerochiaropopey: coming from the old style non-click world this stuff is really baffling me12:03
popeynerochiaro: https://wiki.ubuntu.com/Touch/Testing12:03
nerochiaropopey: any info on how to build and deploy click apps ? that's probably the part that's not working for me12:12
popeyi let jenkins build it usually12:12
nerochiaropopey: i was doing the same, but it's slow as hell12:12
popeywell.. arm..12:13
nerochiaropopey: ok, but assuming i have the click already built, how do you properly install it and run it ?12:13
sergiusensnerochiaro: hey, I think the click-buddy --provision thing is currently broke if you aren't python312:13
popeyadb push foo.click /tmp12:13
popeyadb shell sudo -u phablet pkcon install-local /tmp/foo.click12:13
sergiusensalso, keep in mind everything will fail if you have the deb version installed12:14
nerochiaropopey: sergiusens: will this install the autopilot tests too ?12:14
popeyno, thats step 3) above12:14
popeyphablet-click-test-setup sets up the ap tests in /home/phablet/autopilot12:14
nerochiaropopey: and phablet-test-run will run them from there ?12:15
popeyyes12:15
nerochiaropopey: ok, so i guess i need to figure out why it does not find some modules12:16
popeythat I don't know.12:16
popeyunless as sergiusens says, you have the deb installed too?12:16
sergiusensnerochiaro: I made a custom build job for gallery on jenkins; did bill tell you about it?12:17
nerochiarosergiusens: no12:17
sergiusenswith that you can phablet-click-test-setup and run easily12:17
sergiusensnerochiaro: http://s-jenkins.ubuntu-ci:8080/view/click/job/gallery-app-click-from-branch/12:17
nerochiarosergiusens: is the click built from there any different from the click i would get if i ran click-buddy on the same branch locally ?12:18
sergiusensnerochiaro: only difference is the reference to get the tests so it's provisioned correctly12:19
sergiusensbuild should be the same12:19
sergiusensnerochiaro: how are you running click-buddy to build gallery?12:19
nerochiarosergiusens: i don't understand what you mean with "the reference to get the tests"12:19
nerochiarosergiusens: just click-buddy or click-buddy --provision12:19
sergiusensnerochiaro: on x86?12:20
nerochiarosergiusens: yes12:20
sergiusensnerochiaro: that is your problem :-)12:20
nerochiarosergiusens: thought it would cross compile since it generates com.ubuntu.gallery_2.9.1.949_armhf.click12:20
sergiusensnerochiaro: click-buddy --arch armhf --framework 'forgot the name' --provision12:21
nerochiarosergiusens: and by cross compile i mean use a chroot automagically12:21
sergiusensnerochiaro: the _armhf.click is purely configurational; not like building a deb12:21
nerochiarosergiusens: any pointers to docs that explain what to pass to click chroot to get the right chroot ?12:23
sergiusensnerochiaro: not sure that exists, cjwatson or xnox would know; but they aren't on this channel12:23
=== _salem is now known as salem_
dpmhi zbenjamin, I'm trying to run lp:reminders-app with Qt Creator. It builds fine, but after hitting Ctrl+R, the app won't launch and QtC tells me "Could not open desktop file for reading", although I can see the .desktop file in the build directory12:27
dpmrunning the app from QtC used to work, but I can't figure out why it no longer does. Any ideas?12:27
zbenjamindpm: is the path in the manifest file pointing to the desktop file ?12:41
zbenjamindpm: are you trying to run for the desktop target? or on the phone?12:42
dpmzbenjamin, I'm using the desktop target, let me have a look at the manifest...12:43
iBelievedpm, ping12:46
zbenjamindpm: hm maybe there is a problem in how i create the local runconfig12:47
dpmzbenjamin, it seems cmake is ignoring the click/manifest.json.in file and it instead creates its own manifest.json file on build12:47
dpmhey iBelieve12:47
iBelievehi dpm, I saw on Google+ that you were the one who helped someone edit their App Showdown entry. I need mine updated to list another bug that's affecting my app12:48
zbenjamindpm: no the manifest.json file in the project directory is from qtc, the problem is the core apps use that .in manifest file but our plugin has no support for that. Anyway the desktop file in the builddir should be the one to use i think12:48
zbenjamindpm: ok forget the manifest, i'm looking for a desktop file that is named like the project12:50
zbenjamindpm: on the local build i can not count on having a manifest12:50
dpmzbenjamin, ok. On the CMakeLists.txt file we've got "project(com.ubuntu.reminders C CXX)", and the desktop file in the build directory is called "com.ubuntu.reminders_reminders.desktop" Is the _reminders suffix getting QtC confused?12:52
zbenjaminyes it should be named com.ubuntu.reminders.desktop then12:52
dpmiBelieve, sure. Would you mind resubmitting your entry? You should then get a link that will allow you to edit it any time. Once you've done that, please ping me and I'll remove your original submission straight away12:53
zbenjamindpm: i maybe could search for all desktop files and just use the first one i can find. But i don'T know if that is a better idea12:53
dpmzbenjamin, let me check where that suffix comes from first12:53
t1mpI just compiled gallery-app on my desktop. How do I execute the autopilot tests now?12:54
dpmsergiusens, do you happen to know why on .desktop files the name of the app needs to be appended to the file name? I.e. "com.ubuntu.reminders_reminders.desktop" vs. "com.ubuntu.reminders.desktop"12:54
sergiusensdpm: it's a future proof thing I did13:01
sergiusensdpm: the package can hold multiple apps; so naming the desktop file after the package name seemed wrong13:01
sergiusensdpm: so it was either to name it after the appname or packagename+appname13:02
sergiusenseither is fine; but the appname shouldn't be the packagename13:02
iBelievedpm, ok, will do. Thanks13:04
sergiusenszbenjamin: the desktop file name is specified in the manifest if that helps at all13:07
zbenjaminsergiusens: hm i did not use the manifest file for the desktop target because i wasn't sure if it will be there so i was searching for the desktop directly13:08
sergiusenszbenjamin: fwiw; we can eventually just move back to manifest.json (and skip the .in)13:08
sergiusenszbenjamin: if it's not there the app wouldn't work when installed; that said; it's not mandatory13:09
zbenjaminsergiusens: the problem i have here is that cmake is not really IDE friendly, i pretty much have to guess all that stuff that why its failing sometimes13:10
zbenjaminsergiusens: we need some sort of project structure agreement all core apps and templates should follow13:11
sergiusenszbenjamin: can't speak of ide friendly, but we can for sure move manifest.json.in to manifest.json if it helps13:11
zbenjaminsergiusens: yeah the QtC plugin wants the manifest.json file in the root directory of the project13:12
sergiusenszbenjamin: bring in the reqs :-) All we need from the manifest.json really is to append build time rules; which could be done through cmake in a different way too13:12
sergiusenszbenjamin: same applies to apparmor rules?13:13
zbenjaminsergiusens: yes13:13
sergiusensok; we definitely need to create a set of requirements13:14
sergiusenszbenjamin: is sprint timeframe good? I guess we can tackle that there and work a lot faster13:14
dpmiBelieve, I'll be away for a few hours today, please e-mail me if I'm not responsive on IRC, and I'll take a look when I'm back13:15
zbenjaminsergiusens: the only problem i see with that is, people will start using the current templates if we change the requirements later they will run into problems. When is the trusty release?13:18
sergiusenszbenjamin: final freeze is in two days13:18
sergiusenszbenjamin: release is April 17th13:18
iBelievedpm, ok, thank you13:19
zbenjaminsergiusens: ok then we are too late anyway right13:19
zbenjaminsergiusens: can we maybe create some sort of ClickProject module we can require when building click projects? So it sets variables in the CMakeCache.txt file i can depend on?13:30
zbenjaminsergiusens: would maybe make the whole thing more stable13:31
zbenjaminsergiusens: and it should fail if some variables are not set13:31
sergiusenszbenjamin: that could work; want to start a pad or google doc for this to add ideas?13:32
zbenjamini can start a google doc13:33
zbenjaminsergiusens: https://docs.google.com/a/canonical.com/document/d/1yAEYHcjV8Su0z5it3M7QPe4c1KuWkZBHBBDMSxuudmc/edit?usp=sharing13:34
* sergiusens starred the doc13:34
zbenjaminsergiusens: feel free to add stuff13:35
sergiusenssure thing13:36
iBelievedpm, are you still around?13:39
dpmiBelieve, about to go, but feel free to ask, happy to help if I can13:42
iBelievedpm, so I went to the submission link and my existing form showed up, not a new one. Is that correct and  is my entry correctly updated?13:43
dpmiBelieve, ah, cool, then you already have the editable link, and you should be good to go. Let me check. Which field should I look for that has changed?13:44
iBelievedpm, in the bugs section there should now be two bugs13:44
iBelievedpm, and the link was the link from developer.ubuntu.com/showdown, not one I had previously saved13:45
iBelievedpm, do you need the name of my app?13:46
dpmiBelieve, I know all the names of awesome apps ;)13:46
dpmiBelieve, I see the fields updated in the response, you should be good to go13:47
iBelievedpm, cool, thanks for your help13:47
dpmnp, ok, I need to run, will be back later13:47
=== dpm is now known as dpm-afk
mzanettidpm-afk: let me know when you're back13:48
zbenjaminsergiusens: i was just wondering if we should require a manifest.json in the project root and if one exists we create for every desktop file in that manifest a own runconfiguration14:08
zbenjaminsergiusens: but that would mean all core apps need to do that as well14:08
AskUbuntuFinding Mouse click position in IconView in GTK | http://askubuntu.com/q/44500214:41
=== gatox is now known as gatox_lunch
popeyrenato: could you take a look at https://bugs.launchpad.net/ubuntu/+source/qtorganizer5-eds/+bug/1300210 - i filed against calendar but looks like it might be eds?15:51
ubot2Launchpad bug 1300210 in Ubuntu Calendar App "Google calendar events with video don't show link in event" [Undecided,Triaged]15:51
=== gatox_lunch is now known as gatox
rhuddieartmello_ hi, I have requested you to review a new emulator method and test for the gallery-app: https://code.launchpad.net/~rhuddie/gallery-app/photo_selector/+merge/20876117:02
artmello_rhuddie: ok, I will take a look soon17:02
rhuddieartmello_ it is quite small, so hopefully it shouldn't take you long :)17:02
rhuddieartmello_ thanks17:02
artmello_rhuddie: ok, thx =)17:03
=== jhodapp is now known as jhodapp|brb
labsinhi all, Anyone knows if I can do 'make DEBUG=true' in packaging in QtCreator (Or how do I do the same in the terminal). Cause it gives me "/usr/bin/protoc: Syntax error: word unexpected (expecting ")")" and I don't know why17:37
=== bfiller is now known as bfiller_afk
labsinAnd why is it building everything again when I do "Build in chroot"?17:47
=== WebbyIT is now known as rpadovani
labsinFound it. Needed to install the amd64 version of protobuf. Still anoying that it build everything every time.18:05
=== bfiller_afk is now known as bfiller
dpmmzanetti, I'm now back, if you're still online18:59
qtrosHello! Can I talk with someone from SDK team?19:13
dpmqtros, I think they are probably all finished work19:29
dpm*have19:29
qtrosdpm hello David!19:30
dpmhey, how are you doing?, long time no speak :)19:30
qtrosdpm yep :) I am ok, awaiting some changes in SDK to use them in Shorts :) Also participating in Showdown with "TwimGo" Twitter client19:31
dpmnice!19:31
qtrosdpm today I found that if I'll use id "window" in my app it will cause conflict with SDK's variable's name19:32
qtrosdpm app still works fine, but user will see error in output, like 'file:///usr/lib/i386-linux-gnu/qt5/qml/Ubuntu/Components/OrientationHelper.qml:125: Error: Cannot assign to non-existent property "contentOrientation"'19:33
dpmqtros, can you work around it? It might be worth trying to ping someone from the SDK team earlier in the day tomorrow, or if you can't join IRC at that time, perhaps mention it on the ubuntu-phone mailing list19:34
qtrosdpm I'll try to ping them tomorrow)19:35
dpmok, cool19:37
qtrosdpm it isn't serious bug (or even isn't bug), but was confusing even me)19:38
dpmqtros, ok. It might be worth filing a bug, to avoid others get confused too19:39
qtrosdpm no no, let me notify them personally, we will discuss possible solutions :)19:41
dpmok, sounds good19:41
zonovromandpn, can you help me with internationalization of my app? I want to let users to translate my app, but I don't know how to do it.19:45
dpmhi zonovroman19:50
dpmzonovroman, can you point me to the code of your app? Is it in Launchpad, or github, or somewhere else?19:51
zonovromanIt is on Launchpad, one minute, please...19:51
zonovromanhttps://launchpad.net/zbird19:52
dpmzonovroman, ok, so the first thing you need is something to extract translatable strings from the QML files, put them in a .pot file and commit that .pot file under the po folder19:54
zonovromandpm, manually?19:55
dpmno, with a script19:55
Kaleoqtros, yes "window" should be documented19:56
Kaleoqtros, that's a bug19:56
dpmzonovroman, before doing that, I'd recommend setting up the default project branch in Launchpad, so that people can download your project with "bzr branch lp:zbird"19:56
qtrosKaleo or it should be named like "__window"19:57
Kaleoqtros, no, it's a public API afaik19:58
dpmzonovroman, also, you can remove all the *.user files from bzr, they should not be kept under revision control19:58
qtrosKaleo oh, sorry, I didn't use it :)19:58
qtrosKaleo but it's not mistake, this behavior caused by QML's nature19:58
zonovromandpm, I'm noob in Launchpad and in those services in all, why I have so many errors.19:59
dpmzonovroman, no worries, I'm just mentioning it in case it can help you19:59
zonovromandpm, your advices are very helpful. Thank you.20:00
qtrosKaleo I will not fill bug or something like that since you was notified, ok? :)20:01
Kaleoqtros, ok:)20:03
dpmzonovroman, I hope this helps you get started with extracting translations: http://pastebin.ubuntu.com/7223334/20:08
zonovromandpm, I don't know why, but I can't push my changes in the main branch. Bazaar tells me: bzr: ERROR: Permission denied: "+branch/zbird/": : Cannot create linked branch at 'zbird'.20:08
dpmzonovroman, can you show me which command you are using to push?20:09
zonovromandpm, bzr push lp:zbird20:09
qtroskaleo dpm have a good night! :)20:10
Kaleoqtros, thanks, you too20:10
dpmqtros, you too!20:10
dpmzonovroman, can you try: "bzr push lp:~roman2861/zbird/trunk" ?20:12
zonovromandpm, it works.20:15
dpmzonovroman, ok cool, can you now go to http://launchpad.net/zbird and click on the "Configure code hosting" link on the right?20:18
zonovromandpm, i can't find it.  There is no "Configure code hosting" link, only bug tracker.20:20
dpmsorry, I meant "Configure project branch"20:20
zonovromandpm, funny - there is no "Configure project branch" link too.20:21
dpmzonovroman, it should be under "Configuration options" or alternatively you can go to the direct link: https://launchpad.net/zbird/trunk/+setbranch20:22
zonovromandpm, more funny - I have no access to it.20:22
dpm?20:23
dpmare you logged in?20:23
zonovromanYes...OMG. I understood.20:23
zonovromanSome months ago I did a "zTeam" team on Launchpad, and set zTeam as developers. But...I send all my projects to team with similar name, but not mine.20:24
zonovromandpm, and now I can't delete fake "zTeam" from my projects.20:28
zonovromandpm, "Permission launchpad.Edit required on <security proxied lp.registry.model.product.Product instance at 0x2b6ed7d20f90>."20:28
zonovromandpm, sorry, I have some problems with internet. Did you write me earlier?20:37
dpmzonovroman, I didn't, but I'm a bit puzzled by you not being able to access https://launchpad.net/zbird/trunk/+setbranch - regardless of the issues with the team, I think you should be able to access it20:40
zonovromandpm, I am trying to get access by change maintainer, but it is not possible.20:41
dpmzonovroman, can you ask on the #launchpad channel? Perhaps someone can help you in there20:42
zonovromandpm, will you stay here?20:43
dpmzonovroman, I usually I'm in this channel, yes. Although today I will be leaving soon. In any case, you can find me here tomorrow morning again20:44
=== salem_ is now known as _salem
zonovromandpm, where I can read IRC history?21:09
dpmeither your irc client might have local logs, or on http://irclogs.ubuntu.com/21:11
zonovromandpm, thank you. I'll do it tomorrow. Last question: if I won't change maintainter, my app will be kicked from contest?21:14
dpmzonovroman, not at all, why should your app be kicked from the contest?21:15
zonovromandpm, I don't know, but it is very important to ask)21:15
zonovromandpm, good night!21:16
dpmzonovroman, don't worry, your app will not be disqualified for that, and good night! :)21:16
nik90daker: Do you happen to know why Green Mahjong, a html app created for the App Showdown is having some scaling issues? http://imgur.com/pVJZz1D21:21
nik90daker: I noticed that you are the HTML guy :)21:21
dakernik90: that's a known issue21:21
dakerbug 130305021:22
ubot2Launchpad bug 1303050 in Ubuntu HTML5 UI SDK "viewport html5" [Undecided,New] https://launchpad.net/bugs/130305021:22
dakera qtwebkit bug21:22
nik90daker: is there a fix coming anytime soon? It makes using the app literally impossible. Hence I cannot review it as a showdown judge.21:22
dakeryou can test it in the browser-app21:23
dakerhttp://daniel-beck.org/greenmahjong-small/21:23
nik90ah ok21:23
dakerthe html5-app-launcher needs to switch to oxide21:23
dakerthe browser-app is already using oxide21:24
nik90ok21:24
dakernik90: it works ?21:40
=== chihchun is now known as chihchun_afk
nik90daker: I tried it on my desktop browser..trying now on the UT.21:40
* nik90 is annoyed by the constant unity 8 freezes in the recent proposed images.21:40
nik90daker: that works..thnx..I have noted it down in workaround document21:43
dakerok21:43
=== chihchun_afk is now known as chihchun
=== bfiller is now known as bfiller_afk
=== chihchun is now known as chihchun_afk

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