Re: Unicode characters break snap

2017-01-08 Thread Gareth France
On 09/01/17 06:12, Michael Nelson wrote: On Mon, Jan 9, 2017 at 5:03 PM Gareth France mailto:gareth.fra...@cliftonts.co.uk>> wrote: On 09/01/17 00:20, Thomi Richards wrote: This sounds like you may be running into unicode encoding issues in your python source files. https:

Re: Unicode characters break snap

2017-01-08 Thread Michael Nelson
On Mon, Jan 9, 2017 at 5:03 PM Gareth France wrote: > > > On 09/01/17 00:20, Thomi Richards wrote: > > This sounds like you may be running into unicode encoding issues in your > python source files. > https://www.python.org/dev/peps/pep-0263/ has the f

Re: Unicode characters break snap

2017-01-08 Thread Gareth France
On 09/01/17 00:20, Thomi Richards wrote: This sounds like you may be running into unicode encoding issues in your python source files. https://www.python.org/dev/peps/pep-0263/ has the full details, but the tl,dr version is that if you have unicode literals in your python source file you need

Re: Unicode characters break snap

2017-01-08 Thread Érico P
the string is only needed for Python 2, I think Python3 defaults to utf8 encoding. Em 8 de jan de 2017 22:21, "Thomi Richards" escreveu: > Hi Gareth, > > On Sun, Jan 8, 2017 at 10:24 PM, Gareth France < > gareth.fra...@cliftonts.co.uk> wrote: > >> So is there something I have to add to the pytho

Re: Unicode characters break snap

2017-01-08 Thread Thomi Richards
Hi Gareth, On Sun, Jan 8, 2017 at 10:24 PM, Gareth France < gareth.fra...@cliftonts.co.uk> wrote: > So is there something I have to add to the python script, or the > snapcraft.yaml to allow the unicode characters? This sounds like you may be running into unicode encoding issues in your python

Snapd free space available check

2017-01-08 Thread Boris Rybalkin
Hello, Could you tell me if snapd does any free space check before installing a snap? Github link would be ideal if possible. Thank you. -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft

Add to repository

2017-01-08 Thread Muhammed Arshid KV
How to add bash shell script to Ubuntu repository ? -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft

Unicode characters break snap

2017-01-08 Thread Gareth France
Having finally packaged my Roku and Now TV remote (RokuTerm) I am now bug fixing and adding polish. It functions very well but is rather ugly so I have created a new keypad screen using unicode characters. It is all written in python and runs perfectly locally, however when snapped it fails wi