Re: sqlite trying to access /var/tmp

2016-09-27 Thread Michael Hall
Set SQLITE_TMPDIR=/tmp and it should be happy. TMPDIR isn't explicitly set in the snap's runtime environment, which is why sqlite falls back to /var/tmp /tmp is mounted into your snap's runtime, and sqlite will try SQLITE_TMPDIR before TMPDIR, so setting that ensures that it won't impact anything

Learning to snap with codelabs

2016-09-27 Thread Daniel Holbach
Hello everybody, learning something new, especially new concepts and workflows usually works best if you see it first-hand and get to do things yourself. Didier and I talked a while about how to introduce the processes and ideas behind snapd and snapcraft to a new audience, particularly at a works

Re: sqlite trying to access /var/tmp

2016-09-27 Thread Jamie Strandboge
On Tue, 2016-09-27 at 09:25 -0400, Michael Hall wrote: > Set SQLITE_TMPDIR=/tmp and it should be happy. > > TMPDIR isn't explicitly set in the snap's runtime environment, which is > why sqlite falls back to /var/tmp > > /tmp is mounted into your snap's runtime, and sqlite will try > SQLITE_TMPDIR

Re: Access to other commands

2016-09-27 Thread Leo Arias
On Fri, Sep 23, 2016 at 6:40 AM, Jamie Strandboge wrote: > On Thu, 2016-09-22 at 20:13 -0600, Leo Arias wrote: > I don't see a snapcraft.yaml in that tree. It's here: https://github.com/elopio/htop/blob/snapcraft/snapcraft.yaml > There is an htop snap in the store > and you need to connect th

Re: Access to other commands

2016-09-27 Thread Jamie Strandboge
On Tue, 2016-09-27 at 09:46 -0600, Leo Arias wrote: > On Fri, Sep 23, 2016 at 6:40 AM, Jamie Strandboge > wrote: > > > > > On Thu, 2016-09-22 at 20:13 -0600, Leo Arias wrote: > > I don't see a snapcraft.yaml in that tree. > > It's here: https://github.com/elopio/htop/blob/snapcraft/snapcraft.ya

Re: sqlite trying to access /var/tmp

2016-09-27 Thread Leo Arias
Thanks Michael. That worked. Now it gets stuck somewhere and runs out of memory, but I doubt that's the fault of the snap. Jamie, here is the bug: https://bugs.launchpad.net/snappy/+bug/1628193 I also found this related bug from a year ago: https://bugs.launchpad.net/snappy/+bug/1504187 pura vid

Re: Access to other commands

2016-09-27 Thread Leo Arias
On Tue, Sep 27, 2016 at 10:01 AM, Jamie Strandboge wrote: > No, this isn't my snap. The snap developer for the snap in the store is > listed > as 'maxiberta'. > > I've contacted him. Thanks Jamie. -- ¡paz y baile! http://www.ubuntu.com -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modi