/srv/irclogs.ubuntu.com/2017/02/09/#ubuntu-touch.txt

=== Mister_Q_ is now known as Mister_Q
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== LiQiong_Lee1 is now known as LiQiong_Lee
=== chihchun_afk is now known as chihchun
=== raj` is now known as raj
=== LiQiong_Lee1 is now known as LiQiong_Lee
=== LiQiong_Lee1 is now known as LiQiong_Lee
=== ecloud is now known as ecloud_wfh
=== durksauce_ is now known as durksauce
=== WizardGed_ is now known as WizardGed
=== LiQiong_Lee1 is now known as LiQiong_Lee
=== JanC_ is now known as JanC
=== LiQiong_Lee1 is now known as LiQiong_Lee
=== Piece_Maker is now known as Acou_Bass
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
hjbHowdy. i temporarily have to use an android phone - how do i migrate sms/contacts from MX4 to it?10:05
hjbany well known /approved way available?10:06
hjbit'd be best not involving google or any other "online" service10:06
hjbhmm, noone?10:44
Saviqhjb, I can tell you where the data goes on a Ubuntu phone - ~/.local/share/history-service/history.sqlite10:47
Saviqit's a simple sqlite database, so extracting the data from there should be relatively easy10:47
Saviqhow to import that into Android, I'm afraid I don't know10:47
Saviqcontacts would probably be easiest to transfer via Google indeed, or any other CardDAV service10:48
Saviqhttps://syncevolution.org/ is used for that10:48
=== chihchun is now known as chihchun_afk
hjbSaviq: ok, that's helpful. I've got an own carddav server (radicale), so that should be usable for contacts13:02
hjbSaviq: i'll take a look at it, thanks for now13:02
Saviqhjb, for a one-time transfer, syncevolution lets you export to a vcard file, that should be importable to android13:03
hjbSaviq: do i install syncevolution directly on my MX4?13:04
Saviqhjb, it's already there13:04
hjboh13:05
hjbnice :)13:05
hjbnever noticed that13:05
hjbwhere can i find it?13:05
Saviqhjb, it's a command-line tool13:06
hjbsry for asking stupid questions, i've already found it13:09
hjbthat's great, i'll use that13:09
mterrybfiller: most u8 apps will need a rebuild at some point to work with latest desktop-launch setting the new MIR_SOCKET location, heads up14:18
bfillermterry, ack renatu working on it15:04
renatumterry, I should publish new packages today15:04
mterryrenatu: cool -- sorry for noise, but I just realized we weren't pointing at interface location because XDG_RUNTIME_DIR in snaps are namespaced15:07
mterryso the default socket path was wrong15:07
mterrykenvandine: 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 that15:12
mterryAny ideas?15:12
kenvandinemterry, that is provided by the service15:15
kenvandineoh15:15
kenvandineby AppId?15:15
mterrykenvandine: yes.  But I don't see any version of RequestPaste.  Just GetLatestPasteData and GetPasteData15:16
kenvandinemterry, the hub lib provides requestPasteById which calls GetPasteData15:17
mterrykenvandine: right but I'm seeing RequestPasteByAppId on dbus (apparmor denial for it)15:17
kenvandinethat's wrong :)15:17
kenvandinenothing has changed in qtubuntu has it?15:18
mterrykenvandine: also -- a confined app, what should it be allowed to call?  GetLatestPasteData or GetPasteData or both?15:18
kenvandineboth15:18
mterrykenvandine: nothing to my knowledge...  I couldn't find the string RequestPasteByAppId anywhere15:18
kenvandinemterry, any chance you have artmello's clipboard silo installed?15:18
mterrykenvandine: seems unlikely...15:19
kenvandineoh... maybe the SDK15:19
kenvandinei think his changes for the clipboard might have landed in the uitk15:19
kenvandinebut not content-hub15:19
kenvandinemterry, does paste with ctrl-v work?15:19
mterrykenvandine: yup -- I bzr pulled ui toolkit and I see a call to RequestPasteByAppId15:20
mterrykenvandine: ctrl-v... let me try15:20
mterrykenvandine: no it just prints 'v' but that might be a unity8 snap problem, not a real issue15:20
kenvandinesounds like it15:21
mterrykenvandine: yeah composing is broken15:21
mterrykenvandine: is content-hub api changing then?15:21
* mterry wants to make sure he encodes right API in apparmor profile15:21
kenvandineadditional dbus API15:21
kenvandineto handle the clipboard UI15:21
kenvandinewhich was held up waiting for uitk staging to land15:21
kenvandineartmello has a silo which i think is ready to land15:22
kenvandineit'll open the clipboard in a trust prompt15:22
mterrykenvandine: OK so I add that call and I should be fine (once content-hub silo lands)?15:22
kenvandinei think so15:22
kenvandineartmello is out today, he knows better than i15:22
kenvandinemterry, i'm excited to hear copy works though :)15:23
mterrykenvandine: heh all nice and confined too15:24
kenvandinesweet :)15:24
mterrykenvandine: what is PasteSelected?  New signal as well?15:26
mterrykenvandine: can I see new content-hub silo?15:26
mterryi.e. which num is it?15:26
mterryhttps://bileto.ubuntu.com/#/ticket/217915:27
kenvandineyeah, that's it :)15:28
kenvandinei was just looking for that15:28
kenvandinemterry, look at the changes to com.ubuntu.content.Service.xml15:29
mterrykenvandine: 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
kenvandinemterry, i think you need all of the new ones except RemovePaste15:29
mterryok15:30
kenvandinethat would only be fore the clipboard UI15:30
mterrykenvandine: clipboard ui that lives outside the app, right?15:30
kenvandineright15:30
kenvandineseparate app15:30
kenvandineSelectPasteForAppId might be used for filtering in the clipboard app15:31
mterrykenvandine: ok adding all but RemovePaste, thanks15:33
kenvandinecool15:33
mterrykenvandine: no api was deprecated?15:33
kenvandineno15:33
kenvandineonly additional15:33
mterrykk15:33
=== ghostcube_ is now known as ghostcube
renatupopey, could you review this? https://code.launchpad.net/~renatofilho/ubuntu-docviewer-app/no-file-hint/+merge/31686516:12
mterrykenvandine: what is HandlerActive in content-hub?  I should allow that too?16:19
kenvandinemterry, yes16:19
kenvandinewe use that to check to see if there are transfers to handle when the app gets activated16:20
=== _salem is now known as salem_
mterrykenvandine: 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
kenvandinemterry, actually HandlerActive isn't related to copy/paste just transfers16:22
kenvandinemterry, capture the dbus traffic16:23
kenvandinemterry, and which apps are you testing with?16:23
mterrykenvandine: webbrowser-app and lonewolf (a game snap that I made)16:23
kenvandineare either using xmir?16:23
mterrykenvandine: no16:24
kenvandineok, then if it works within the same app it should work between apps16:24
kenvandinecapture the dbus traffic and pastebin it please16:24
mterryugh capturing dbus traffic16:24
kenvandinemterry, i want to make sure the copy is getting put on the stack16:25
mterrykenvandine: I can never remember the dbus-monitor args to get that right without 10000 lines16:25
kenvandinemterry, me either :)16:25
kenvandinejust monitor the user session16:25
mterrykenvandine: is there a way to make content-hub verbose?16:25
kenvandineand look for stuff on com.ubuntu.Paste16:25
kenvandineyou can set CONTENT_HUB_LOGGING_LEVEL=216:25
kenvandinefor the service16:25
kenvandinei don't recall the systemd way to do that...16:26
kenvandinesystemctrl set-environment16:26
kenvandineor something16:26
kenvandinemterry, it'll be extremely verbose :)16:26
kenvandinemterry, you'll also need to restart the service16:26
mterrykenvandine: should the array of bytes I see on dbus be simple for a text/plain?  Or be a bunch of weird bytes?16:36
mterrybunch of zeros and such16:36
kenvandinemterry, it's mimeData16:36
mterryok let me get a clean log and then will pastebin it16:37
renatupopey, one more: https://code.launchpad.net/~renatofilho/reminders-app/snap-mir/+merge/31687616:38
mterrykenvandine: ah...  it looks like content-hub is crashing is the problem  :P16:43
kenvandineoh joy16:43
kenvandinethat would explain it :)16:43
mterrykenvandine: 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
mterrytrying to decide if I allow all or poke holds16:44
mterry*holes16:44
kenvandineallow all16:44
kenvandinethat's what we did for clicks16:44
mterrykenvandine: thx.  Will worry about crasher later16:46
kenvandinemterry, ok16:46
mterrytedg_: is there a plan to allow snaps to register url-dispatcher protocols with the u8 snap?16:50
mterryis that a hook thing?16:50
renatupopey, another one :D, https://code.launchpad.net/~renatofilho/ubuntu-filemanager-app/snap-mir/+merge/31687716:52
tedg_mterry: Yeah, a hook thing. We need interface hooks for it.16:53
taiebotI 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:43
dobeytaiebot: i think you should not bother trying to flash staging. use stable or rc-proposed17:45
taiebotdobey: 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:49
dobeytaiebot: well, flashing staging will just get you a phone that doesn't work as a phone17:51
dobeyor well, maybe the phone app will be the only thing that works, perhaps17:51
taiebotdobey: So it should boot because last time i tried it just did not get past the google logo17:53
dobeytaiebot: i don't know if it boots or not. but you shouldn't be using it.17:54
dobeyit 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 devices17:55
dakerhi guys does anyone know if an app need to be in the store to be able to send a push notification ?18:20
dobeyit doesn't afaik18:21
dobeypush notifications are sent by a server, to the push server, which relays it to the user's device(s) based on the token being used18:22
dobeythe push client on the device interprets the metadata of the notification, and calls the appropriate app's helper if it exists on the device18:23
dobeyat least, that's how i understand push notifications to work18:23
dakerya because even with all the client side config for the app, it fails to get a token18:34
dobeywell what's the error?18:35
dakerdobey: https://paste.ubuntu.com/23962105/18:47
dakeri do have the permission on both the app & the helper18:48
dobeydaker: your "app" is not packaged as a click and side-loaded i guess? i don't see any valid APPID mentioned in that entry18:51
dakerdobey: installed via the IDE18:51
dobeyok, well that is clearly a local issue, i guess something with the apparmor policy json needs to be changed18:52
dakeryou mean with app ? because i checked sil's app(which have push notification working) it has the same apparmor config19:02
=== hasselmm1 is now known as hasselmm
dobeydaker: 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?19:55
dakerdobey: no i didn't, i'll try it20:13
timppaevening20:25
timppamorning or good day :)20:25
timppaanyone kind enough to assist on flashing Ubuntu M10 tablet? Seems that my laptop is not detecting the tablet in recovery mode20:26
timppaWhat could be the issue?20:27
dobeythe stock recovery is locked without adb20:27
dobeyyou need to get the recovery image from the wiki page and pass it to ubuntu-device-flash with the --recovery-image option20:28
dobey!devices | timppa20:28
ubot5timppa: You can find the full list of devices, official images, community images, and works in progress at https://wiki.ubuntu.com/Touch/Devices20:28
timppadobey: that explains...20:28
dobeyfind the correct recovery img for your device there (either frieza or cooler)20:28
timppayep, it's Frieza20:29
timppadobey: do I need to be in fastboot mode to flash the recovery?20:32
timppadobey: or how that should be done?20:32
dobeytimppa: are you wiping all user data off the device too?20:33
timppadobey: that was the idea20:35
dobeytimppa: then yes, in fastboot mode using the --bootstrap option20:35
timppadobey: ok20:36
timppadobey: seems to work20:38
timppadobey: pushing in the staging channel :)20:38
timppadobey: Thank you!20:39
timppaI actually even boots up!20:47
=== JanC is now known as Guest72742
=== JanC_ is now known as JanC
=== salem_ is now known as _salem
mterrytedg_: what piece of code exposes the org.freedesktop.Application.Open method?  (for passing url-dispatcher urls)21:40
mterryI'm not seeing it in my confined webbrowser-app21:40
tedg_mterry: Not sure exactly, I think it's part of qtubuntu21:55
mterrytedg_: I got it to be exposed if I set APP_ID=webbrowser-app21:56
tedg_Huh, okay...21:56
mterrytedg_: still not sure where, but good enough for now21:56
tedg_mterry: It might be using that envvar for the path or something like that.21:57
=== Piece_Maker is now known as Acou_Bass

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