/srv/irclogs.ubuntu.com/2016/10/09/#snappy.txt

zygaI tool the subway to get here, had a nice walk in the 6C weather00:00
zygaSon_Goku: how are you doing, ready for snappy sprint next week?00:00
zygawell, in one week00:00
Son_Gokuwell, I'm looking forward to seeing all my favorite people again00:00
Son_Gokuthe thing about sprints is that I actually get to meet people00:01
Son_Gokubeing located in the US means I rarely, if ever, get to meet the people I chat with regularly00:01
Son_Gokuand since I do this all in my spare time, it means that I make no money doing it, so there's no incentive for my employer to send me anywhere00:01
Son_Gokuso I love being able to go to things like these, because then I get to meet people00:05
Quacky2200Hey guys, does anyone know if they could help me to understand snappy confinement?02:09
Quacky2200I want my application to access the home folder to store settings in it's own folder within the users home folder but confinement would prevent me. Could I use some kind of plug?02:10
alvarolbhi! is there any way to run a postinst script, or copy some data to SNAP_USER_DATA after install and before running the service?09:38
ogra_alvarolb, try doing it from the service startup instead ;)12:52
alvarolbogra_ thanks! that seems to be the only way at this moment...13:10
=== ahoneybun_ is now known as ahoneybun
nsgAny experience with zenity (or a simular tool) inside a snap? I get a "...Could not load ui file /usr/share/zenity/zenity.ui: Failed to open file..", but the file is there (inside the snap).14:29
nsgThis is still somewhat new for me so, where do I start to debug this?14:29
nsgAh, of course ... the file referes to the path outside the snap ... Have been working with chroots/containers a lot the last weeks so I forgot that this is still a shared /16:37
nsgSo ... I change the question to, how do I trick zenity to load it's stuff from $SNAP/usr/share/zenity/zenity.ui16:38
DanKegelsnappy-playpen/ps-mem looks stale.    https://github.com/ubuntu/snappy-playpen/pull/253 seems to let it build and run here.   I literally have zero experience with snaps; anyone want to review?16:48
mupPR ubuntu/snappy-playpen#253: ps-mem: update to build with 2.19 <Created by dankegel> <https://github.com/ubuntu/snappy-playpen/pull/253>16:48
uIPFS-BOXHello18:18
uIPFS-BOXid like to start a project with the bananapro, but im a newbie in snappy18:19
uIPFS-BOXcan someone help me porting ubuntu snappy core to the BananaPro ?18:20
uIPFS-BOXhello?18:31
popeyerror: cannot list snaps: cannot communicate with server: Get http://localhost/v2/snaps: dial unix /run/snapd.socket: connect: connection refused19:15
popey:(19:15
uIPFS-BOXhello popey19:16
popeyhello19:16
popeyuIPFS-BOX: I don't believe the porting guide for devices is written yet.19:16
uIPFS-BOX...19:19
* popey files bug 163179119:25
mupBug #1631791: Pi 2 on ubuntu-core 845 no longer able to do anything <Snappy:New> <https://launchpad.net/bugs/1631791>19:25
mupBug #1631791 opened: Pi 2 on ubuntu-core 845 no longer able to do anything <Snappy:New> <https://launchpad.net/bugs/1631791>19:26
pdc_diddledan, i like your hexchat snap :)19:32
pdc_diddledan, needs a desktop file and icon19:32
diddledanpdc_: quick heads-up, you need to turn-off scroll-back reloading in the settings currently because GDK can't load the files and it crashes19:33
diddledanyeah, I thought I'd added a desktop and icon but it seems to not work19:33
diddledanI must be doing something wonky19:33
diddledanthere's a copy of my previous release (I've only re-rolled it today to account for the new upstream release) in the playpen19:35
diddledanif you can work-out what I did wrong with the desktop file I'd be eternally grateful :-)19:35
popeydiddledan: hm, that desktop file looks okay19:42
popeyooh, the exec line is missing19:43
diddledanreally? oddness19:44
popeydiddledan: grep Exec /var/lib/snapd/desktop/applications/unofficial-hexchat_hexchat.desktop19:44
diddledanhmm: Exec=${SNAP}/bin/hexchat19:44
popeyyeah, i see that in the playpen19:44
popeybut ^ is on my installed machine19:44
popeywonder if snapcraft is gobbling it19:44
popeyunpack your snap and see if it's in there?19:45
diddledann0rty snapcraft19:45
diddledanthe desktop is in ./meta/gui/hexchat.desktop in the squashfs unmangled19:47
diddledani.e. Exec is still there19:47
nsgI checked a snap that I just packaged, Exec is missing from /var/lib/snapd/desktop/applications/ but it's there in /snap/$NAME/current/meta/gui/19:47
diddledanthere's also the desktop which ships with upstream in the squashfs at ./share/applications/hexchat.desktop19:48
popeyso maybe snapd is mangling it on install?19:51
nsgDid a local install and Exec is still missing, so it's not the store. So install-time is likely.20:00
nsghttps://github.com/snapcore/snapd/blob/98c8e937625ce3134cf17025d8f0eb3e1016259a/wrappers/desktop.go#L11520:04
ogra_popey, are you sure you are on 845 ? ... (try: fw_printenv | grep ^snap_core )20:08
ogra_(i have recently seen pi's switch from edge to stable out of the blue)20:08
ogra_(which then causes such a behaviour)20:09
=== lool- is now known as lool
diddledannsg: popey: that function looks wonky to me20:10
=== drizztbsd is now known as timothy
popeyogra_: popey@localhost:~$ fw_printenv | grep ^snap_core20:11
popeysnap_core=ubuntu-core_424.snap20:11
diddledanit will only accept the wrapper command-line or a command which runs the wrapper command-line followed by a space and then arbitrary20:12
diddledani.e. it won't accept ${SNAP}/bin/hexchat20:12
popeydiddledan: please file a bug20:12
diddledanpopey: on the github?20:13
diddledanor should it go to launchpad?20:13
popeyno, launchpad20:13
diddledangotcha20:13
popeyhttps://bugs.launchpad.net/snappy/+bugs20:13
popeyta20:13
diddledanthere's a marginally similar issue already raised as 1580738 from may20:14
diddledan#158073820:14
mupBug #1580738: exec in desktop file should be app name and not include the friendly (current) package name <Snappy:New> <https://launchpad.net/bugs/1580738>20:15
nsgprobably broken since https://github.com/snapcore/snapd/commit/f4357d1f79616a1f03746539d81dc01791c89e9520:17
diddledanaha #1616657 is filed, too20:17
mupBug #1616657: snapd install removes Unity launcher-compliant entries from desktop files <Snappy:New> <https://launchpad.net/bugs/1616657>20:17
diddledanthat sounds like my bug20:17
diddledanaah, no that's unrelated but due to similar sanitisation20:18
diddledanok, bug filed: #163180120:24
mupBug #1631801: snapd removes Exec lines from .desktop file on installation <Snappy:New> <https://launchpad.net/bugs/1631801>20:24
diddledanI've added a small bit at the bottom suggesting that the domain might be snapcraft rather than snapd20:25
ogra_popey, sudo fw_setenv snap_core ubuntu-core_845.snap && sudo reboot20:25
ogra_popey, and note in the bug that it unconditionally switched to the stable channel20:26
mupBug #1631801 opened: snapd removes Exec lines from .desktop file on installation <Snappy:New> <https://launchpad.net/bugs/1631801>20:26
popeyogra_: how do you know it switched to stable?21:33
popeyoh, 424 is stable, right21:33
=== drizztbsd is now known as timothy

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