[00:22] <snizzo> appdevs are there any resources for migrating to uitk 1.3?
[00:22] <snizzo> some docs... links in release notes are broken
[00:24] <ahayzen> snizzo, the notes in bug 1508363 maybe useful
[00:25] <snizzo> ahayzen: ok, yeah that's helpful. Is there a change list on what has been fixed for music hub api?
[00:26] <snizzo> sorry for asking a lot, again :D
[00:26] <ahayzen> you mean media-hub api ?
[00:27] <snizzo> oh yes, sorry that one
[00:27] <ahayzen> snizzo, you could look at this http://bazaar.launchpad.net/~phablet-team/media-hub/stable/view/head:/debian/changelog
[00:28] <ahayzen> note if your asking about the background playlists stuff, that is still WIP
[00:29] <snizzo> ah ok. Yeah, that was in my interest. Maybe some bugs were fixed in ota8 :) because I think removing a single track wasn't working
[00:29] <ahayzen> and there is also qtubuntu-media, qtmultimedia etc to watch
[00:29] <ahayzen> snizzo, ah yes that was a bit broken
[00:29] <ahayzen> it may be fixed *now* in the dev channel, but not the stable
[00:30] <snizzo> ok, no problem. It seems I'm going to implement along with stable development :)
[00:31] <ahayzen> :-)
[00:31] <snizzo> silly question: is there the possibility to try apps on a bq e4.5 simulated environment without owning the physical device?
[00:31] <ahayzen> we are getting there though, the music-app is nearly working nicely :-)
[00:31] <ahayzen> snizzo, yeah there is a emulator
[00:31] <snizzo> for bq?
[00:31] <ahayzen> its a generic emulator IIRC
[00:32] <ahayzen> snizzo, https://developer.ubuntu.com/en/apps/sdk/tutorials/using-the-ubuntu-emulator/ maybe worth a read
[00:32] <snizzo> ah ok. I have an e5 but some people contacted me for problems with e4.5 I can't reproduce (I know where the bugs are though)
[00:32] <ahayzen> hmm
[00:33] <ahayzen> probably best to ask for logs etc
[00:33] <ahayzen> then work out if they are the app or platform
[00:33] <snizzo> ok
[00:34] <ahayzen> jhodapp is your man for media-hub if you have issues :-)
[00:42] <snizzo> ahayzen: usually the app path is always /home/phablet/.local/share/<appname> in every device?
[00:43] <ahayzen> snizzo, define app path ?
[00:44] <ahayzen> thats one of the places for storing stuff, eg IIRC our music app database is there
[00:44] <snizzo> uhm... the path of a folder writable by an app
[00:44] <ahayzen> you have ~/.cache/<appname> and ~/.config/<appname>
[00:44] <ahayzen> yeah those 3
[00:44] <snizzo> yeah, is that standard?
[00:45] <ahayzen> yup, let me see if i can find the docs
[00:45] <mcphail> https://developer.ubuntu.com/en/start/platform/guides/app-confinement/
[00:46] <mcphail> scroll down to the bit about "Runtime Environment"
[00:46] <ahayzen> ah ! thanks mcphail
[08:04] <dholbach> good morning
[10:14] <popey> beuno, in the store, someone shared an app with me, and it says "You can find the package in the Ubuntu Store on your device" but I can't
[10:14] <popey> beuno, the app is not approved yet, is that why?
[11:46] <beuno> popey, the phone might not be authenticating all requests to the store yet (CPI being the key word)
[11:46] <beuno> alecu & co would know
[11:48] <alecu> beuno: popey: I understand that every request to cpi goes authenticated as of OTA-8 (as long as the user has authenticated on the phone, that is)
[11:48] <alecu> beuno: popey: let's ask dobey to confirm that.
[11:49] <popey> I'm on a phone which is beyond ota-8
[11:49] <alecu> popey: beuno: do you mind sharing some package with dobey and me, so we can check this?
[11:50] <popey> mcphail, ^
[11:50] <popey> it's his package he shared with me
[11:51] <alecu> btw, this sounds like a thing we should add to the click scope testplan.
[11:54] <mcphail> popey: do you have the link - I don't have access to it just now. Perfectly happy for it to be shared on a public channel
[11:54] <alecu> popey: any app would do, I think we've only added the signing, and have not properly tested sharing packages.
[11:54] <popey> the link you gave me in pm mcphail ?
[11:54] <mcphail> yes
[11:55] <popey> https://myapps.developer.ubuntu.com/dev/click-apps/share/7d5edce49c405acf4bb661b41d3f2a1249b365d5e10aa303997a48ee2627f5907a4d09168c2b28146dc1/
[11:55] <mcphail> "one link fits all" by the look of things
[11:55] <popey> dobey, ^ alecu ^
[11:55]  * mcphail can't cut and paste as he is IRC'ing fromn his phone :)
[11:55] <popey> file a bug ;)
[11:55] <mcphail> ha!
[11:56] <popey> terminal does have copy :)
[11:56] <popey> but yeah :)
[11:56] <mcphail> popey: not in a shaky taxi, it doesn't
[11:56] <popey> haha :)
[11:56] <davmor2> popey: no need for a bug know issue
[11:56] <popey> I love your dedication to irc
[11:56] <popey> davmor2, I was kidding :)
[11:57] <alecu> mcphail: thanks!
[14:54] <alecu> popey: beuno: found out the issue: the click scope is asking the webclient to sign the url, but it's not passing it the credentials, so it's not being actually signed.
[14:55] <alecu> I expect we'll have this fixed by OTA-9
[14:55] <popey> excellent, thanks alecu
[14:55] <popey> ^ mcphail
[15:01] <alecu> popey: I've reopened the bug for this: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1483866
[15:01] <popey> ok
[15:02] <mcphail> alecu: popey: cheers!
[15:12] <snizzo> appdevs : /home/phablet/.local/share/<appname> is automatically created at app installation?
[15:13] <snizzo> If this isn't the case, is it possible to create the folder via app code?
[15:14] <snizzo> I'm having troubles because on BQ e5 the folder is automatically created, while in e4.5 this doesn't happen apparently
[15:15] <mcphail> snizzo: as far as I know it is supposed to be created. If not, you can create it yourself
[15:16] <snizzo> ok, I'll let you know if I still can't create that folder. (on 4.5 it's not automatically created for my app)
[15:16] <mcphail> hmm. I can test later on a 4.5 if you want
[15:17] <snizzo> mcphail: can you bypass payments? My app is not free
[15:17] <mcphail> snizzo: if it isn't created, it is probably a bug. Thinking about it, I suspect the default apparmor profile wouldn't let you create it yourself
[15:18] <mcphail> snizzo: not sure about the payments thing
[15:18] <snizzo> i can share a click package right?
[15:19] <mcphail> snizzo: doesn't work to share from the store - see above converation :(
[15:19] <snizzo> ahh ok. Well also via mail...
[15:20] <mcphail> snizzo: yep - if it is small enough
[15:20] <snizzo> 104k :D
[15:20] <mcphail> ha!
[15:40] <snizzo> mcphail: is it possible that folder is not created due to "There has been a AppArmor denial for your application."?
[15:42] <mcphail> snizzo: if the system doesn't create it, I'm not sure how your app is supposed to as your app cannot write to .local/share itself
[15:43] <snizzo> at the first run, my app was erroneously trying to write in places it can't write lie /sdcard/
[15:48] <mcphail> snizzo: my log - http://termbin.com/e1er
[15:49] <mcphail> snizzo: cerainly looks as if it is looking in the wrong path
[15:50] <snizzo> mm
[15:50] <snizzo> problem is, that click works perfectly on e5 because there's the folder /home/phablet/.local/share/com.ubuntu.developer.reavsoft.liveshuffle
[15:50] <snizzo> can you check if your device has that folder?
[15:51] <mcphail> doesn't have it
[15:52] <snizzo> there is my problem (my main problem)
[15:53] <snizzo> my apparmor: http://paste.ubuntu.com/13515732/
[15:53] <snizzo> my manifest: http://paste.ubuntu.com/13515741/
[15:56] <snizzo> I could better isolate the problem by disabling parts of the app, but I don't own an e4.5
[15:59] <mcphail> I'm not sure. Is it something to do with the appname? Probably doesn't make a difference but I name my apps as per the guidelines at https://developer.ubuntu.com/en/publish/packaging-click-apps/
[15:59] <mcphail> perhaps your way of naming confuses the install hooks?
[15:59]  * mcphail is just guessing here
[16:03] <snizzo> it could. Well, I don't actually have better ideas...
[16:11] <snizzo> tried to change name and reupload, following guidelines and on myapps web interface
[16:11] <snizzo> "The package name com.ubuntu.developer.reavsoft.livetouch is not valid. It can only contain dashes, numbers and lowercase ascii letters."
[16:12] <snizzo> oh well
[17:13] <snizzo> ahayzen: are there cases in which an app at installation time doesn't have /home/phablet/.local/share/<appname> folder?
[17:14] <ahayzen> possibly, not sure, usually something creates them for us IIRC
[17:14] <ahayzen> eg we just go Settings {} in QML and that makes the .config/<appname>/<appname>.conf maybe that creates the dir as well idk
[17:15] <ahayzen> popey, didn't you have an issue with creating directories with something? And had to bundle mkdir ?
[17:15] <popey> yes
[17:15] <popey> I bundled mkdir, mcphail bundled busybox in his
[17:16] <popey> (which is better)
[17:16] <popey> so I will switch to that in future)
[17:19] <snizzo> ahayzen: I have this app that only on bq e4.5 doesn't create /home/phablet/.local/share/<appname>
[17:19] <snizzo> on e5 and nexus 7 (latest devel) works
[17:19] <ahayzen> i'm not sure why that would be
[17:19] <snizzo> on e4.5 ota 8 doesn't. I've been lucky users sent emails instead of 1star ratings :)
[17:19] <ahayzen> you would need the log files from the device
[17:20] <snizzo> which file exactly shoud I ask for that is the most comprehensive?
[17:20] <snizzo> http://termbin.com/e1er this is mcphail's log on e4.5
[17:22] <ahayzen> snizzo, possibly the syslog for the period when the app is running, this will tell you of any apparmor denials
[17:23] <snizzo> mcphail: ^^ you think I can bother you for this? :)
[17:24] <JanC> can't you create a directory in the app itself instead of using mkdir?
[17:24] <mcphail> snizzo: yep - can you give me 15 minutes and I'll have a look
[17:25] <snizzo> JanC: mm, I'm not using mkdir... I use the standard xdg data folder, but it's not existent (only in e4.5 and I have e5)
[17:46] <mcphail> snizzo - couple of relevant lines - http://paste.ubuntu.com/13516969/
[19:39] <popey> Anyone know of a way to stop the phone from locking, from the command line?
[19:40] <popey> I can stop the screen blanking/dimming, but dont know how to stop it locking
[19:53] <davmor2> popey: no way I don't think the lock is tied to the screen blank, so keeping the screen away stops it locking
[19:54] <davmor2> awake even
[20:25] <popey> davmor2, might go looking for gsettings keys to poke
[20:26] <davmor2> popey: just remove your password that means it doesn't lock
[20:27] <popey> no, i'm talking about the lock when idle
[20:28] <davmor2> popey: ah right with you unity8 guys might be able to help you more with that, don't know when they are back
[20:29] <popey> i may have found it
[20:29] <popey> com.ubuntu.touch.system activity-timeout
[20:30] <popey> hm, that'll stop it locking, but on a fresh flash you get the lock screen, how do you bypass that I wonder
[20:31] <popey> phablet@ubuntu-phablet:~$ gsettings get com.ubuntu.touch.system activity-timeout
[20:31] <popey> uint32 0
[20:31] <popey> phablet@ubuntu-phablet:~$ gsettings get com.ubuntu.touch.system activity-timeout
[20:31] <popey> uint32 60
[20:31] <popey> yup, thats the one
[20:37] <popey> wondering how they do this in the lab
[20:42] <popey> aha! https://lists.launchpad.net/ubuntu-phone/msg08825.html
[23:26] <snizzo> ahayzen: you got e4.5?
[23:27] <ahayzen> snizzo, nope, just a mako (nexus 4) :-/
[23:56] <snizzo> ahayzen: XDG app folders are created when the package is installed, or at the first run?
[23:56] <ahayzen> i don't know i'm afraid
[23:57] <mcphail> snizzo: just home and going straight to bed so i'll have a look at the app tomorrow
[23:58] <snizzo> mcphail: no problem at all
[23:58] <snizzo> thank you a lot :)
[23:58] <mcphail> :)