=== 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 [05:40] Good Morning :) [06:45] HighLight Text line using python script in Gedit and LibreOffice without sing Plugins | http://askubuntu.com/q/444830 [06:46] good morning [09:08] fginther: 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 denied [09:10] nerochiaro, how do you launch it, exactly, and as which user? [09:17] Good morning all; happy Be Kind To Lawyers Day! :-D [09:18] oSoMoN: I launch "upstart-app-launch com.ubuntu.gallery_gallery_2.9.1.949" as phablet [09:32] nerochiaro: did you "sudo -u phablet -i" to become phablet? === chriadam is now known as chriadam|away === MacSlow is now known as MacSlow|lunch [11:23] Installation failed for API | http://askubuntu.com/q/444929 [11:47] oSoMoN: 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 device [11:48] nerochiaro, I’m not a click expert by any means, there are people more experienced around here that surely can help you [11:49] nerochiaro, if you explain here what the problem is, that will help [11:49] oSoMoN: i just want to know what is the process you follow to build and test a branch [11:50] nerochiaro, given that I work on an app that’s not a click package, my process won’t help… [11:50] nerochiaro: i can help perhaps... [11:50] popey: 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 fail [11:50] right, you haven't done the prep steps [11:51] I 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] works for me [11:51] lemme know if it doesn't for you [11:51] after the test, clean up by "adb shell rm -rf /home/phablet/autopilot" [11:52] popey: install the click seems to be done by click-buddy --provision, no ? [11:52] maybe, I don't do that, but that should work [11:55] popey: i'm testing it, thanks. is this documented anywehre ? [12:02] popey: 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 click [12:03] popey: coming from the old style non-click world this stuff is really baffling me [12:03] nerochiaro: https://wiki.ubuntu.com/Touch/Testing [12:12] popey: any info on how to build and deploy click apps ? that's probably the part that's not working for me [12:12] i let jenkins build it usually [12:12] popey: i was doing the same, but it's slow as hell [12:13] well.. arm.. [12:13] popey: ok, but assuming i have the click already built, how do you properly install it and run it ? [12:13] nerochiaro: hey, I think the click-buddy --provision thing is currently broke if you aren't python3 [12:13] adb push foo.click /tmp [12:13] adb shell sudo -u phablet pkcon install-local /tmp/foo.click [12:14] also, keep in mind everything will fail if you have the deb version installed [12:14] popey: sergiusens: will this install the autopilot tests too ? [12:14] no, thats step 3) above [12:14] phablet-click-test-setup sets up the ap tests in /home/phablet/autopilot [12:15] popey: and phablet-test-run will run them from there ? [12:15] yes [12:16] popey: ok, so i guess i need to figure out why it does not find some modules [12:16] that I don't know. [12:16] unless as sergiusens says, you have the deb installed too? [12:17] nerochiaro: I made a custom build job for gallery on jenkins; did bill tell you about it? [12:17] sergiusens: no [12:17] with that you can phablet-click-test-setup and run easily [12:17] nerochiaro: http://s-jenkins.ubuntu-ci:8080/view/click/job/gallery-app-click-from-branch/ [12:18] sergiusens: 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:19] nerochiaro: only difference is the reference to get the tests so it's provisioned correctly [12:19] build should be the same [12:19] nerochiaro: how are you running click-buddy to build gallery? [12:19] sergiusens: i don't understand what you mean with "the reference to get the tests" [12:19] sergiusens: just click-buddy or click-buddy --provision [12:20] nerochiaro: on x86? [12:20] sergiusens: yes [12:20] nerochiaro: that is your problem :-) [12:20] sergiusens: thought it would cross compile since it generates com.ubuntu.gallery_2.9.1.949_armhf.click [12:21] nerochiaro: click-buddy --arch armhf --framework 'forgot the name' --provision [12:21] sergiusens: and by cross compile i mean use a chroot automagically [12:21] nerochiaro: the _armhf.click is purely configurational; not like building a deb [12:23] sergiusens: any pointers to docs that explain what to pass to click chroot to get the right chroot ? [12:23] nerochiaro: not sure that exists, cjwatson or xnox would know; but they aren't on this channel === _salem is now known as salem_ [12:27] hi 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 directory [12:27] running the app from QtC used to work, but I can't figure out why it no longer does. Any ideas? [12:41] dpm: is the path in the manifest file pointing to the desktop file ? [12:42] dpm: are you trying to run for the desktop target? or on the phone? [12:43] zbenjamin, I'm using the desktop target, let me have a look at the manifest... [12:46] dpm, ping [12:47] dpm: hm maybe there is a problem in how i create the local runconfig [12:47] zbenjamin, it seems cmake is ignoring the click/manifest.json.in file and it instead creates its own manifest.json file on build [12:47] hey iBelieve [12:48] hi 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 app [12:48] dpm: 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 think [12:50] dpm: ok forget the manifest, i'm looking for a desktop file that is named like the project [12:50] dpm: on the local build i can not count on having a manifest [12:52] zbenjamin, 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] yes it should be named com.ubuntu.reminders.desktop then [12:53] iBelieve, 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 away [12:53] dpm: 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 idea [12:53] zbenjamin, let me check where that suffix comes from first [12:54] I just compiled gallery-app on my desktop. How do I execute the autopilot tests now? [12:54] sergiusens, 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" [13:01] dpm: it's a future proof thing I did [13:01] dpm: the package can hold multiple apps; so naming the desktop file after the package name seemed wrong [13:02] dpm: so it was either to name it after the appname or packagename+appname [13:02] either is fine; but the appname shouldn't be the packagename [13:04] dpm, ok, will do. Thanks [13:07] zbenjamin: the desktop file name is specified in the manifest if that helps at all [13:08] sergiusens: 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 directly [13:08] zbenjamin: fwiw; we can eventually just move back to manifest.json (and skip the .in) [13:09] zbenjamin: if it's not there the app wouldn't work when installed; that said; it's not mandatory [13:10] sergiusens: 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 sometimes [13:11] sergiusens: we need some sort of project structure agreement all core apps and templates should follow [13:11] zbenjamin: can't speak of ide friendly, but we can for sure move manifest.json.in to manifest.json if it helps [13:12] sergiusens: yeah the QtC plugin wants the manifest.json file in the root directory of the project [13:12] zbenjamin: 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 too [13:13] zbenjamin: same applies to apparmor rules? [13:13] sergiusens: yes [13:14] ok; we definitely need to create a set of requirements [13:14] zbenjamin: is sprint timeframe good? I guess we can tackle that there and work a lot faster [13:15] iBelieve, 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 back [13:18] sergiusens: 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] zbenjamin: final freeze is in two days [13:18] zbenjamin: release is April 17th [13:19] dpm, ok, thank you [13:19] sergiusens: ok then we are too late anyway right [13:30] sergiusens: 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:31] sergiusens: would maybe make the whole thing more stable [13:31] sergiusens: and it should fail if some variables are not set [13:32] zbenjamin: that could work; want to start a pad or google doc for this to add ideas? [13:33] i can start a google doc [13:34] sergiusens: https://docs.google.com/a/canonical.com/document/d/1yAEYHcjV8Su0z5it3M7QPe4c1KuWkZBHBBDMSxuudmc/edit?usp=sharing [13:34] * sergiusens starred the doc [13:35] sergiusens: feel free to add stuff [13:36] sure thing [13:39] dpm, are you still around? [13:42] iBelieve, about to go, but feel free to ask, happy to help if I can [13:43] dpm, 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:44] iBelieve, 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] dpm, in the bugs section there should now be two bugs [13:45] dpm, and the link was the link from developer.ubuntu.com/showdown, not one I had previously saved [13:46] dpm, do you need the name of my app? [13:46] iBelieve, I know all the names of awesome apps ;) [13:47] iBelieve, I see the fields updated in the response, you should be good to go [13:47] dpm, cool, thanks for your help [13:47] np, ok, I need to run, will be back later === dpm is now known as dpm-afk [13:48] dpm-afk: let me know when you're back [14:08] sergiusens: 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 runconfiguration [14:08] sergiusens: but that would mean all core apps need to do that as well [14:41] Finding Mouse click position in IconView in GTK | http://askubuntu.com/q/445002 === gatox is now known as gatox_lunch [15:51] renato: 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] Launchpad bug 1300210 in Ubuntu Calendar App "Google calendar events with video don't show link in event" [Undecided,Triaged] === gatox_lunch is now known as gatox [17:02] artmello_ 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/208761 [17:02] rhuddie: ok, I will take a look soon [17:02] artmello_ it is quite small, so hopefully it shouldn't take you long :) [17:02] artmello_ thanks [17:03] rhuddie: ok, thx =) === jhodapp is now known as jhodapp|brb [17:37] hi 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 why === bfiller is now known as bfiller_afk [17:47] And why is it building everything again when I do "Build in chroot"? === WebbyIT is now known as rpadovani [18:05] Found it. Needed to install the amd64 version of protobuf. Still anoying that it build everything every time. === bfiller_afk is now known as bfiller [18:59] mzanetti, I'm now back, if you're still online [19:13] Hello! Can I talk with someone from SDK team? [19:29] qtros, I think they are probably all finished work [19:29] *have [19:30] dpm hello David! [19:30] hey, how are you doing?, long time no speak :) [19:31] dpm yep :) I am ok, awaiting some changes in SDK to use them in Shorts :) Also participating in Showdown with "TwimGo" Twitter client [19:31] nice! [19:32] dpm today I found that if I'll use id "window" in my app it will cause conflict with SDK's variable's name [19:33] dpm 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:34] qtros, 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 list [19:35] dpm I'll try to ping them tomorrow) [19:37] ok, cool [19:38] dpm it isn't serious bug (or even isn't bug), but was confusing even me) [19:39] qtros, ok. It might be worth filing a bug, to avoid others get confused too [19:41] dpm no no, let me notify them personally, we will discuss possible solutions :) [19:41] ok, sounds good [19:45] dpn, 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:50] hi zonovroman [19:51] zonovroman, can you point me to the code of your app? Is it in Launchpad, or github, or somewhere else? [19:51] It is on Launchpad, one minute, please... [19:52] https://launchpad.net/zbird [19:54] zonovroman, 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 folder [19:55] dpm, manually? [19:55] no, with a script [19:56] qtros, yes "window" should be documented [19:56] qtros, that's a bug [19:56] zonovroman, 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:57] Kaleo or it should be named like "__window" [19:58] qtros, no, it's a public API afaik [19:58] zonovroman, also, you can remove all the *.user files from bzr, they should not be kept under revision control [19:58] Kaleo oh, sorry, I didn't use it :) [19:58] Kaleo but it's not mistake, this behavior caused by QML's nature [19:59] dpm, I'm noob in Launchpad and in those services in all, why I have so many errors. [19:59] zonovroman, no worries, I'm just mentioning it in case it can help you [20:00] dpm, your advices are very helpful. Thank you. [20:01] Kaleo I will not fill bug or something like that since you was notified, ok? :) [20:03] qtros, ok:) [20:08] zonovroman, I hope this helps you get started with extracting translations: http://pastebin.ubuntu.com/7223334/ [20:08] dpm, 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:09] zonovroman, can you show me which command you are using to push? [20:09] dpm, bzr push lp:zbird [20:10] kaleo dpm have a good night! :) [20:10] qtros, thanks, you too [20:10] qtros, you too! [20:12] zonovroman, can you try: "bzr push lp:~roman2861/zbird/trunk" ? [20:15] dpm, it works. [20:18] zonovroman, ok cool, can you now go to http://launchpad.net/zbird and click on the "Configure code hosting" link on the right? [20:20] dpm, i can't find it. There is no "Configure code hosting" link, only bug tracker. [20:20] sorry, I meant "Configure project branch" [20:21] dpm, funny - there is no "Configure project branch" link too. [20:22] zonovroman, it should be under "Configuration options" or alternatively you can go to the direct link: https://launchpad.net/zbird/trunk/+setbranch [20:22] dpm, more funny - I have no access to it. [20:23] ? [20:23] are you logged in? [20:23] Yes...OMG. I understood. [20:24] Some 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:28] dpm, and now I can't delete fake "zTeam" from my projects. [20:28] dpm, "Permission launchpad.Edit required on ." [20:37] dpm, sorry, I have some problems with internet. Did you write me earlier? [20:40] zonovroman, 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 it [20:41] dpm, I am trying to get access by change maintainer, but it is not possible. [20:42] zonovroman, can you ask on the #launchpad channel? Perhaps someone can help you in there [20:43] dpm, will you stay here? [20:44] zonovroman, 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 again === salem_ is now known as _salem [21:09] dpm, where I can read IRC history? [21:11] either your irc client might have local logs, or on http://irclogs.ubuntu.com/ [21:14] dpm, thank you. I'll do it tomorrow. Last question: if I won't change maintainter, my app will be kicked from contest? [21:15] zonovroman, not at all, why should your app be kicked from the contest? [21:15] dpm, I don't know, but it is very important to ask) [21:16] dpm, good night! [21:16] zonovroman, don't worry, your app will not be disqualified for that, and good night! :) [21:21] daker: Do you happen to know why Green Mahjong, a html app created for the App Showdown is having some scaling issues? http://imgur.com/pVJZz1D [21:21] daker: I noticed that you are the HTML guy :) [21:21] nik90: that's a known issue [21:22] bug 1303050 [21:22] Launchpad bug 1303050 in Ubuntu HTML5 UI SDK "viewport html5" [Undecided,New] https://launchpad.net/bugs/1303050 [21:22] a qtwebkit bug [21:22] daker: is there a fix coming anytime soon? It makes using the app literally impossible. Hence I cannot review it as a showdown judge. [21:23] you can test it in the browser-app [21:23] http://daniel-beck.org/greenmahjong-small/ [21:23] ah ok [21:23] the html5-app-launcher needs to switch to oxide [21:24] the browser-app is already using oxide [21:24] ok [21:40] nik90: it works ? === chihchun is now known as chihchun_afk [21:40] daker: 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:43] daker: that works..thnx..I have noted it down in workaround document [21:43] ok === chihchun_afk is now known as chihchun === bfiller is now known as bfiller_afk === chihchun is now known as chihchun_afk