Re: My second snap ;-)

2016-10-04 Thread Robert Park
Thanks again Loic, I was finally able to achieve a snapped matplotlib (well, the current traceback I'm seeing is at least from my own app so I can iterate on that, matplotlib seems happy enough at least). The trick is that you can't just set $MATPLOTLIBDATA to any old dir because matplotlib

Re: My second snap ;-)

2016-10-03 Thread Robert Park
On Sun, Oct 2, 2016 at 11:20 PM, Didier Roche <didro...@ubuntu.com> wrote: > Le 02/10/2016 à 20:48, Robert Park a écrit : >> Is there a plug to just read /etc? or a sensible way to set all those >> env vars to /dev/null or something? > Hey Robert, > > There is no plu

Has anybody ever snapped gunicorn?

2016-10-02 Thread Robert Park
I've got gunicorn3 and python3-gunicorn in my stage-packages, and gunicorn is working correctly when I run it from my app's source tree, but when I try to snap it I get this: Traceback (most recent call last): File "/snap/weighttracker/x4/usr/bin/gunicorn3", line 5, in from pkg_resources

My second snap ;-)

2016-10-02 Thread Robert Park
Hi all! Back again with a second attempt, this time I'm not trying to modify the host system so I'm hoping this should be a lot easier/possible! Here's my snapcraft.yaml: https://git.launchpad.net/~robru/+git/weightloss/tree/snapcraft.yaml Pretty simple little flask webapp, just does some data

Re: Ports,ports,ports..

2016-10-10 Thread Robert Park
On Oct 10, 2016 10:05 AM, "Victor Palau" wrote: > > Overall, seems like it would be good practice that if a snap publishes a service to a port, that: > the port can be easily changed Any suggestions on how best to do that? Snaps don't offer any sort of configuration

Re: Has anybody ever snapped gunicorn?

2016-10-10 Thread Robert Park
Hi Alfonso, thanks for the response On Oct 9, 2016 11:59 PM, "Alfonso Sanchez-Beato" < alfonso.sanchez-be...@canonical.com> wrote: > On Mon, Oct 10, 2016 at 1:56 AM, Robert Park <robert.p...@canonical.com> wrote: >> >> Right, so that was a $PYTHONPATH issue

Re: Has anybody ever snapped gunicorn?

2016-10-09 Thread Robert Park
ve any ideas how to troubleshoot this? Thanks. On Sun, Oct 2, 2016 at 11:51 AM, Robert Park <robert.p...@canonical.com> wrote: > I've got gunicorn3 and python3-gunicorn in my stage-packages, and > gunicorn is working correctly when I run it from my app's source tree, > but when I try