=== chihchun_afk is now known as chihchun
dholbachgood morning06:35
dpmmorning dholbach, morning all06:37
dpmhi zbenjamin, I'm trying to build a click package for lp:ubuntu-filemanager-app, but Qt Creator complains that there is no manifest.js file, when in fact there is. This is a core app for which I changed the manifest explicitly to work with Qt Creator, and the click build was working until recently. Any ideas what could be going on?06:39
dholbachhola dpm06:39
dpmhey :)06:39
zbenjamindpm: do you have a branch i can test?06:40
dpmzbenjamin, the one I just gave you -> lp:ubuntu-filemanager-app06:40
dpmlet me give you the message I got when I tried building the click last night06:41
dpmthat's it: http://pastebin.ubuntu.com/7320254/06:43
zbenjaminoh click complains about that06:43
zbenjamindpm: what package do i need for that: taglib/attachedpictureframe.h06:44
dpmzbenjamin, taglib1-dev06:44
dpmor the other way round, yes :)06:45
dpmzbenjamin, another issue I noticed is that QtC still overwrites the existing manifest.json, although now it only does it for the maintainer. Shall I report a separate bug for that? -> http://pastebin.ubuntu.com/7320263/06:46
zbenjamindpm: hm it did not for me06:47
zbenjamindpm: maybe some corner case06:47
dpmlet me try to do a fresh checkout to see if I can reproduce06:47
zbenjamindpm: Successfully built package in './com.ubuntu.filemanager_0.3_armhf.click'06:48
zbenjamindpm: worked for me, do you have CLICK_MODE=on in the build settings?06:48
dpmzbenjamin, uh, no, I don't. Is that needed now?06:49
zbenjamindpm: yes, CLICK_MODE is not set automatically anymore06:49
zbenjamindpm: we realized that CLICK_MODE is just not required for the templates, the average app dev does not need to create deb packages and click packages06:50
dpmzbenjamin, ok, yeah I understand the reasoning. Before I set it, though, another question: why do I now have 2 Ubuntu armhf kits? One "regular" and the other one "Run locally"?06:51
dpmand which one do I use?06:51
zbenjamindpm: hm, did you ever compile the plugin yourself? that usually happens if you have 2 qtc instances that have different paths to the scripts.06:53
dpmzbenjamin, believe me, I don't really have a strong desire for compiling QtC or any of its plugins :)06:53
zbenjamindpm: can you check if there are also 2 toolchains?06:53
dpmyeah, just a sec06:54
zbenjamindpm: Options -> Build & Run -> Compilers06:54
dpmzbenjamin, thanks. Here's what it looks like on my system -> http://i.imgur.com/wOdrne0.png06:55
zbenjamindpm: weird and both kits point to the same Compiler?06:55
zbenjamindpm: then you can just delete one06:56
dpmzbenjamin, they seem to point to the same compiler, yes. So I'll go ahead and delete one -> http://i.imgur.com/hQxMIuB.png06:58
zbenjamindpm: yeah delete the newer one so you projects will still have the settings06:58
zbenjamindpm: i wonder where that problem comes from ....06:58
dpmno idea, perhaps it was something I did, but I wouldn't know what06:59
dpmok, now onto setting the CLICK_MODE variable...06:59
dpmzbenjamin, I'm now on Projects > UbuntuSDK for armhf > Build. Do I set CLICK_MODE=on in "CMake arguments"?07:00
zbenjamindpm: -DCLICK_MODE=on07:01
dpmbuilding now...07:02
dpmzbenjamin, ok great, now it built the click, thanks :) One thing to notice is that it didn't overwrite manifest.json this time, but it did overwrite apparmor.json -> http://pastebin.ubuntu.com/7320329/07:04
zbenjamindpm: yeah it did a rewrite with the correct contents07:05
dpmwill it rewrite every time, or only if it detects that the content is not correct?07:06
justCarakasGood morning all07:10
justCarakasany idea when there will come a branch for ubuntu touch utopic unicorn07:10
dpmhi justCarakas, soon :)07:11
justCarakasdpm: thx, will it be possible to switch from the 14.04 devel branch to the new one or isn't that necessary07:11
dpmjustCarakas, I'm not sure how easy it will be to do the switch, you might want to ask on #ubuntu-touch for that07:13
justCarakasdpm: thx07:13
justCarakasdpm: do you know of plans of a systems for i18n for HTML5 apps07:14
dpmjustCarakas, there is one in the works done by a community member, daker07:16
justCarakasawesome :D07:17
dpmzbenjamin, ok, it seems I'm not being lucky with QtC since I came back from holiday. While it tells me that my device is connected and ready to use in the Devices tab under options, I cannot get my app to run on it. When I hit Ctrl+R I get this -> http://pastebin.ubuntu.com/7320375/ - any ideas?07:17
justCarakaslooking forward to it,07:17
justCarakasi use a js library now but I cant use the translation stuff from ubuntu than07:18
zbenjamindpm: try to click refresh on the devices page07:22
zbenjamindpm: the device is green? you can see that on the icon over the run button, if there is a small green circle its ready07:23
=== chriadam is now known as chriadam|away
dpmzbenjamin, I clicked "Redetect devices" on the Devices page and Qt Creator crashed. I had this same behaviour yesterday. The device button was always red in the main QtC left bar, but on the Devices tab under the Options dialogue it was green and "Ready to use"07:24
dpmI've also switched cables to rule out a faulty cable07:24
dpmsame result07:24
zbenjamindpm: if the button is red it won't work , but if it goes green in the options page its a refresh issue, the options page copies all devices and reinitializes it again07:28
dpmzbenjamin, yeah, so I guess that the main issue is that refreshing crashes QtC, so I can never get it to work07:29
zbenjamindpm: huh, it crashes... you really have no luck ,....07:29
dpmyup, every time07:30
zbenjamindpm: thats weird :/07:30
zbenjamindpm: and without debug symbols we can not see what it is :(. Must be some special case07:31
zbenjamindpm: start qtc with the device detached and attach it later07:32
zbenjamindpm: maybe that works07:32
zbenjamindpm: its no real solution but maybe a workaround07:32
dpmzbenjamin, I've tried all combinations, but I always seem to get the crash. Here's an extract of the CLI output of QtC when it crashes: http://pastebin.ubuntu.com/7320455/07:33
zbenjamindpm: hm ok detach all devices, remove them from the devicesmanager, restart, detach them and let  QtC pick them up07:34
zbenjamindpm: that looks like the device is not known in the device manager but it thinks it is07:34
dpmzbenjamin, ha, that worked! I can see the device in green in the left sidebar. Will try to run the app on the device now..07:36
zbenjamindpm: ok good :)07:36
dpmzbenjamin, ok, we're making progress: now the deployment worked, but it didn't manage to run the app -> http://pastebin.ubuntu.com/7320480/ is this related to the fact that I've got 2 run configs (filemanager, ubuntu-filemanager-app)? I'm not sure why or which one I should pick07:39
dpmit seems the QtC script tries to launch the app from ~/dev_tmp/filemanager, but it copied the files to ~/dev_tmp/com.ubuntu.filemanager07:41
zbenjamini'm going to try it07:42
zbenjamindpm: well the desktop file says EXEC=filemanager, which means the code awaits the binary to be in the root of the click package07:50
zbenjamindpm: seems the click launcher sets PATH to the bin directory :/ which the launcher code does not obviously07:51
dpmzbenjamin, yeah, in the click package the binary is in lib/<arch>/bin07:52
zbenjamindpm: i need to set that path, however you can workaround it by hardcoding the Exec path there for now, sorry07:53
dpmzbenjamin, no big deal for now - do you want me to file a bug for it?. However, I still don't understand why there are 2 run configs07:54
zbenjamindpm: every plugin in QtC can create its own runconfig, i can not interfere with that sadly :/07:54
dpmzbenjamin, what does that mean? That one of the runconfigs is not valid? Which one should I use?07:56
zbenjamindpm: yes, thats the case, the problem is that cmakeplugin will automatically create a runconfig if the project creates a executable and the connected device is a linux device07:57
dpmzbenjamin, sorry for the basic questions, but I need to make sure I understand this to be able to answer developers when they ask about it. So is the cmakeplugin not our fork of the original plugin? Why don't we have control over the runconfigs that are created? And as it stands now, which one of the two runconfigs should we tell developers to ignore/delete?08:01
zbenjamindpm: the problem is first if i make cmakeplugin stop to create runconfigs it will break other projects taht use RemoteLinux devices but not our plugin08:02
zbenjamindpm: cmakeplugin has no knowledge if a project is a ubuntu project or not08:03
dpmok, gotcha so far08:03
zbenjamindpm: which one to choose is harder, maybe i should prefix it with ubuntu-<runconfigname>08:03
dpmzbenjamin, rather than adding the prefix, is there a way to automatically select the right config?08:06
zbenjamindpm: i could use some trickery i gues08:06
dpmzbenjamin, and for the file manager app, which runconfig should I be using: 'filemanager' or 'ubuntu-filemanager-app'?08:07
zbenjaminubuntu-filemanager-app, its the one that has no options08:09
zbenjamindpm: i set up working dir automatically thats why you can not change it in our runconfigs08:09
dpmzbenjamin, cool, thanks. Will try to hardcode the path to the executable in the .desktop file now to see if I can get it to run08:10
DanChapmanGood Morning08:20
dpmmorning DanChapman08:31
dpmmzanetti, around?08:31
mzanettidpm: hey08:31
dpmhey, morning, do you have a few mins for a couple of general Qt questions?08:32
mzanettidpm: sure08:32
dpmmzanetti, cool, thanks. So the file manager app is similar to reminders in the sense that it's got a QML frontend and a C++ plugin backend. Recently we merged the two repos (previously they were in two different branches), but now I cannot get the app to find the plugin that we ship in the same package08:34
dpmLooking at reminders, it does not set any special import dirs, but still it finds the plugin shipped in the click package08:35
dpmi.e. the executable is on lib/arm-linux-gnueabihf/bin, and the plugin is on lib/arm-linux-gnueabihf08:36
dpmmzanetti, howcome the reminders app finds the plugin that it's on ../Evernote, if there are no specific additional import paths defined anywhere?08:37
mzanettidpm: src/app/main.cpp:41: importPathList.append(QDir::currentPath() + "/../plugin/");08:38
mzanettiwithout having verified it, I think this might be it. ^08:39
dpmmzanetti, I saw that, but that's not the installation path of the plugin, is it?08:39
dpmI thought that would only be needed at runtime on the desktop08:39
mzanettihm, yep... you're right08:39
dpmthat seems to be the build path, rather than the installation path08:39
dpmthen perhaps the lib/arm-linux-gnueabihf location within a click installation is added by default to the list if import paths, but that doesn't explain why the file manager plugin cannot be found08:41
dpmthe lib is called libfolderlistmodel.so08:42
dpmand the qmldir file says:08:43
dpmmodule org.nemomobile.folderlistmodel08:43
dpmplugin nemofolderlistmodel08:43
dpmI'm wondering if the lib and the plugin line should be called the same and that's why the plugin cannot be found?08:43
mzanettidpm: yes. it needs to be the same08:44
mzanettidpm: well, if the lib is called libfoobar.so, the qmldir file needs to say "foobar"08:45
dpmmzanetti, yeah, let me try that08:45
=== jgdxx is now known as jgdx
dpmaha, that was it, yes. Thanks mzanetti08:56
=== john-mcaleely is now known as john-mcaleely|af
=== john-mcaleely|af is now known as john-mcaleely
dpmpopey, when you've got a minute, could you review this one -> https://code.launchpad.net/~dpm/ubuntu-filemanager-app/fix-libname/+merge/21700709:09
popeydpm: sure...09:16
popeydpm: i opened the cmakelists and it didn't prompt me to install an armhf kit09:23
popeydpm: i get this https://imgur.com/dCZBIak09:24
justCarakasno jamesTait today ?09:27
dpmpopey, sorry, I was otp, looking now...09:38
dpmpopey, it seems you don't have a chroot to do armhf builds in Qt Creator yet, so it doesn't show you the kit. I've now added the instructions on how to create one at https://code.launchpad.net/~dpm/ubuntu-filemanager-app/fix-libname/+merge/21700709:45
popeydpm: indeed I don't09:46
popey---Click exited with errors, please check the output---Error executing command as another user: Not authorized09:47
* popey starts again09:47
popeyok, now I get a sudo prompt...09:48
dpmpopey, yeah, IIRC, that's part of the creation of the chroot09:48
dpmpopey, the good news is that you only need to create it once and you can then use it for all projects you open in QtC. If it's too much of a hassle, the other option for checking that the branch works is simply to install the .click I added as a URL in the MP09:48
popeydpm: i already did that and it worked on the device09:55
popeywanted to do both09:55
dpmok, cool :)09:55
popeyi had no idea about these armhf kits!09:56
dpmpopey, yeah, they're pretty cool, it makes it really easy to cross-compile and create click packages :)09:58
popeydpm: i get this when I ctrl+r https://imgur.com/zOPI2VH10:04
dpmpopey, you need to follow the steps to install libtag1-dev in the MP's description10:05
popeyi did that10:05
popeydpm: ah, i had the lib in the armhf chroot, but not on my desktop10:06
dpmpopey, you don't need to have it on your desktop, let me have a look at your screenshot again10:07
dpmah, I see...10:07
dpmpopey, on the icon just above the play button on the left bottom corner of QtC10:07
dpmclick on it and select the UbuntuSDK kit10:08
dpmyou're now compiling the app on your desktop using the desktop kit10:08
dpmbut you want to compile it in the arm chroot using the UbuntuSDK kit10:08
dpmzbenjamin, ok, filed bug 1312094 - I think that should then cover all of the issues we discussed earlier, thanks for the help!10:09
ubot2Launchpad bug 1312094 in qtcreator-plugin-ubuntu "Cannot run cmake projects on the device" [Undecided,New] https://launchpad.net/bugs/131209410:09
popeybattling with getting stuff into the device10:21
popey:-1: error: Could not connect to host: Server rejected key.10:22
popeyIs the device connected and set up for network access?10:22
* popey tries another device I've not futzed with10:22
popeydpm: zbenjamin on my device I get the above error after just plugging it in and trying to deploy from sdk to it..10:29
dpmpopey, I had issues too, I had to delete the device from Qt Creator. Try this: 1) Detach all devices 2) Go to Tools > Options > Devices and delete all "Ubuntu Device" entries, 3) Restart Qt Creator and 4) Reattach your device and let Qt Creator configure it for you10:33
dpmsee the conversation around 8:17 your time this morning for more details10:33
popeyhmm, now I get "No executable specified". when I try to run..10:42
popeyi have modified the Exec line in desktop.in10:42
popeyhmm, seems i needed to hit the button and select com.ubuntu.filemanager above the play button...10:43
popeydpm: now it can't find the manifest.json10:47
popeydpm: sorry, not seen all these issues before, thought it would just be a case of checking out your branch and pressing "play"10:48
popey click: error: directory "/tmp/build-fix-libname-UbuntuSDK_for_armhf_GCC_ubuntu_sdk_14_04_trusty-Default/.ubuntu-sdk-deploy" does not contain manifest file "manifest.json"10:53
dpmwait, I had this issue this morning too10:54
dpmpopey, oh, are you trying to build the click package too?10:54
popeywell, i tried that, but I'm just pressing ctrl+r in qtc10:55
dpmah, yeah, I see, the build needs the click variable to be set too, just a sec10:55
dpmpopey, you can do the following: 1) go to the Projects tab 2) click on the "Build" subtab of the "UbuntuSDK for armhf..." tab 3) Then go to the "CMake arguments" text field and add "-DCLICK_MODE=on" without the quotes10:57
popey\o/ dpm11:03
popeybuilds and runs on device11:03
popeynice one.11:04
=== MacSlow is now known as MacSlow|lunch
dpmthanks popey, would you mind top-approving https://code.launchpad.net/~dpm/ubuntu-filemanager-app/fix-libname/+merge/217007 then?12:14
dpmpopey, next step is to get it working again with click-buddy, probably this evening. Unfortunately we'll loose the ability to build the click with Qt Creator12:21
dpmbut happy to make the change if it helps testing prior to the store upload12:21
pmcgowandpm, bzoltan can we please align click-buddy with qtc12:27
bzoltandpm: why would we loose the ability to build the click with Qt Creator?12:28
dpmbzoltan, pmcgowan, zbenjamin and I had a conversation about it last week. The core apps that use cmake have a manifest.json.in file that gets variables expanded during builds12:29
dpmthat is not easy to make compatible with the manifest editor in QtC12:30
dpmbbl, call12:30
pmcgowanbzoltan, can you track a bug on this12:30
bzoltandpm: in that case the click-body should use a different solution12:30
=== MacSlow|lunch is now known as MacSlow
zbenjamini disagree here, that should work with click buddy, the cmake project files just need to correctly install the manifest.json file, i doubt it depends on the manifest.json.in file name12:31
zbenjaminclick-buddy also just does a make install in a local directory and packages its contents afaik12:31
zbenjamindpm: bzoltan ^12:32
bzoltanpmcgowan:  I am familiar with the topic and we had discussions about it ... sadly yet again  a showcase example that things change under/behind the SDK and so force use to implement quick and dirty hackarounds to provide the same features.12:32
pmcgowanbzoltan, so I don't know the proper resolution but need to align12:33
zbenjamindpm: our solution was to name the manifest.json.in file manifest.json and put it into the project root. You still can use it as a configure file in cmake it does not care about the naming12:37
sergiusensdpm: you can use click-buddy and a manifest.json in the project root12:39
sergiusensdpm: and do some sedding to add the bits we use for ci (for core apps)12:39
sergiusensbzoltan: this was implemented in october last year fwiw; the click-buddy thing i just sugar coating12:40
bzoltansergiusens:  OK... sorry :) I thought there is a new change12:41
sergiusensno, it's the same thing going on12:41
bzoltansergiusens:  we had talked about it by then  too12:41
sergiusensit's something I was hoping to tackle during sprint time so we can align easier12:41
sergiusensbut if it is really pressing, we can do it sooner rather than later12:42
=== _salem is now known as salem_
pmcgowansergiusens, just want to avoid the need to choose which tool from us people use, should not be a choice, they should all work12:49
=== jhodapp|afk is now known as jhodapp
=== bfiller_afk is now known as bfiller
dpmsergiusens, bzoltan1, sorry, I just got off the phone. Yeah, I know click-buddy can work with manifest.json on the root directory. Picking the filemanager example it's the variable expansion bit that does not work with click-buddy (or that I can't figure out how to get working). Let me have another look at it now13:42
sergiusensdpm: you can go back to hardcoding it13:43
sergiusensif it comes to it13:43
bzoltan1dpm: OK. I checked it and as zbenjamin said there should not be any problem13:43
dpmsergiusens, yeah, hardcoding is what I've had to do now, but IIRC from what I tried last week, click-buddy expects a valid bzr revision to be set in the manifest13:44
dpmand that's where it complained13:44
dpmsergiusens, you can have a look at lp:ubuntu-filemanager-app and see where it fails13:44
zbenjaminwhy can't you substitute? does cmake require a input file to end with .in?13:44
sergiusenszbenjamin: I don't see a reason it should13:45
dpmzbenjamin, that's what I'm going to try next. The .in ending for files that are to be generated is a convention, not a requirement13:45
zbenjamindpm: yeah thats what i thought too13:45
dpmalthough it might be a bit confusing to have a source file with variables to be expanded and the same file name with the variables resolved, with the same name13:46
sergiusenszbenjamin: will qtc flush out the unknown json entries?13:47
zbenjaminsergiusens: no i think it should just ignore them13:49
zbenjaminsergiusens: but it still has to be valid json13:49
dpmfginther, do you have any ideas why https://code.launchpad.net/~dpm/ubuntu-filemanager-app/fix-libname/+merge/217007 initially passed the test and then after top-approving without changes it failed?14:01
sergiusenszbenjamin: dpm given the prior hypothesis and proven true; there should be no issues with what was suggested; we would just need to define the click namespace, name, et.al. in the manifest and not through expansion; just keeping the x- entries as expanded elements14:04
dpmsergiusens, zbenjamin, is this what you were thinking of? https://code.launchpad.net/~dpm/ubuntu-filemanager-app/click-everywhere/+merge/21705614:16
zbenjamindpm: yeps14:17
sergiusenszbenjamin: dpm yes; the same logic applied to the apparmor stuff14:20
dpmsergiusens, but the apparmor.json file does not really need variable substitution, right?14:21
sergiusensdpm: 28         "vcs-bzr": "lp:ubuntu-filemanager-app", I guess I missed that; this was also overrideable14:21
sergiusensdpm: I don't think it does14:21
sergiusensdpm: there's an apparmor profile per appname14:21
sergiusensdpm: oh wait; let me check for real14:22
sergiusensdpm: yeah, hooks per appname are defined in manifest.json and point to the correct relative path to the apparmor.json14:23
sergiusensdpm: this means you will have to hardcode the desktop file et.al. as well14:23
sergiusensdpm: and in case of the filemanager, we will also need to hardcode architecture14:24
dpmsergiusens, so far I'm hardcoding everything I can except for @BZR_REVNO@14:24
sergiusensdpm: ok14:24
dpmat least to prove it all works14:24
dpmthen we can do substitution of further variables if needed14:25
sergiusensdpm: I wonder if we can create a var list from that manifest to use as vars in cmake so we set those in one place only14:25
dpmsergiusens, not sure I can follow: what advantages would that bring as opposed to declaring them in the top CMakeLists.txt file?14:26
dpmthe manifest and the vars would still be in 2 different files, right?14:27
sergiusensdpm: to declare them in one location only14:29
dpmwhere would the location be?14:29
sergiusensdpm: the manifest is now14:30
dpmyeah, right now they're defined in CMakeLists.txt and expanded in manifest.json. Where would you put them in the future?14:31
dpmsergiusens, ok, now that it seems to work in Qt Creator, I'm trying to use click-buddy with the same build dir as QtC - Running14:32
dpm$ click-buddy --dir ../build-fix-libname-UbuntuSDK_for_armhf_GCC_ubuntu_sdk_14_04_trusty-Default/ --arch armhf14:32
dpmshows me the help for click-buddy, why is that? Do I need to specify the framework too?14:32
* dpm tries14:32
dpmno joy14:33
sergiusensdpm: you will have to run it from the source dir I think14:38
dpmsergiusens, I was told by zbenjamin that if I do a cmake run from the source dir, it will break my QtC setup. Does click-buddy builds in there or does it do the build somewhere else in a temp dir?14:39
sergiusensdpm: then that's something we need to fix14:40
dpmso I'm back to square 114:40
dpmI'll try in any case :)14:41
zbenjaminsergiusens: hmm? i thought click-buddy creates a builddir14:42
zbenjaminsergiusens: builddir=$(mktemp -d)14:42
dpmyeah, I think it might have done. It seems to have worked in any case14:43
=== gatox is now known as gatox_lunch
=== bfiller is now known as bfiller_afk
dpmballoons, you've got filemanager mail :)16:43
balloonsdpm, I saw your MP's..16:44
balloonsI was excited to see the bzr revno issue was the only one16:44
balloonsahayzen, ping17:21
ahayzenballoons, pong17:21
balloonsahayzen, can you confirm https://code.launchpad.net/~nskaggs/music-app/fix-1292044/+merge/211637 so it can merge? :-)17:21
ahayzenballoons, i'll have a look at it tonight i need to run some other AP tests anyway :)17:22
balloonsahayzen, marvelous ty17:22
ahayzenballoons, damn coursework getting in the way of fun :/17:22
balloonshah.. well, this is the last bit of it, so keep on it for a couple more weeks17:23
ahayzenballoons, yep for this year then can have loads of fun in the summer break :)17:24
=== gatox_lunch is now known as gatox
pedro_r_marquesI'm trying to build a source package on ubuntu... i've  <pkg>.debian.targ.gz <pkg>.dsc <pkg>.orig.tar.gz how do i test them ?18:19
sarnoldpedro_r_marques: if you just want to build this one package just this one time, check out dpkg-buildpackage -- if you want to build packages on a regular basis, I suggest setting up schroot and sbuild, they will help you get nicely repeatable builds18:27
pedro_r_marquessarnold: thank you for the pointers18:27
pedro_r_marquesi was going down the path of using pbuilder18:28
sarnoldsome folks do like pbuilder, but sbuild is closer to the buildds, so it's the method I've been using :)18:32
rickspencer3o/ all18:52
=== bfiller_afk is now known as bfiller
=== elopio_ is now known as elopio
rickspencer3mhall119, are there any docs on using download manager in my app?19:28
aquariusso, popey was asking about having a Touch app start a second process (basically, doing 'system("some-binary &")' from Qt20:15
aquariusis that allowed?20:15
aquariusthis might be a jdstrand/mdeslaur question about apparmor, or a tvoss question about the app lifecycle20:16
popeye.g. a local client and server separate binaries on the phone, part of one app started via upstart20:16
mdeslaurI believe it should be allowed, yes, if they are both in the same package and the same private directory20:17
aquariusperhaps all my app's processes are in a cgroup and the app lifecycle thing suspends the whole cgroup?20:17
jdstrandit is fine from a confinement perspective, but app lifecycle won't allow it20:17
mdeslauroh, that I know absolutely nothing about, sorry20:17
aquariusmdeslaur, yeah, this is "the app ships two binaries" -- it's not running something it doesn't own20:17
aquariusjdstrand, ah. so, what happens if I start a second process?20:17
jdstrandit will run until the app is backgrounded, at which point the process group will be sent STOP20:18
jdstrand(or worse)20:18
aquariusthat's fine though20:18
popeythats fine, surely.20:18
aquariusas long as the whole cgroup is started again when the app is foregrounded20:18
jdstrandI think UAL was updated to put everything in a cgroup recently... not sure. I'm not an expert on app lifecycle20:18
popeyi only want MyApp which contains "MyApp Server binary" and "MyApp Client binary"20:18
popeywhere Client is started as part of Myapp from upstart, and that immediately checks for and launches Server20:19
popeythen connects to it20:19
aquariusjdstrand, the use case here is that the "app" is two binaries -- a tiny web server, and an html container, and the HTML in the HTML container connects to the webserver.20:19
jdstrandI think you would need to handle the state for the second app (ie, you might have to start it yourself since you were the one that started it in the first plac20:19
popeyits not a second app20:19
popeyits two binaries in one app20:19
jdstrandthat's what I meant20:20
popeyah okay20:20
jdstrandsecond process20:20
popeyaquarius: sounds like someone needs to test this ☻20:20
jdstrandpopey: on a totally unrelated note, but since I have you-- istr you said you like blabble?20:21
aquariuspopey, it might be easier to just have one process which is both the server and the container -- http://stefanfrings.de/qtwebapp/index-en.html seems to be a Qt C++ webserver which is maintained and up-to-date. It would mean that you have to write a noddy C++ programme to put this in and start the web container, rathe than just using the built-in web container, but if you can find a C++ Qt person that ought to20:21
aquarius be trivial20:21
popeyjdstrand: i do20:21
aquariuson a second unrelated note...20:21
popeynot played for a while though.20:21
aquariushow do I find out the version number of the most recently promoted phone release?20:21
jdstrandpopey: you will like the next upload then-- I translated the blabble dictionary for UK and added the sowpods word list20:21
jdstrand(there are other niceties as well)20:22
popeyis that a hint that you want me to review it ㋛20:22
aquarius(I can't just try an OTA upgrade because I'm dual-booting, which doesn't do OTA upgrades)20:22
jdstrandsure! but I haven't uploaded it yet20:22
popeyaquarius: people.canonical.com/~ogra/touch-image-stats/ is the raw20:22
jdstrandI'll definitely do it over the weekend if not sooner20:22
aquariuspopey, ah, that's semi-useful, but I don't think I can know from that whether one has been promoted or not? I bet ogra_ knows the answer to this :)20:23
popeyjust finding it20:23
=== silas is now known as Guest38073
popeyaquarius: system-image.ubuntu.com/ubuntu-touch/devel/mako/ also raw20:24
popeybut.. from that 303 is latest20:24
popeybut not worth updating to from previous promoted, its only got a few clicks (as can be seen from ogra_ link above)20:24
popeyi.e. there have been no chances since last thursday20:24
aquariuspopey, ahahaha! So I should look at http://system-image.ubuntu.com/ubuntu-touch/trusty/mako/ which is the trusty list20:24
aquariusand thus I can see that 303 is in the trusty queue20:25
aquariusand I'm on 296. So I can check the changes files above to see whether it's worth it.20:25
aquariusNice one :)20:25
popeythere's json in there too somewhere, you could probably write an app which told you in an indicator or something ☻20:25
aquariusbrill. thank you :)20:26
aquariusnice. I shall remember how to check whether there's a new promoted image now: http://system-image.ubuntu.com/ubuntu-touch/trusty/mako/ to find out what's been promoted, and people.canonical.com/~ogra/touch-image-stats/ to find out what happened in that image. Cool. :)20:29
pmcgowanaquarius, btw I curse you and your Riddling20:35
* aquarius grins20:35
aquariusyou are not alone in that. :)20:35
pmcgowanI am stuck very early on20:35
aquariushow early? If you're using the Ubuntu version, and you're stuck on level 4, I am prepared to tell you the answer.20:35
aquariusanything else, no hints. :)20:35
pmcgowanwell I am at 4 indeed, but I dont want to be stupid20:36
aquariusit's not stupid20:36
aquariusit was made clear to me, after release, that that clue is very, very British specific20:36
aquariuswhich I did not realise.20:36
pmcgowanI even thought of that20:36
pmcgowanbut didnt get it yet20:36
aquariusI changed it for the iOS/Android versions20:36
aquariusbut not the Ubuntu version.20:36
aquariusSo, if you want a hint, I can give you a hint :)20:37
pmcgowanmaybe british is enough20:37
pmcgowanso far it wasnt though20:37
pmcgowanaquarius, is beer involved?20:38
aquariuspmcgowan, well... if you decide you want a hint, here is a hint, rot13ed so that you can choose to not read it until you want to: zntcvrf20:38
aquariusam prepared to hint for that clue because it's basically unfair if you're not lucky enough to be British ;)20:38
aquariusindeed :)20:39
pmcgowanthanks will try once more before opening the hint20:40
aquariusno worries.20:40
beunoI am waiting for paid apps to be allowed20:44
beunoand will unpack the riddling app20:44
beunoand sell an answers to riddling app20:44
pmcgowanaquarius, btw the app exposes a bug on latest, if the screen goes off, then the field wont take focus again to get the osk up21:03
pmcgowannot suer its the app or OSK or toolkit21:04
aquariuspmcgowan, hrm21:04
aquariusthat used to work21:04
aquariusso if it now doesn't, that's a regression bug in the toolkit, in my opinion21:04
aquariusbut perhaps I was donig something wrong before21:04
pmcgowanthats the question21:05
pmcgowanhave not yet seen it elsewhere21:05
Elleoaquarius: I still never got passed El Paso, curse you ;)21:11
aquariusElleo, lots of other people got stuck there too...21:13
aquariusthere is some discussion of it on reddit threads21:13
Elleoyeah, I'm too stubborn to try and cheat21:13
Elleoplus I have to start over after doing a --wipe a while back21:14
Elleoshould have thought to backup my riddling progress, it was the only important thing on the phone ;)21:14
* aquarius laughs!21:14
aquariusthe game is not *that* big; you can type in all the answers in about five minutes21:15
aquariusI know this because I've done it :)21:15
aquariusI have the advantage of not having to re-research them all every time, though21:15
pmcgowanaquarius, would never have gotten that, but I'm cruising now21:17
aquariuspmcgowan, yeah -- that's why the hint, because that clue is just flat out unfair if you're not from here. I didn't realise that when I wrote it21:18
aquariusbut I did when every single person in America complained ;)21:18
pmcgowanso fix our version!21:18
Elleopersonally I think a british bias is a great feature ;)21:19
pmcgowanyeah we need answers in u1db21:19
aquariuspmcgowan, the reason I haven't is that the android/ios versions are phonegap; I could completely redo the Ubuntu version as phonegap too, but that's a bunch of work which I don't have a lot of time to do, and it works at the moment :)21:19
aquariusthe answers are in u1db ni the Ubuntu version ;)21:19
pmcgowanbut not syncd yet - thats my problem21:19
pmcgowanaquarius, we are looking for good phonegap apps if you got some21:20
pmcgowanwould be curious your experience with that21:20
=== salem_ is now known as _salem
aquariuspmcgowan, when I do Riddling 2 (or whatever comes next) it'll be phonegap, and for Ubuntu, Android, and iOS21:22
pmcgowanaquarius, so far we have few apps using it, so would be good to know its worth keeping it up, was hoping more apps would be ported21:23
aquariusIs there an sftp app for phone yet?21:42
aquariusif not I may have to put one together so I can get books on the phone :)21:48
aquariuspopey, that's actually relevant to our question above, because I'm not writing it in c++, so I'd shell out to an sftp binary...21:49
popeyand then you'd be unable to write to anywhere that the books app can see21:49
aquariusno no, I'll download it and then content hub the downloaded thing21:50
aquariusthat's precisely how I get books into ibooks.21:50
aquariusI think I'll have to handle the download myself with the binary, rather than using the download service, because the download service is for http, not for sftp21:51
aquariuswhich would be sad, but not critical.21:51
LeartSHi guys! I just downloaded the trunk of a dimple desktop app that has been "dead" for years because I wanted to try to add indicator support. (as it is now it's impossible to use the app menu).21:51
aquariusand I'd need a tiny amount of C++ to run the binary. (This is another perfect example of a component: I'd love to be able to do "ucs install binary-runner" and have it install a tiny component which provides a QML widget to run a binary that I shipped :))21:52
LeartSSo I downloaded the trunk, opened the main .py file, added a simple `import appindicator` at the start and launched it to see if it gave some import error -> the indicator was already working21:52
LeartSlike, 100% implemented. Any material/tutorial/guide on this?21:53
aquariusjdstrand, on the subject of running a second binary from my app, I'd like to run ssh. There's already an ssh binary on the device. What app confinement settings do I need to ask for to allow me to run it? (I'm OK if this means extra scrutiny in the app store, or that it can't go into the app store at all)22:48
Elleoaquarius: in the very worst case I expect you could set the template to unconfined in your app armor .json file22:50
Elleopresumably finer grained stuff should be possible22:50
Elleoas I think the terminal app runs under confinement doesn't it?22:50
sarnoldaquarius: you'd probably want to add '/usr/bin/ssh ix,' sorts of rules to the profile, and I don't tihnk we've allowed that in the slightest...22:50
Elleoso maybe have a look at what that does22:50
aquariusooh, good thought, the terminal app22:51
Elleonot certain that it's confined, but it'd be a good thing to check22:51
aquariushow do I type a Ctrl in the terminal app?22:53
jdstrandwe don't allow ix in the policy. either run the app with the unconfined template or ship it as part of your package22:54
jdstrandaquarius: long press the screen gives you some things22:54
jdstrandaquarius: you can also enable various panels from the bottom toolbar22:54
aquariusI forgot about the terminal app22:56
aquariuswho needs an sftp app? not me22:56
aquariusI can just ssh from the terminal app and forward a port22:56
aquariusnow all I need is for the browser to be able to download things and offer them via the content hub, and for beru to be able to accept books via the content hub. Fantastic.22:59
aquariusanother step closer to victory22:59
aquariusalthough it is a personal victory and one which does not help other Ubuntu phone owners :(23:00
aquariusalso, the terminal app shows you what you're typing in23:01
aquariuseven if it's a password23:01
aquariusI understand why it does it, but it's pretty disconcerting to see my password on the screen :)23:01
sarnoldaquarius: yikes it does? that doesn't sound right :)23:03
sarnoldaquarius: can you please file a bug on that to make sure it doesn't get lost? :)23:03
popeyaquarius: known bug23:07
popeybug 130738623:07
ubot2Launchpad bug 1307386 in Ubuntu Terminal App "Terminal should not use assistive technologies" [Undecided,New] https://launchpad.net/bugs/130738623:07
aquariusah cool23:07
sarnoldpopey: yay thanks :)23:07
aquariusI like that it shows me text as I type it -- it's like mosh23:08
aquariusand I'd like it to show me password text as I type it, but then replace with * :-)23:08
=== chihchun is now known as chihchun_afk

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