[10:05] <hjb> Howdy. i temporarily have to use an android phone - how do i migrate sms/contacts from MX4 to it?
[10:06] <hjb> any well known /approved way available?
[10:06] <hjb> it'd be best not involving google or any other "online" service
[10:44] <hjb> hmm, noone?
[10:47] <Saviq> hjb, I can tell you where the data goes on a Ubuntu phone - ~/.local/share/history-service/history.sqlite
[10:47] <Saviq> it's a simple sqlite database, so extracting the data from there should be relatively easy
[10:47] <Saviq> how to import that into Android, I'm afraid I don't know
[10:48] <Saviq> contacts would probably be easiest to transfer via Google indeed, or any other CardDAV service
[10:48] <Saviq> https://syncevolution.org/ is used for that
[13:02] <hjb> Saviq: ok, that's helpful. I've got an own carddav server (radicale), so that should be usable for contacts
[13:02] <hjb> Saviq: i'll take a look at it, thanks for now
[13:03] <Saviq> hjb, for a one-time transfer, syncevolution lets you export to a vcard file, that should be importable to android
[13:04] <hjb> Saviq: do i install syncevolution directly on my MX4?
[13:04] <Saviq> hjb, it's already there
[13:05] <hjb> oh
[13:05] <hjb> nice :)
[13:05] <hjb> never noticed that
[13:05] <hjb> where can i find it?
[13:06] <Saviq> hjb, it's a command-line tool
[13:09] <hjb> sry for asking stupid questions, i've already found it
[13:09] <hjb> that's great, i'll use that
[14:18] <mterry> bfiller: most u8 apps will need a rebuild at some point to work with latest desktop-launch setting the new MIR_SOCKET location, heads up
[15:04] <bfiller> mterry, ack renatu working on it
[15:04] <renatu> mterry, I should publish new packages today
[15:07] <mterry> renatu: cool -- sorry for noise, but I just realized we weren't pointing at interface location because XDG_RUNTIME_DIR in snaps are namespaced
[15:07] <mterry> so the default socket path was wrong
[15:12] <mterry> kenvandine: I'm trying to get pasteboard to work in u8 snaps...  copy seems to work.  But the app is calling RequestPasteByAppId for pasting, which doesn't seem to exist in content-hub and I can't find reference to it anywhere, not sure where the client is calling that
[15:12] <mterry> Any ideas?
[15:15] <kenvandine> mterry, that is provided by the service
[15:15] <kenvandine> oh
[15:15] <kenvandine> by AppId?
[15:16] <mterry> kenvandine: yes.  But I don't see any version of RequestPaste.  Just GetLatestPasteData and GetPasteData
[15:17] <kenvandine> mterry, the hub lib provides requestPasteById which calls GetPasteData
[15:17] <mterry> kenvandine: right but I'm seeing RequestPasteByAppId on dbus (apparmor denial for it)
[15:17] <kenvandine> that's wrong :)
[15:18] <kenvandine> nothing has changed in qtubuntu has it?
[15:18] <mterry> kenvandine: also -- a confined app, what should it be allowed to call?  GetLatestPasteData or GetPasteData or both?
[15:18] <kenvandine> both
[15:18] <mterry> kenvandine: nothing to my knowledge...  I couldn't find the string RequestPasteByAppId anywhere
[15:18] <kenvandine> mterry, any chance you have artmello's clipboard silo installed?
[15:19] <mterry> kenvandine: seems unlikely...
[15:19] <kenvandine> oh... maybe the SDK
[15:19] <kenvandine> i think his changes for the clipboard might have landed in the uitk
[15:19] <kenvandine> but not content-hub
[15:19] <kenvandine> mterry, does paste with ctrl-v work?
[15:20] <mterry> kenvandine: yup -- I bzr pulled ui toolkit and I see a call to RequestPasteByAppId
[15:20] <mterry> kenvandine: ctrl-v... let me try
[15:20] <mterry> kenvandine: no it just prints 'v' but that might be a unity8 snap problem, not a real issue
[15:21] <kenvandine> sounds like it
[15:21] <mterry> kenvandine: yeah composing is broken
[15:21] <mterry> kenvandine: is content-hub api changing then?
[15:21]  * mterry wants to make sure he encodes right API in apparmor profile
[15:21] <kenvandine> additional dbus API
[15:21] <kenvandine> to handle the clipboard UI
[15:21] <kenvandine> which was held up waiting for uitk staging to land
[15:22] <kenvandine> artmello has a silo which i think is ready to land
[15:22] <kenvandine> it'll open the clipboard in a trust prompt
[15:22] <mterry> kenvandine: OK so I add that call and I should be fine (once content-hub silo lands)?
[15:22] <kenvandine> i think so
[15:22] <kenvandine> artmello is out today, he knows better than i
[15:23] <kenvandine> mterry, i'm excited to hear copy works though :)
[15:24] <mterry> kenvandine: heh all nice and confined too
[15:24] <kenvandine> sweet :)
[15:26] <mterry> kenvandine: what is PasteSelected?  New signal as well?
[15:26] <mterry> kenvandine: can I see new content-hub silo?
[15:26] <mterry> i.e. which num is it?
[15:27] <mterry> https://bileto.ubuntu.com/#/ticket/2179
[15:28] <kenvandine> yeah, that's it :)
[15:28] <kenvandine> i was just looking for that
[15:29] <kenvandine> mterry, look at the changes to com.ubuntu.content.Service.xml
[15:29] <mterry> kenvandine: ok a lot of new api there...  which should apps be able to call -- RemovePaste, GetPasteSource(?), GetAllPasteIds(?), RequestPasteByAppId, do they also get to call SelectPasteForAppId?
[15:29] <kenvandine> mterry, i think you need all of the new ones except RemovePaste
[15:30] <mterry> ok
[15:30] <kenvandine> that would only be fore the clipboard UI
[15:30] <mterry> kenvandine: clipboard ui that lives outside the app, right?
[15:30] <kenvandine> right
[15:30] <kenvandine> separate app
[15:31] <kenvandine> SelectPasteForAppId might be used for filtering in the clipboard app
[15:33] <mterry> kenvandine: ok adding all but RemovePaste, thanks
[15:33] <kenvandine> cool
[15:33] <mterry> kenvandine: no api was deprecated?
[15:33] <kenvandine> no
[15:33] <kenvandine> only additional
[15:33] <mterry> kk
[16:12] <renatu> popey, could you review this? https://code.launchpad.net/~renatofilho/ubuntu-docviewer-app/no-file-hint/+merge/316865
[16:19] <mterry> kenvandine: what is HandlerActive in content-hub?  I should allow that too?
[16:19] <kenvandine> mterry, yes
[16:20] <kenvandine> we use that to check to see if there are transfers to handle when the app gets activated
[16:22] <mterry> kenvandine: hmm something isn't working right for me -- I can copy and paste inside an app but not between apps -- what might I be missing?
[16:22] <kenvandine> mterry, actually HandlerActive isn't related to copy/paste just transfers
[16:23] <kenvandine> mterry, capture the dbus traffic
[16:23] <kenvandine> mterry, and which apps are you testing with?
[16:23] <mterry> kenvandine: webbrowser-app and lonewolf (a game snap that I made)
[16:23] <kenvandine> are either using xmir?
[16:24] <mterry> kenvandine: no
[16:24] <kenvandine> ok, then if it works within the same app it should work between apps
[16:24] <kenvandine> capture the dbus traffic and pastebin it please
[16:24] <mterry> ugh capturing dbus traffic
[16:25] <kenvandine> mterry, i want to make sure the copy is getting put on the stack
[16:25] <mterry> kenvandine: I can never remember the dbus-monitor args to get that right without 10000 lines
[16:25] <kenvandine> mterry, me either :)
[16:25] <kenvandine> just monitor the user session
[16:25] <mterry> kenvandine: is there a way to make content-hub verbose?
[16:25] <kenvandine> and look for stuff on com.ubuntu.Paste
[16:25] <kenvandine> you can set CONTENT_HUB_LOGGING_LEVEL=2
[16:25] <kenvandine> for the service
[16:26] <kenvandine> i don't recall the systemd way to do that...
[16:26] <kenvandine> systemctrl set-environment
[16:26] <kenvandine> or something
[16:26] <kenvandine> mterry, it'll be extremely verbose :)
[16:26] <kenvandine> mterry, you'll also need to restart the service
[16:36] <mterry> kenvandine: should the array of bytes I see on dbus be simple for a text/plain?  Or be a bunch of weird bytes?
[16:36] <mterry> bunch of zeros and such
[16:36] <kenvandine> mterry, it's mimeData
[16:37] <mterry> ok let me get a clean log and then will pastebin it
[16:38] <renatu> popey, one more: https://code.launchpad.net/~renatofilho/reminders-app/snap-mir/+merge/316876
[16:43] <mterry> kenvandine: ah...  it looks like content-hub is crashing is the problem  :P
[16:43] <kenvandine> oh joy
[16:43] <kenvandine> that would explain it :)
[16:44] <mterry> kenvandine: so back to the dbus interface for a sec -- is there any part of the com.ubuntu.content.dbus.Service interface that should be restricted when confined?
[16:44] <mterry> trying to decide if I allow all or poke holds
[16:44] <mterry> *holes
[16:44] <kenvandine> allow all
[16:44] <kenvandine> that's what we did for clicks
[16:46] <mterry> kenvandine: thx.  Will worry about crasher later
[16:46] <kenvandine> mterry, ok
[16:50] <mterry> tedg_: is there a plan to allow snaps to register url-dispatcher protocols with the u8 snap?
[16:50] <mterry> is that a hook thing?
[16:52] <renatu> popey, another one :D, https://code.launchpad.net/~renatofilho/ubuntu-filemanager-app/snap-mir/+merge/316877
[16:53] <tedg_> mterry: Yeah, a hook thing. We need interface hooks for it.
[17:43] <taiebot> I have seen people flashing their Pro 5 with staging does this work with Nexus 4 tried a week ago and it did not boot. Do you think i need to wipe all the data to boot?
[17:45] <dobey> taiebot: i think you should not bother trying to flash staging. use stable or rc-proposed
[17:49] <taiebot> dobey: being on rc-proposed for almost 2 years and to not see  my phone with it's daily morning notification is killing me. Feels like I am  on rehab at the moment :-)
[17:51] <dobey> taiebot: well, flashing staging will just get you a phone that doesn't work as a phone
[17:51] <dobey> or well, maybe the phone app will be the only thing that works, perhaps
[17:53] <taiebot> dobey: So it should boot because last time i tried it just did not get past the google logo
[17:54] <dobey> taiebot: i don't know if it boots or not. but you shouldn't be using it.
[17:55] <dobey> it doesn't support clicks, it doesn't support snaps, lots of things don't work because it's in the middle as a way for us to test transition to snaps on a few devices, but for some reason apparently is getting built for a lot of devices
[18:20] <daker> hi guys does anyone know if an app need to be in the store to be able to send a push notification ?
[18:21] <dobey> it doesn't afaik
[18:22] <dobey> push notifications are sent by a server, to the push server, which relays it to the user's device(s) based on the token being used
[18:23] <dobey> the push client on the device interprets the metadata of the notification, and calls the appropriate app's helper if it exists on the device
[18:23] <dobey> at least, that's how i understand push notifications to work
[18:34] <daker> ya because even with all the client side config for the app, it fails to get a token
[18:35] <dobey> well what's the error?
[18:47] <daker> dobey: https://paste.ubuntu.com/23962105/
[18:48] <daker> i do have the permission on both the app & the helper
[18:51] <dobey> daker: your "app" is not packaged as a click and side-loaded i guess? i don't see any valid APPID mentioned in that entry
[18:51] <daker> dobey: installed via the IDE
[18:52] <dobey> ok, well that is clearly a local issue, i guess something with the apparmor policy json needs to be changed
[19:02] <daker> you mean with app ? because i checked sil's app(which have push notification working) it has the same apparmor config
[19:55] <dobey> daker: yeah. well if it works with another app, then maybe there is a bug somewhere, or the profile didn't get generated correctly, or something. did you try rebooting?
[20:13] <daker> dobey: no i didn't, i'll try it
[20:25] <timppa> evening
[20:25] <timppa> morning or good day :)
[20:26] <timppa> anyone kind enough to assist on flashing Ubuntu M10 tablet? Seems that my laptop is not detecting the tablet in recovery mode
[20:27] <timppa> What could be the issue?
[20:27] <dobey> the stock recovery is locked without adb
[20:28] <dobey> you need to get the recovery image from the wiki page and pass it to ubuntu-device-flash with the --recovery-image option
[20:28] <dobey> !devices | timppa
[20:28] <timppa> dobey: that explains...
[20:28] <dobey> find the correct recovery img for your device there (either frieza or cooler)
[20:29] <timppa> yep, it's Frieza
[20:32] <timppa> dobey: do I need to be in fastboot mode to flash the recovery?
[20:32] <timppa> dobey: or how that should be done?
[20:33] <dobey> timppa: are you wiping all user data off the device too?
[20:35] <timppa> dobey: that was the idea
[20:35] <dobey> timppa: then yes, in fastboot mode using the --bootstrap option
[20:36] <timppa> dobey: ok
[20:38] <timppa> dobey: seems to work
[20:38] <timppa> dobey: pushing in the staging channel :)
[20:39] <timppa> dobey: Thank you!
[20:47] <timppa> I actually even boots up!
[21:40] <mterry> tedg_: what piece of code exposes the org.freedesktop.Application.Open method?  (for passing url-dispatcher urls)
[21:40] <mterry> I'm not seeing it in my confined webbrowser-app
[21:55] <tedg_> mterry: Not sure exactly, I think it's part of qtubuntu
[21:56] <mterry> tedg_: I got it to be exposed if I set APP_ID=webbrowser-app
[21:56] <tedg_> Huh, okay...
[21:56] <mterry> tedg_: still not sure where, but good enough for now
[21:57] <tedg_> mterry: It might be using that envvar for the path or something like that.