[00:06] PR snapd#1565 opened: interfaces: also allow rfkill in network_control [02:38] PR snapd#1566 opened: network-observe: read perms for network devices [03:53] why might running a command from a snap fail with [03:54] "cannot mind mount /media to /tmp/snap.rootfs_blah/media. errmsg: Permission denied" ? === chihchun_afk is now known as chihchun [04:55] mwhudson: hrm, anything in "dmesg" around that time? [05:25] good morning [05:28] hi [05:57] hello, I would like to have some infos on how to manage license keys from the Ubuntu Store in a snap package. Thanks [06:21] PR snapd#1564 closed: snap/squashfs: fix test not to hardcode snap size [06:26] PR snapd#1567 opened: store: small cleanups (more needed) [06:45] Is it my imagination, or is snapcraft's organize: not idempotent? [06:54] PR snapd#1568 opened: Enable SNAPPY_STORE_AUTH_DATA_FILENAME override for client auth data [07:04] Thanks mvo. Is discussion for PRs here or on telegram? [07:30] qengho: you mean build? [07:30] if that's the case yes [07:31] the problem is that it uses host ost instead ubuntu-core as base [07:31] can somebody respond to the last question in https://github.com/ubuntu/snappy-playpen/issues/145? [07:31] pbek seems to have quite a few issues with his snap [07:31] a had all sorts of problems with linking [07:47] cwayne: snapcraft --version = 2.12.1 and I just did a git clone from the repo and tried to build the demos. the busybox snap works but the plainbox-test-tool doesn't [07:48] I was looking for a working demo of plugins [07:49] ratliff: "doesn't work" isn't enough to comment about. [07:51] qengho: this is a continuation of an earlier discussion where I described exactly what "doesn't work" [07:51] qengho: 15:12 < ratliff> plainbox-test-tool in the demos section of https://github.com/snapcore/snapcraft errors out with "Issue while loading plugin: unknown plugin: plainbox-provider" after I issue the snapcraft command [07:52] qengho: 17:19 < cwayne> ratliff: zyga: which version of snapcraft were you running? it hasn't been included in a release yet afaik [07:57] PR snapd#1560 closed: Drop warning about 2.0 API being different - we're already 2.0! [08:05] PR snapd#1569 opened: Drop license documentation and error kind - this has not been implemented [08:26] pstolowski, moved your session, please re-check the schedule [08:26] pstolowski, I had to schedule it after the break [08:47] hello fine people [08:47] trying to write a first snap [08:47] if I want to get a remote zip file and just extract and use it as a part [08:47] a) can i [08:48] b) what plugin? [08:50] elopio: I just fixed the two bugs you reported! \o/ [08:50] elopio: snapcraft#667 [08:50] PR snapcraft#667: Fix two typos in `snapcraft help sources` and `snapcraft help plugins` respectively [08:50] PR snapcraft#667 opened: Fix two typos in `snapcraft help sources` and `snapcraft help plugins` respectively [08:50] ha ha [08:51] magicaltrout: Use it how? [08:52] magicaltrout, yes you can - just use the .zip url in source: and use whatever plugin you need to build/copy [08:52] yeah so i was just looking at the copy plugin [08:52] if I don't want to compile anything just unzip and use it [08:52] does that sound like the right path? [08:52] yes, that sounds good [08:52] cool [08:52] :-D [09:03] magicaltrout, take a look at https://github.com/ubuntu/snappy-playpen/blob/master/jtiledownloader/snapcraft.yaml [09:03] ooh thanks dholbach [09:03] i was leaching the idea playpen example [09:03] but this one is better [09:04] I just used "git grep" to find if there was something for you :) [09:04] lol [09:04] i should probably search harder :) [09:08] okay dholbach, currently I have https://gist.github.com/anonymous/9fe1e674f4c2a35b4b4091ef149a6856 whilst testing this stuff [09:08] your example doesn't unzip the file, yet I assume this happens at some point [09:09] hey robert_ancell, we had to reshuffle the schedule (surprise!) - can you join us for the app indicator support for desktop apps session at 11:45? [09:09] my pdi file is copied in (I guess thats what I can see in prime) but isn't extracted and the command thing fails [09:09] dpm, sure [09:10] My snapped Qt app wants to load theme images. "QML QQuickImage: Failed to get image from provider: image://theme/list-add". I see prime/usr/share/icons/Humanity/actions/48[[et al.]]/list-add.svg What gives? [09:11] robert_ancell, thanks, nothing like pinging you and then bumping into you on the main room :) [09:13] magicaltrout: we only extract source: lines. If you say "file", you get a file. [09:14] ah right [09:14] thanks qengho [09:20] oh wow it built and nearly worked and everything [09:21] yeehaw :) [09:25] magicaltrout: We're working on that last 2%. It's kind of tough. [09:27] no problem qengho! I'm just hacking around. (Full disclsure for anyone in Heidelberg I was the random guy asking about Java apps in the meeting this morning) [09:30] magicaltrout: I'm not in Heidelberg, but I wish I was. I bet it's fun on the Neckar. [09:30] its warm :) [09:30] very warm [09:30] :) [09:30] i'm used to english weather where high summer is about 17 C ;) [09:31] magicaltrout: that's what radler is for. [09:31] qengho: you're like a mind reader [09:35] :-) [09:40] ok other random question [09:41] i stole the launcher script from that examaple and munged it up a bit [09:41] the command in the example is bin/launcher [09:41] how do I make sure the exec bit is set? [09:41] because in prime mine isn't [09:42] hmm maybe i need to clean to make sure the file is updated [09:42] magicaltrout: hmm. That's hard. Can you run bin/sh $SNAP/bin/launcher instead? [09:43] i could, but I was curious to know why the playpen one didn't [09:43] but it may just be that my build didn't detect the +x and didn't replace the file [09:43] magicaltrout, what kind of app are you working on right now? is it anything to do with qt or gtk or java or anything else? [09:43] magicaltrout: bzr and git store the x bit. snapcraft preserves it. Yeah, it might be that snapcraft doesn't see that as a change to apply when updating. [09:44] dholbach: java app, uses swing so I guess leverages gtk as well [09:45] ok [09:45] yeah qengho snapcraft clean solved it [09:45] so that example wasn't too far off :) [09:45] * qengho yells at Qt snap not using humanity theme. [09:45] absolutely spot on dholbach, I picked idea cause I knew it was java based, but this one is much better [09:47] i have a bit of a plan once i have an idea of how it works to build a maven plugin to auto generate snapcraft.yaml from a pom definition, so that Java developers don't have to rebuild their build routine or do anything too weird to get onboard with snaps [09:48] we do similar with a spotify plugin for docker where you define the dockerfile in a maven pom and have it run as the last step in the chain [09:49] magicaltrout, you are a madman. An awesome, awesome madman. [09:50] well if you're trying to get traction, telling people they need to rearrange their build process to add some random bash script to the end is normally a big turn off [09:50] so if I can write a maven plugin that creates the yaml and any other resources, that users can then implement inside their existing maven builds, thats a much cleaner way for people to integrate with snaps (if you're a maven user) [09:51] especially when people already have their CI systems, build processes in place and working [09:55] really need something to eat and drink.... refuse to leave my laptop until it at least boots..... [09:55] argh the thirst [10:02] okay [10:02] we're getting somewhere [10:03] it tried to load a lib from my user home directory [10:03] but I get permission denied errors [10:04] I guess more than anything whats best practice there? I'm not entirely sure how the lib got there in the first place, I suspect the java app probably populates the folder when it can't find the files [10:05] /home/bugg/.swt/lib/linux/x86_64/libswt-gtk-4332.so: /home/bugg/.swt/lib/linux/x86_64/libswt-gtk-4332.so: cannot open shared object file: Permission denied [10:11] hum... I've never seen ~/.swt [10:11] but I'm not an expert [10:11] yeah its dumped in by the app [10:11] if it can't find the lib it will put it in ~/.swt for you [10:12] but the app launcher clearly can't read/open it [10:12] magicaltrout: find out what environment variable lets it know anything about /home/bugg/ . Whatever provided that should be set to something like $SNAP_USER_DATA anyway. [10:13] okay qengho [10:13] thanks [10:17] PR snapcraft#668 opened: Add exception for `tar-content` in `snapcraft help` [10:18] magicaltrout: I had a similar problem when an app wanted to put stuf in home, I solved it by adding "java -Duser.home=$SNAP_USER_DATA" to the wrapper [10:19] ah yeah! ^^ [10:19] ooh [10:20] magicaltrout: after that, it works. [10:20] modulo font problems. [10:21] thanks a ton for merging sergiusens :) [10:23] PR snapcraft#667 closed: Fix four typos in `snapcraft help` [10:25] \o/ [10:29] PR snapcraft#655 closed: Gradle plugin fix for command invocation [10:32] https://blog.martin-graesslin.com/blog/2014/06/where-are-my-systray-icons/ [10:32] dpm, didrocks ^^ [10:32] PR snapcraft#669 opened: Add detection for an existing `.snapcraft.yaml` file before running `snapcraft init` [10:34] \o/ [10:34] Bug #1604346 opened: snapd apparmor tests fail on ArchLinux [10:34] zyga: :P [10:40] wooooo [10:40] it works and everything [10:40] thanks for the tip trijntje_ [10:42] no i need to understand what i've done [10:42] +w === hikiko_ is now known as hikiko [10:48] so it looks cool, I have a usabilty question (the answer is probably just: tough) https://ibin.co/2oaQDoBG8hXt.png [10:48] I've given the snap access to home [10:49] but the file browser doesn't make it obvious to users that they'd have to find their way there [10:49] also if a user clicks on file system is just throws an error because there is no access [10:49] anyone seen this or is this just a feature I've "introduced"? ;) [10:49] if I force it to go to /home/bugg [10:50] it renders my home just fine [10:55] ratliff: im not able to reproduce on a fresh pull of snapcraft on my xenial system, let me try and poke around [10:55] zyga: ^ === hikiko is now known as hikiko|ln [10:58] Bug #1604356 opened: symlink creation over and over on install, creates file too long situation [11:05] alrighty [11:05] so here's what i'm thinking (a rough draft) [11:05] https://gist.github.com/anonymous/a9e3b2b5352ac4f91209502f006b4134 [11:05] something like that in a maven pom [11:05] to build the yaml [11:05] magicaltrout: congrats on the working snap [11:05] and then have it call snapcraft afterwards [11:07] and I also have the same concern about the usability regarding $HOME. But I'd guess there should be a way to start file dialogs in HOME [11:11] not just me then! [11:30] i got my snap working! however I'd like to make it create a launcher, not just run from the command line. is there a tutorial for that? [11:31] set up a setup/gui directory, like https://github.com/ubuntu/snappy-playpen/tree/master/qcomicbook/setup/gui [11:34] ah, i have the icon file there, just no .desktop....thanks! [11:35] Is it possible to package QML apps using the latest version of snappy? I had some trouble a couple of months ago because I couldn't access OpenGL, X or similar in a way that worked with snappy. [11:38] PR snapcraft#666 closed: Allow / in parts [11:39] jdstrand, got a minute to help explain getting through apparmor errors on a new snap? [11:40] thurston, I added it to askubuntu - feel free to comment/edit: http://askubuntu.com/questions/800437/how-can-i-create-a-menu-entry-for-my-snap [11:40] dragly, absolutely. The core apps are written with qml and snap up. [11:40] dragly, that's possible - check out https://github.com/ubuntu/snappy-playpen/tree/master/ubuntu-clock-app [11:41] balloons: Great, thanks! I'll try my app again. I remember I had issues with the clock app as well, so if that works, I should be all set :) [11:43] :-D [11:52] PR snapd#1570 opened: snapstate: remove artifacts from a snap try dir that vanished [11:55] woohoo! i finished my snap! dholbach thanks for all your help yesterday and today! [11:56] thurston, great work - which snap did you work on? [11:56] my own dice rolling app. there aren't any dice rollers for linux except for a command line one. so i made one that works totally cross platform [11:56] and has a gui [11:57] thurston, did you upload it to the store already? [11:57] not yet...checking that out now. i don't have a license for it yet....its not necessarily open source, what license should i use? === hikiko|ln is now known as hikiko [12:07] PR snapd#1571 opened: tests: add network-observe interface spread test [12:22] are there license requirements for snaps? [12:23] https://myapps.developer.ubuntu.com/dev/tos/ for uploading them to the store [12:23] PR snapcraft#670 opened: Remove .la files generated by autotools [12:24] thurston, well, it is kind of expected that you are allowed to redistribute whatever you upload [12:24] beyond that there are no reqs. [12:27] yeah, i'm just wondering about my situation. because i made my app in a game engine that only spits out a single binary. I don't think the source code is actually visible [12:29] as a side note, i've already published my app on google play store.... does that matter? [12:29] PR snapcraft#671 opened: Add initial snapcraft manpage [12:30] \o/ [12:30] https://play.google.com/store/apps/details?id=org.godotengine.rpgdiceroller [12:48] wait, do i even need to include a license? [12:49] well, whatever your upstream requires from you ... [12:49] their license should define what you can and should do when you distribute it [12:50] well Godot is MIT licensed, and thus anything made with it can be relicensed any way the creator wants [12:50] then i would just include their license file [13:10] PR snapd#1567 closed: store: small cleanups (more needed) [13:17] great, got it. CC-BY-SA 4.0 is perfect. so now i'll publish [13:18] go go go! :) [13:20] uploading now [13:22] this is so much easier than dealing with .deb [13:23] upload dance [13:23] k its uploaded [13:23] now whatt? [13:24] wait til the utomated tests finished [13:24] then click publish [13:27] you might have to choose a channel for it too [13:28] but I think that's just on first upload(?) [13:29] yeah ... [13:33] k, says its published [13:34] how is it called ?? [13:34] rpgdiceroller [13:35] ogra@styx:~/Devel/packages/snaps$ snap find rpgdiceroller [13:35] Name Version Developer Notes Summary [13:35] rpgdiceroller 1.7 quality-mix - A dice roller with simple GUI [13:35] ogra@styx:~/Devel/packages/snaps$ [13:35] ;) [13:35] yay! [13:37] now that i know that works, i'll be able to publish my games via snaps [13:37] sweet [13:51] PR snapd#1522 closed: Introduce a simple key-value store for user-specific data [13:58] thanks for your help everyone === chihchun is now known as chihchun_afk [14:38] chrisatlee hey, what is the story behind firefox plugins [14:39] sergiusens: they're installed into the users profile directory [14:41] So they should work OK [14:43] I suppose some may need different permissions... [14:45] chrisatlee great, that is one less worry [14:47] PR snapcraft#665 closed: Update broken links to https://snapcraft.io [14:49] sergiusens: There are some plugins that want to run commands that read stuff from your homedir for instance....those will probably break [15:00] A little lost (sorry) but I'm looking for some official collaboration from Canonical for a few forthcoming educational events, workshops. Anyone know who the contact would be for embedded/IoT snappy education? [15:00] Seems the role of community manager has not been filled since Jono? [15:01] it sure has ... [15:04] msvb-lab: there is a community team instead now [15:04] ali1234: Are they reachable in Launchpad or an IRC channel? [15:04] yes [15:05] yeah ... theyy went from dictatorship to democracy ;) [15:05] https://launchpad.net/~canonical-community [15:06] tyhicks: hey [15:06] tyhicks: can you please tell me what is the apparmor syntax for symlinks? [15:06] you can also ask them difficult and annoying questions on thursday afternoons i think, when they do a live stream [15:07] https://lists.ubuntu.com/mailman/listinfo/ubuntu-community-team [15:07] (and yes, what ali1234 pointed to ... ) [15:07] the canonical team is the one you want [15:17] PR snapcraft#672 opened: Capture the correct exception when not being able to decode json [15:40] protip: if you want to try out customizing ubuntu-core base image without having to build a new flash image, you can just mount over what you want to edit with tmpfs [15:44] works also for application snaps [15:44] just bind mount the changed file on top [15:46] nice [15:47] is there a way for ubuntu-device-flash to copy from a directory and preload stuff onto the writable partition? [15:47] actually, i shouldn't say partition, because there is only /one/ partition, but i mean the writable fs [15:48] not yet ... everything is changing and cloud.init will be able to do such stuff (that you have to define in the gadget snap) [15:48] *cloud-init [15:49] hmm, im probably not understanding (im not exactly sure what a gadget snap is), but the point of putting it into writable, was that it wouldn't actually be in a snap, so it could be edited later [15:50] but probably cloud-init could do that too [15:51] oh, do you mean, that it would get copied out of a snap and put onto writable by cloud-init ? [15:53] Hi guys, I'm wondering why telegram-sergiusens is not showing up anymore in terminal "snap find", I got to install with sudo snap install but can't find in snap find [15:57] Croepha, exactly [15:58] ogra@styx:~/Devel/packages/snaps/jTileDownloader$ snap find telegram-sergiusens|grep ^tele [15:58] telegram-sergiusens 0.9.49 sergiusens - Telegram desktop client [15:58] ogra@styx:~/Devel/packages/snaps/jTileDownloader$ [15:58] i can find it here [16:00] ogra_, taskwarrior-plars 2.5.1-1 pwlars - feature-rich console based todo list manager [16:00] teatime 16.04 paroj - Simple egg timer application for the Unity Desktop [16:00] test-snapd-tools 1.0 canonical - Tools for testing the snapd application [16:00] tio 1.20 lundmar - A simple TTY terminal I/O application === rcj` is now known as rcj [16:00] those are the only listed "T" here in snap find =[ [16:00] that is what you get when you search for telegram-sergiusens ? === rcj is now known as Guest10260 [16:01] using your command I find your result [16:01] using only snap find I don't [16:01] because that is limited to 100 lines [16:01] and there are farm more than 100 snaps now === Guest10260 is now known as rcj [16:01] *far more [16:04] Oh, that's sad, I wish I could find all just by doing snap find, and it serves as good propaganda to the number of packages [16:04] msvb-lab: hello. feel free to drop me a mail - popey@ubuntu.com [16:04] https://uappexplorer.com/apps?sort=relevance&type=snappy [16:05] try that instead :) [16:05] ogra_, thanks === JanC is now known as Guest39320 [16:29] hey i just thought of something [16:30] if, in the future, i run snapcraft on ubuntu 16.10, does that mean i can build snaps using packages newer than the ones in 16.04, that will work on 16.04? [16:30] without having to go to the trouble of building all the stuff manually? [16:45] PR snapd#1572 opened: interfaces: add bluetooth-control interfaces [17:30] PR snapcraft#673 opened: Updating styling and examples for `snapcraft init` in lifecycle.py [18:21] i can't seem to get my snap to run on my desktop.... i can't tell why. it uses different video drivers, but I didn't think that mattered? [19:25] what are the files you get from ubuntu_device_flash query? are they the default options to core for os and gadget snap? [20:57] so, if I need to customize the OS snap, does snapd know to not get updates? [21:06] I'm assuming the first partition in Ubuntu-Core that is labeled "grub" if the EFI partition? [21:07] on my system the second partition is efi [21:07] the first is a 4M partition called BIOS boot [21:07] not sure what that is [21:09] I just ran blkid against my ubuntu-core image and I see 3 partitions labeled p1 grub p2 system-boot and p3 writable [21:10] hmm maybe its because im on 16 [21:10] Croepha, I am as well. I just built my image today with ubuntu-device-flash [21:12] I'm trying to flash my network device which uses UEFI booting only, but when it tries to update the grub.cfg to point to /boot/efi/EFI/ubuntu/grub.cfg, it doesn't see the path. [21:13] http://paste.ubuntu.com/20091228/ [21:15] if it does a scan it should pick it up automatically, im booting off of efi [21:15] what do you mean by network device? are you netbooting? [21:16] I am flashing ubuntu-core onto a network switch. [21:17] im not sure I can help [21:17] all i can say is that efi on a PC works [21:17] I can get it to write to the device, but when it goes to update grub so that I can still load the diagnostic partitions on the device it fails becuase it cannot see my /boot/efi/EFI/BOOT/grubx64.efi [21:18] when you load the efi shell, can you search around for it? [21:18] try to load it manually [21:19] I think I figured it out. My script to convert the image to ONIE does not understand the EFI partition. [22:23] i think i am finally getting somewhere with getting a working Qt eglfs on ubuntu [22:24] i found the landing ppa for qt 5.6 on xenial... i have the videocore ppa... i know how to modify the qmake.conf so it uses the right EGL libraries [22:24] so it should be a matter of putting everything in a ppa and waiting [22:40] I need help with getting past the rainbow screen on a raspberry pi [22:40] okay? [22:41] Any help? [22:41] insert a correct sd card [22:41] everyone loves a rainbow [22:41] What do you mean by correct sd card? I have the sd card with snasppy on it [22:42] rainbow screen means the pi cannot understand what is on your sd card [22:42] So what do I do? :P [22:42] 23:33 ali1234| insert a correct sd card [22:42] ;) [22:43] tell us what you did [22:43] what version of raspberry pi [22:43] what version of snappy [22:43] how did you make the sd card [22:43] etc [22:43] First generation of raspberry pi B [22:43] well there is your problem [22:43] ubuntu won't run on that [22:43] Oh? [22:43] you need a 2B or 3B [22:43] Okay thanks :) [23:33] Bug #1604619 opened: ubuntu-fan keeps wifi from starting properly [23:45] Bug #1604619 changed: ubuntu-fan keeps wifi from starting properly [23:56] any help in tracking down a bug?