Unicode characters break snap

Gareth France gareth.france at cliftonts.co.uk
Mon Jan 9 06:02:20 UTC 2017



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 something like "# 
> -*- coding: utf-8 -*-" at the top of your file. The python interpreter 
> inspects your environment to determine the correct encoding to use, 
> but your environment in a confined snap probably doesn't provide the 
> same hints...
>
>
> If that doesn't work, can you build a minimal reproducer for us to 
> look at?
Afraid not, still doing the same thing. Just one question. What on earth 
is a minimal reproducer?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20170109/4bd565fa/attachment.html>


More information about the Snapcraft mailing list