[09:25] <[tj]> moin
[10:58] <Mirv> oSoMoN: FYI I published qtbase yesterday evening, but it's stuck in proposed because a Perl update triggered something like ten thousand autopkgtests so it's taking a while still..
[11:00] <oSoMoN> Mirv, thanks for the update
[12:26] <namaste123> Hello
[12:26] <namaste123> is there any change to access camera through terminal as /dev/video* ? i would like to setup motion on ubuntu touch but there is no /dev/video available ?
[14:05] <ozzz> hello guys!
[14:05] <ozzz> trying to fetch the source repo
[14:05] <ozzz> getting this error:
[14:05] <ozzz> fatal: SHA1 COLLISION FOUND WITH 965a5c9c8c608ae96c2a71ee27cfa4a94cf318c3 !
[14:06] <ozzz> then it describes with which object is the problem
[14:06] <ozzz> after:
[14:06] <ozzz> error: Cannot fetch aosp/platform/prebuilts/ndk
[14:06] <ozzz> error: Exited sync due to fetch errors
[14:06] <ozzz> ERROR:phablet-dev-bootstrap:Error while trying to sync repository
[14:07] <ozzz>  maybe someone knows how to get rid of that?
[14:11] <ozzz> and also this :
[14:11] <ozzz> fatal: missing blob object '78f1a306239845a1220a1a698eca6e9ca1865591'
[14:11] <ozzz> error: https://code-review.phablet.ubuntu.com/aosp/platform/prebuilts/ndk did not send all necessary objects
[14:23] <tvoss> namaste123, /dev/video* is not generally available on devices, you have to rely on libybris and its compat layer to go via the android HAL
[14:25] <ozzz> tvoss: hello! please maybe you can tell me better way of fetching source code of ubuntu touch
[14:26] <ozzz> phablet-dev-bootstrap phablet - does not works
[14:36] <dobey> phablet-dev-bootstrap worked fine for me last night
[14:37] <dobey> by which i mean ~9 hrs ago
[14:38] <ozzz> dobey: i'm trying with -c option, but nothing helps
[14:38] <ozzz> still gettiong that eroor
[14:39] <dobey> i don't know what -c option is
[14:39] <ozzz> continue
[14:39] <ozzz> or I need to delete phablett folder and sync from start
[14:40] <dobey> i'm just saying i had no prolems pulling the tree 9-10 hrs ago, and i was even able to build for hammerhead
[14:40] <ozzz> then even strange why I getting that error
[14:41] <ozzz> but you agree, here is nothing that I can make wrong
[14:41] <dobey> i don't know why you got a sha1 collision, other than the fact that sha1 has been broken and collisions are possible to create
[14:45] <ozzz> will try to delete phablet catalog and start fetching again
[15:19] <jabawok> gday all
[15:20] <jabawok> does anyone know if theres a way to play podcasts from the SD card using Music app directly? ie without it first copying them into ~/Music/Imported
[15:20] <jabawok> i seem to be getting a heap of duplicate files created under Imported
[15:21] <ahayzen_> jabawok, you should just be able to put them into ~/Music
[15:21] <ahayzen_> if you are trying to play podcasts, i would recommend Podbird
[15:21] <jabawok> is there a way to play them direct from sd card?
[15:21] <jabawok> ie *without* putting them under ~
[15:22] <ahayzen_> and the music-app should be able to see any music that you have on the sd card in the Music folder
[15:22] <[tj]> jabawok: I would avoid podbird
[15:22] <jabawok> i've tried podbird, I tried adding an rss feed and it crapped out
[15:22] <jabawok> several feeds
[15:22] <jabawok> cant get it working
[15:23] <ogra_> make sure to file bugs if you hit such issues, so they can be fixed ;)
[15:23] <jabawok> roger
[15:23] <[tj]> I would love to
[15:23] <[tj]> every time I use it something different breaks
[15:23] <ahayzen_> jabawok, you asked the question on launchpad as well right ? ... I wonder if your mediascanner2 is getting stuck scanning the music on the sd card
[15:23] <ahayzen_> jabawok, are you able to see the music in the local music scope ?
[15:24] <jabawok> have only asked here sofar, will be starting on reporting to launchpad soon
[15:24] <ogra_> cool :)
[15:24] <jabawok> trying the scope
[15:24] <ahayzen_> ah reported something else on lp recently, just recognised the name from my recent emails :-)
[15:25] <jabawok> hi :)
[15:25] <ahayzen_> jabawok, if the scope doesn't work, then we'll have to have a look at the mediascanner log :-)
[15:25] <jabawok> roger, trying to remember how scopes work again
[15:26] <jabawok> i'm guessing the scope is working
[15:26] <jabawok> lol.. podcast directory structure looks ridiculous in this view
[15:26] <jabawok> not suitable at all
[15:27] <ahayzen_> if you can see the music on your sd card from the scope, then mediascanner may not be at fault
[15:27] <jabawok> i can see some podcasts, not sure if all.
[15:27] <jabawok> i'll check that log
[15:27] <[tj]> does the music app support remembering position
[15:27] <[tj]> ?
[15:27] <jabawok> no
[15:27] <ahayzen_> [tj], not remembering position, just your current song and the queue
[15:27] <[tj]> that won't be fun on long podcasts
[15:28] <ahayzen_> remembering the position is trickier.. as we'll be suspended soon
[15:28] <jabawok> i'll be feature requesting that once some of the showstopper bugs get fixed
[15:28] <ahayzen_> hence recommending podbird :-)
[15:28] <[tj]> ahayzen_: but podbird hasn't remembered position for me
[15:28] <ahayzen_> heh, add a feature request there as well :')
[15:28] <nik90> [tj], that's strange...it remember every podcast's position for me
[15:28] <nik90> we had it since v0.1 literally
[15:29] <[tj]> there is a bug in the tracker something along the lines of 'can't play downloaded tracks when leaving wifi'
[15:29] <jabawok> is there a way to play a file off sd card using podbird?
[15:29] <[tj]> I can't get tracks to play at all sometimes
[15:29] <nik90> jabawok, afraid not..infact no confined app can access the sd card
[15:29] <ahayzen_> jabawok, the log should be at ~/.cache/upstart/mediascanner-2.0.log
[15:29] <nik90> so its a system issue
[15:30] <jabawok> thanks ahayzen_
[15:30] <nik90> [tj], that's the bug you're hitting? I remember that bug, haven't tried reproducing it.
[15:30] <[tj]> nik90: I don't know if I am
[15:30] <ahayzen_> jabawok, if you could pastebin that, i can have a look. Just note that it will expose information about all the photos, videos and audio on your device
[15:30] <[tj]> yesterday I was unable to get a track I had played to play again
[15:31] <[tj]> i.e. listen to podcast for 10 minutes, switch to another podcast, first one just hangs
[15:31] <nik90> hmm strange
[15:31] <jabawok> ahayzen_ no .log file but there is mediascanner-2.0.log.1.gz
[15:31] <jabawok> i'll pastebin that
[15:31] <ahayzen_> jabawok, yup that'll do
[15:32] <ahayzen_> jabawok, when your device restarts, it rotates the logs
[15:32] <[tj]> nik90: I am using bluetooth headphones, which might be unusual
[15:32] <[tj]> I can't think why it would be having any effect
[15:32] <ogra_> not unusual but that could be the reason :)
[15:32] <nik90> [tj], maybe you're hitting a system bug..I suggest you try with regular headphones and cross-check with bluetooth headphones
[15:32] <ogra_> BT got a lot better recently but is still far from perfect
[15:33] <[tj]> they are almost unusable right now, volume is really low
[15:33] <nik90> you provide with good testing data, and we help fix the bug
[15:33] <ogra_> (well, at least for the supported devices it got better)
[15:33] <[tj]> I will, this is day 3
[15:33] <nik90> disclaimer, I'm one of Podbird devs.
[15:33] <[tj]> nik90: excellent, I know who to bother with questions
[15:33] <jabawok> nik90: is there a plan to get PodBird unconfined so it can play from SD card?
[15:33] <[tj]> nik90: two things that might look like feature requests
[15:34] <jabawok> my podcast directory wont fit in 16G
[15:34] <[tj]> nik90: import rss feeds
[15:34] <ahayzen_> surely reading from ms2 should give you access to sd card data ?
[15:34] <[tj]> nik90: global downloaded panel
[15:34] <nik90> jabawok, if we get it unconfined, then we cannot distribute it through the store.
[15:34] <[tj]> nik90: are they not present for a reason, or are they just unimplemented?
[15:34] <nik90> [tj], global downloaded panel is next on my list..infact the devel version has it :)
[15:35] <ogra_> jabawok, it should respect a /Music folder on the SD card ... unconfined will likely not happen
[15:35] <nik90> [tj], as for import rss feeds, do you mean adding podcasts by url?
[15:35] <ahayzen_> ogra_, yeah that would be my thought
[15:35] <nik90> if yes, we already have that
[15:35] <jabawok> ah that might work, thanks ogra_..  i'll rsync into /Music on sd
[15:36] <ahayzen_> jabawok, the music app should see stuff in /Music on the sd card
[15:36] <jabawok> ahayzen_ I cant see any errors in the log, still want to take a look?
[15:36] <ahayzen_> jabawok, maybe you have it in the wrong location ^^ ?
[15:36] <nik90> ogra_, question, can confined apps access ~/Music?
[15:36] <ahayzen_> jabawok, but yeah i can take a look
[15:36] <ogra_> not sure it supports that yet, but technically all media playing apps should support such stuff if your SD has the respective dir ... if it doesnt, thats a bug
[15:36] <jabawok> yeah i have an /owncloud_rsync directory
[15:36] <[tj]> nik90: pocket casts will export a file with all my feeds, can I import that?
[15:36] <jabawok> under sd card
[15:36] <ahayzen_> nik90, hmm you may need the music_files_read apparmor
[15:36] <[tj]> there are some podcasts the manual entry won't accept
[15:37] <nik90> [tj], ah that..no we don't support yet
[15:37] <ahayzen_> jabawok, ah, try moving to under the /Music one, then let ms2 rescan or reboot the device
[15:37] <ogra_> nik90, i think there were plans to add confinement options to support that ... not sure where that stands, you have to ask the security team
[15:37] <jabawok> roger ahayzen_
[15:37] <nik90> we do plan on adding opml importing feature
[15:37] <ahayzen_> jabawok, then if that doesn't work, we'll look at the log in greater detail :-)
[15:39] <nik90> ogra_, is jdstrand in the security team? I remember him working on apparmor confinement policies, adding exceptions etc.
[15:39] <[tj]> nik90: okay cool
[15:39] <[tj]> nik90: thanks for answering my questions
[15:39] <jdstrand> the storage framework is not implemented yet (we reviewed the spec, it is on others to implement)
[15:40] <ogra_> nik90, yeah, jdstarnd is the security team ... (and there are some minions) :P
[15:40] <nik90> :D
[15:42] <jabawok> ahayzen_: how long does ms2 reindexing take?  I'm still seeing files get copied to ~/Music/Imported before playing
[15:42] <jabawok> after moving on sd card to under /Music
[15:42] <ahayzen_> jabawok, can take a while, if you tail -f that log you can watch
[15:42] <jabawok> k
[15:43] <jabawok> also, I'm just selecting the file from file manager and opennign with music
[15:43] <jabawok> perhaps thats causing it
[15:43] <ahayzen_> jabawok, yeah that is causing the duplicates
[15:43] <ahayzen_> jabawok, they *should* just appear in the music-app and then you play from there
[15:43] <jabawok> but i really cant use that UI
[15:43] <ogra_> yeah, file-manager will tell the app to import
[15:43] <ahayzen_> jabawok, you are being affected by bug 1413821
[15:44] <jabawok> for navigating a folder structure of untagged files
[15:44] <jabawok> aha... YES
[15:44] <jabawok> i did try a few bug searches
[15:44] <ahayzen_> filemanager uses content-hub for files that have already been scanner by ms2, rather than url-handler
[15:44] <ahayzen_> causing the music-app to import it again
[15:44] <ahayzen_> jabawok, see comment #7 for my suggestion for the file manager :-)
[15:46] <jabawok> re using the Music app UI for locating a podcast file.. thats not happenning lol.
[15:46] <jabawok> I just tried it
[15:46] <jabawok> podcasts dont fit under "artist" or "album"
[15:46] <ahayzen_> use the Songs tab and the search ? :')
[15:46] <jabawok> search for what?
[15:46] <jabawok> i cant remember which one i'm up to
[15:46] <ahayzen_> the title/filename
[15:46] <jabawok> i need to see the folders and files
[15:46] <ahayzen_> yeah... i feel your pain, music isn't really suited for podcasts
[15:47] <ahayzen_> if File Manager used url-handler we wouldn't have this issue :-)
[15:48] <jabawok> Thanks for locating that bug # for me, good to see its being thought about
[15:49] <ahayzen_> jabawok, the other thing you could do from the music-app is create a playlist for that podcast, but that could be quite fiddly to find the tracks
[15:49] <jabawok> yeah a reasonable idea
[15:49] <jabawok> easy to implement a cron script
[15:50] <jabawok> does ubuntu touch have a cron implementation?
[15:50] <ahayzen_> jabawok, our playlists are currently just a sqlite db in ~/.local/share/com.ubuntu.music/ .. eventually i want to get it to m3u's
[15:50] <jabawok> oh right
[15:50] <jabawok> thats more tricky
[15:50] <jabawok> also
[15:50] <jabawok> crontab: installing new crontab
[15:50] <jabawok> :(
[15:50] <ogra_> wont work
[15:51] <jabawok>  ../var/spool/cron/: mkstemp: Read-only file system
[15:51] <jabawok> yep
[15:51] <ogra_> the crontab dir for user crontabs is readonly
[15:51] <jabawok> i could have done it on a desktop and rsynced the playlists accross via the desktop's crontab
[15:51] <ogra_> and system crontabs come from packages so they are living in the readonly space too
[15:51] <jabawok> but sqlite..
[15:51] <jabawok> hmm
[15:52] <ahayzen_> you could do a python script
[15:52] <ogra_> would be worth a bug against lxc-android-config to add that dir to writable dirs for cron stuff
[15:53] <jabawok> ok will do
[15:54] <jabawok> nik90, while you're around.. could you try adding this feed to podbird?
[15:54] <jabawok> www.badvoltage.org/feed/ogg/
[15:55] <jabawok> Am I doing something wrong?
[16:04] <jabawok> ogra_: is this wording correct for the bug report:
[16:04] <jabawok> "/var/spool/cron/ should be readwrite for phablet user"
[16:04] <ogra_> yeah
[16:04] <jabawok> k
[16:05] <jabawok> https://bugs.launchpad.net/ubuntu/+source/lxc-android-config/+bug/1552774
[16:05] <ogra_> well, actually you can only mke it rw in general
[16:05] <ogra_> but that will be sufficient
[16:05]  * ogra_ confirms
[16:05] <jabawok> thanks!
[16:06] <jabawok> I'd use aplay or whatnot on commandline for podcasts, but it frigging gets suspended when you so much as switch task
[16:07] <jabawok> i'm going to sink some time into solving that, suspending background tasks is not something I ever want
[16:07] <peat-psuwit> mariogrip: does the ubports' system-image server tag stable OTA number?
[16:08] <tvoss> jabawok, so what is the actual issue you are experiencing?
[16:08] <jabawok> tldr?
[16:08] <tvoss> jabawok, yup
[16:08] <jabawok> playing podcasts from sd card
[16:08] <jabawok> a few issues
[16:09] <jabawok> one of them: choosing the podcast from filemanager causes duplicates under ~/Music via the music app
[16:10] <tvoss> jabawok, okay, that's the import issue iiuc
[16:10] <ahayzen_> which is basically bug 1413821
[16:11] <jabawok> yep that bug
[16:11] <ahayzen_> IIRC docviewer has the same issue
[16:11] <tvoss> jabawok, what do you need cron for?
[16:12] <jabawok> oh was, going to script something to create playlists nightly
[16:12] <jabawok> to work around the above issue
[16:12] <jabawok> but in general, crontab is something i'll be using a lot
[16:12] <jabawok> syncing files etc
[16:13] <ogra_> tvoss, mny people that do scripting use cron on the phone ... and often that dir being readonly is the only reason for them to make the device writable ... i think it is valid to simply allow user crontabs to be created there (and the fix is super simple)
[16:13] <jabawok> (seasoned n900 user here)
[16:13] <tvoss> jabawok, okay, so the obvious ways of cron usage then
[16:13] <ogra_> cron cant wake up the device (we tested that) so there is no risk of battery drain or any such thing
[16:14] <jabawok> oh :/
[16:14] <jabawok> that severely limits it's usefulness then
[16:14] <ogra_> anacron will just replay missed cron events when the device wakes up
[16:16] <jabawok> even better would be allow cron to wake up the device
[16:16] <ogra_> wont happen i guess
[16:16] <jabawok> we should tie these "advanced" user features to dev mode or something
[16:17] <ogra_> well, happy cron patching :)
[16:17] <jabawok> this gets rid of the whole "gotta dumb it down for the stupid users who will complain about battery drain"
[16:17] <tvoss> jabawok, patches welcome, or have simple app that registers for push notifications and send those regularly from your desktop machine (have a cron job there)
[16:17] <ogra_> right
[16:17] <jabawok> interesting option
[16:18] <ogra_> i could imagine that we rather provide a hook for that in the future than allowing cron to wake up the HW
[16:18] <ogra_> i.e. long term
[16:18] <jabawok> yeah i'll have some time off from work soon, so will be looking into creating a few patches, if nothing else for myself
[16:18] <tvoss> jabawok, it's actually a much nicer way of doing synchronization
[16:19] <jabawok> i'll look into the push notifications thing, that might be very useful
[16:20] <jabawok> thanks all for your help today btw
[17:09] <streulma> hello my Nexus 6 device cannot be ported to Ubuntu Touch ?
[17:11] <k1l_> streulma: last state i heard from one year ago was: no
[17:13] <streulma> I cannot install the generic image ?
[17:15] <k1l_> no. on arm there is no such thing like generic iso we have for the pc. you need an image made for that device matching bootloader, drivers etc.
[17:50] <dobey> streulma: nexus 6 can be ported; it just requires work
[17:54] <edude03> dobey still not Z1 image?
[17:55] <dobey> edude03: i don't know anything about the z1
[17:55] <edude03> It's weird, they've been touting the Z1 as the next supported phone but I can't find anything about it
[17:56] <pmcgowan> mhall119, do we have a channel for the z1 yet?
[17:56] <pmcgowan> I know its not quite done
[17:56] <mhall119> pmcgowan: not that I know of, that was victorp's team working on it though
[17:57] <pmcgowan> ondra, do you know
[17:58] <ondra> pmcgowan no channel
[17:58] <ondra> pmcgowan branch in gerrit, so you can build it yourself
[17:58] <ondra> pmcgowan but no official channel
[17:58] <ondra> pmcgowan no time at all now, to polish Z1 more I'm afraid
[17:59] <ondra> pmcgowan once I have some time, I need to rebase, since sony pushed lot of changes I need to catch with
[18:00] <pmcgowan> ok edude03 was asking earlier
[18:33] <peter-bittner> I need some help with click to build a web app click package.
[18:33] <peter-bittner> When I run `click build .` (something that worked a few months ago) I get the following error:
[18:33] <peter-bittner> Now executing: click-review ./appear-in.peter-bittner_0.1_all.click
[18:34] <peter-bittner> Errors
[18:34] <peter-bittner> ------
[18:34] <peter-bittner>  - security_policy_version_matches_framework (appear-in.apparmor)
[18:34] <peter-bittner> 	Invalid framework 'ubuntu-sdk-15.04'
[18:35] <peter-bittner> Actually, the whole output is: (which may give more clue of what is wrong)
[18:35] <peter-bittner> $ click build .
[18:35] <peter-bittner> WARNING:root:Ignoring missing framework "ubuntu-sdk-15.04"
[18:35] <peter-bittner> Now executing: click-review ./appear-in.peter-bittner_0.1_all.click
[18:35] <peter-bittner> Errors
[18:35] <peter-bittner> ------
[18:35] <peter-bittner>  - lint_maintainer_domain
[18:35] <peter-bittner> 	(EMAIL NEEDS HUMAN REVIEW) email domain too long 'django@bittner.it' for app name 'appear-in.peter-bittner'
[18:35] <peter-bittner>  - security_policy_version_matches_framework (appear-in.apparmor)
[18:35] <peter-bittner> 	Invalid framework 'ubuntu-sdk-15.04'
[18:35] <peter-bittner> ./appear-in.peter-bittner_0.1_all.click: FAIL
[18:35] <peter-bittner> Successfully built package in './appear-in.peter-bittner_0.1_all.click'.
[18:36] <peter-bittner> Why `WARNING:root:Ignoring missing framework "ubuntu-sdk-15.04"`? I already built a couple of click packages in the past.
[18:36] <mhall119> mariogrip: so I asked around about debugging tools/processes to help you, and unfortunately there doesn't seem to be anything other than what you're already doing
[18:36] <k1l_> peter-bittner: better use a pastebin like paste.ubuntu.com for large numbers of lines.
[18:37] <mhall119> mariogrip: but abeato has said that you can ping him whenever you need help with it and he will try and get you through
[18:38] <mhall119> we can see if the Fairphone guys have anything on their end that might help
[18:38] <peter-bittner> k1l_: Thanks for the hint.
[18:44] <dobey> marlinc: where did you say the syslog was accessible from recovery at?
[18:44] <dobey> err
[18:44] <dobey> mariogrip: ^^ that was for you
[18:45] <mariogrip> dobey: /data/system-data/var/log/syslog
[18:45] <dobey> mariogrip: i don't have a /data/system-data/ in recovery
[18:46] <genii> Besides which, once they see how much you can actually get done, that will become the new normal pace
[18:46] <mariogrip> mhall119: ack
[18:46] <mariogrip> dobey: is /data mounted?
[18:47] <dobey> mariogrip: do i have to manually mount anything? there is a /data/ dir, and /data/media, but both empty
[18:47] <mariogrip> dobey: do mount /data
[18:48] <dobey> mariogrip: what should i look for there?
[18:49] <mariogrip> mhall119: I could not find any useful logs from the kernel about the screen/sleep issue... I think we need to send it to them without logs
[18:49] <mariogrip> I have tried for days now...
[18:50] <dobey> mariogrip: didn't you guys have the same issue on fairphone a few weeks ago too?
[18:50] <mariogrip> dobey: I has the same problem with oneplus one running on 5.1, but not fairphone
[18:50] <mariogrip> but that was some problems with the android hal
[18:51] <mhall119> mariogrip: ok
[18:51] <mariogrip> and I don't think this is the same issue since it was working before
[18:51] <dobey> mariogrip: i recall mhall119 having the same issue i'm having, a few weeks ago, with maliit/unity8-dash constantly crashing, on fairphone iirc
[18:52] <mariogrip> oh, what you can try is chmod 777 /dev/* (777 just to test) to see if there might be some problems with permission
[18:52] <mariogrip> dobey: ^
[18:52] <mhall119> dobey: that was from quite some time ago, IIRC it was a conflict between libhybris and mir or something
[18:53] <mariogrip> Yeah, that issue what also in the android hal
[18:53] <mhall119> or the permission thing, mariogrip added a udev rule that fixed that, IIRC
[18:53] <dobey> Jul 27 21:39:27 ubuntu-phablet kernel: [   18.713349]  MSM8974 Media1: asoc: MSM8974 Media1 no valid capture route from source to sink
[18:53] <dobey> hmm
[18:53] <mariogrip> that seems like audio
[18:53] <dobey> there are a LOT of those
[18:54] <mariogrip> could you send me the full log?
[18:56] <dobey> maybe
[19:08] <peter-bittner> Where can I find a list of available policy_groups?
[19:09] <peter-bittner> It's about .click package development for ubuntu touch.
[19:10] <dobey> peter-bittner: the SDK UI has the list
[19:11] <peter-bittner> Command line or website URL anybody? The UI is just horrible to find stuff. Sorry. I've looked for ages, can't find the list (anymore).
[19:12] <peter-bittner> I've added "video" and the web app isn't asking for the permission to use the camera. That's my actual problem.
[19:17] <pmcgowan> peter-bittner, https://developer.ubuntu.com/en/start/platform/guides/app-confinement/
[19:18] <dobey> video isn't for using the camera i don't think
[19:18] <dobey> but when you "open" the apparmor.json file or foo.apparmor or whatever it's called, in the SDK, it should show a list of things you can select to add to the profile
[19:19] <dobey> for camera, you need camera
[19:19] <dobey> i'm not actually sure what video is for
[19:20] <peter-bittner> pmcgowan: Thanks, that URL is cool. "camera" isn't working, `click build .` complains ("found unusual policy groups: camera")
[19:20] <pmcgowan> hmm
[19:20] <dobey> maybe because of the policy version being used
[19:21] <dobey> also, there is #ubuntu-app-devel which is a bit more appropriate for sdk/app devel questions like these
[19:21] <peter-bittner> Interestingly, there is no "1.3" folder in my /usr/share/apparmor/easyprof/templates/ubuntu/
[19:22] <dobey> in the host, or in your click chroot?
[19:22] <peter-bittner> Oh, another IRC channel? I think I read "#ubuntu-touch" on the developer website.
[19:22] <peter-bittner> dobey: On the host.
[19:23] <dobey> i think click-reviewer-tools is run in the chroot, and i think it uses a different cache file for policy group checking, rather than poking at the live easyprof template installs
[19:30] <peter-bittner> dobey: Hmmm, alright. I'm just following some instructions from the online docs.
[19:30] <peter-bittner> dobey: How can I get a list of available policy_groups from withing the chroot environment? What's the appropriate command?
[19:31] <dobey> it's shown in the page that pmcgowan linked
[19:34] <peter-bittner> dobey: I see. Though my local click-review complains. Whatever. It also complains about the "lengthy email address" which is none. Weird.
[20:03] <dobey> mariogrip: do you know how i could build android 5.1.1 kernel tree for hammerhead to try?
[20:05] <mariogrip> dobey: I don't think the kernel is the problem (it's pretty similar to 4.4 kernel), but maybe the problem lays in the hal
[20:06] <mariogrip> dobey: did you try chmod 777 /dev/* to see if it's a permission issue?
[20:07] <dobey> mariogrip: /dev/* in the android container? or /dev/* in ubuntu?
[20:07] <mariogrip> dobey: in ubuntu
[20:08] <mariogrip> chmod it and restart lightdm
[20:08] <dobey> mariogrip: and where is that device tree in recovery?
[20:08] <dobey> i can't use adb while unity8 is constantly crashing
[20:08] <mariogrip> did you try the adb at boot?
[20:10] <dobey> the hardware is too overloaded to type
[20:11] <dobey> Mar  3 13:34:17 ubuntu-phablet kernel: [   55.745668] WARNING: at /build/buildd/linux-hammerhead-3.4.0/drivers/video/msm/mdss/mdss_mdp_intf_cmd.c:440 mdss_mdp_cmd_wait4pingpong+0xbc/0x124()
[20:11] <dobey> hmm
[20:11] <mariogrip> oh
[20:12] <mariogrip> I wish I had a nexus 5 so I could fix this, it's kinda hard for me without something to debug on
[20:12] <dobey> http://pastebin.ubuntu.com/15276086/
[20:13] <mariogrip> oh, I see
[20:13] <mariogrip> give me a minute to test something
[20:13] <dobey> sure
[20:14] <edude03> ondra any idea what works / doesn't?
[20:14] <edude03> thanks for redirect pmcgowan
[20:28] <mterry> tedg, heyo
[20:28] <mterry> tedg, so that error about "Unable to find keyfile for legacy application: gallery" ?
[20:29] <tedg> Howdy
[20:29] <tedg> Uh oh, sounds like it might be my fault :-)
[20:29] <mterry> tedg, I tested and I'm passing "com.ubuntu.gallery_gallery_2.9.1.1260" to Application::create() before getting that
[20:30] <tedg> Hmm, that sounds good. What is the appId() property afterwards?
[20:32] <n1cky_> is building on 5.1.1 more stable now?
[20:32] <mterry> tedg, it never returns I guess, it aborts with an exception
[20:32] <n1cky_> or even 5.0? I've been yearning to get shamu running ubuntu touch
[20:35] <tedg> mterry: Ah, okay. I think I understand what's happening.
[20:35] <tedg> mterry: I'm checking to see if it is a legacy app first, but since we install the backwards compatible desktop files in ~/.local/share/applications it is detecting it there.
[20:36] <tedg> mterry: And then creating that instead of a click app
[20:36] <mterry> tedg, yup, I have a desktop file there
[20:36] <tedg> We need to kill those. They're just all problems :-(
[20:40] <tedg> mterry: Pushed r256 that switches the checking order.
[20:40] <mterry> tedg, nice, let me try
[20:46] <mterry> tedg, fixed it for me
[20:47] <tedg> Woot! Hopefully for bregma too!
[20:48] <ondra> edude03 on Z1?
[20:49] <edude03> Yeah I want to get (another) Z1 to try Ubuntu touch on
[20:49] <ondra> edude03 you can test/dual boot it if you want
[20:49] <ondra> edude03 wifi works, telephony I think to some extend
[20:50] <ondra> edude03 don't thing audio works
[20:50] <dobey> tedg: the only real problem we have with .desktop files, is that we keep having to write new parsers for them
[20:50] <ondra> edude03 BT can't remember if I already patched kernel or not
[20:51] <edude03> I want BT/Convergence/Wifi :)
[20:51] <edude03> By Convergence I mean HDMI out I guess
[20:52] <tedg> dobey: https://github.com/mvo5/snappy/blob/feature/desktop-files/snappy/desktop.go#L40
[20:53] <dobey> i'm not even going to look at that
[20:54] <dobey> mariogrip: did you get to test that something? :)
[20:56] <mariogrip> dobey: is dbug spamming syslog on your device?
[20:56] <mariogrip> dbus*
[20:57] <dobey> mariogrip: not really, no; kernel is i guess
[20:58] <mariogrip> dobey: ok, I will try to build a new updated kernel for your device, but I don't know if that will work
[20:58] <dobey> mariogrip: you mean android 5?
[20:58] <mariogrip> dobey: no, then i need to rebuild the hal to
[20:58] <mariogrip> then i kinda need a debug device, without it will be really hard
[20:58] <dobey> mariogrip: what changes to android 4 then?
[20:59] <dobey> mariogrip: i don't expect you to fix the problem; i'm just looking for some help on figuring it out and pointing me where to look.
[21:01] <mariogrip> logcat (/system/bin/logcat) syslog, dmesg, /home/phablet/.cache/upstart/unity8.log /var/log/lightdm/
[21:01] <mariogrip> that's some places to check
[21:01] <mariogrip> but, it's kinda hard without adb
[21:02] <dobey> unity8-dash.log just has the fatal error message
[21:02] <mariogrip> what do that say?
[21:03] <dobey> no mir socket to connect to
[21:04] <mariogrip> what do unity8.log say?
[21:04] <dobey> mariogrip: anyway, were you going to change the tree in some way to build it? or just build a fresh checkout of phablet?
[21:05] <mariogrip> dobey: I was to pull a fresh tree from google
[21:05] <mariogrip> and apply the ubuntu configs
[21:05] <dobey> http://pastebin.ubuntu.com/15276416/
[21:06] <mariogrip> there we go!  Failed to choose EGL config: EGL_NOT_INITIALIZED
[21:06] <mariogrip> then, we need to check logcat
[21:06] <dobey> doesn't logcat just cat logs?
[21:07] <mariogrip> no, logcat is android's loger
[21:07] <mariogrip> http://developer.android.com/tools/help/logcat.html
[21:07] <dobey> oh. can i poke it from recovery?
[21:07] <mariogrip> no, we need to do that from ubuntu
[21:07] <dobey> i'm guessing this is due to the trace i pastebined earlier though
[21:07] <dobey> well that's a problem :(
[21:08] <mariogrip> yeah...
[21:09] <mariogrip> humm, can you start ubuntu let it run a minute then do adb shell stop lightdm
[21:09] <mariogrip> then it will stop lightdm and stop unity8 and mir
[21:11] <dobey> i can try i guess
[21:12] <dobey> mariogrip: "unknown job: lightdm"
[21:13] <mariogrip> ok, then just to adb /system/bin/logcat and see if you can get something out
[21:13] <mariogrip> adb shell /system/bin/logcat
[21:17] <mariogrip> dobey: did you see something on the screen when you ran adb shell stop lightdm
[21:17] <dobey> mariogrip: the bootsplash is on the screen is all
[21:17] <dobey> it just sits at bootsplash forever
[21:17] <mariogrip> ubuntu bootsplash or google?
[21:18] <dobey> ubuntu
[21:18] <mariogrip> oh, then lightdm should be running
[21:19] <mariogrip> dobey: did you try adb shell /system/bin/logcat ?
[21:21] <dobey> mariogrip: not yet, if i just let it sit there whil talking on irc, it will get very hot, so i keep rebooting it to fastboot when things don't work
[21:21] <dobey> and i'm doing other things too :)
[21:21] <mariogrip> dobey: :)
[21:31] <dobey> mariogrip: this is unbelievably slow; and it didn't output much before dropping connection
[21:31] <dobey> --------- beginning of /dev/alog/main
[21:31] <dobey> that's all that got printed to my terminal
[21:34] <mariogrip> dobey: ok, then i need to think out a different method to capture logcat logs
[21:35] <dobey> why would egl suddenly have stopped working? that doesn't make any sense doe sit?
[21:36] <mariogrip> tbh I have no idea why it would just stop working after an update
[21:40] <dobey> must be a hybris issue
[22:11] <mariogrip> dobey: maybe