<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Mon, Jan 9, 2017 at 5:03 PM Gareth France <<a href="mailto:gareth.france@cliftonts.co.uk">gareth.france@cliftonts.co.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div text="#000000" bgcolor="#FFFFFF" class="gmail_msg">
    <p class="gmail_msg"><br class="gmail_msg">
    </p>
    <br class="gmail_msg">
    <div class="m_5560328642800806860moz-cite-prefix gmail_msg">On 09/01/17 00:20, Thomi Richards
      wrote:<br class="gmail_msg">
    </div>
    <blockquote type="cite" class="gmail_msg">
      <div class="gmail_extra gmail_msg">This sounds like you may be running into
        unicode encoding issues in your python source files. <a href="https://www.python.org/dev/peps/pep-0263/" class="gmail_msg" target="_blank"></a><a class="m_5560328642800806860moz-txt-link-freetext gmail_msg" href="https://www.python.org/dev/peps/pep-0263/" target="_blank">https://www.python.org/dev/peps/pep-0263/</a>
        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...</div>
      <div class="gmail_extra gmail_msg"><br class="gmail_msg">
      </div>
      <div class="gmail_extra gmail_msg"><br class="gmail_msg">
      </div>
      <div class="gmail_extra gmail_msg">If that doesn't work, can you build a
        minimal reproducer for us to look at?</div>
    </blockquote></div><div text="#000000" bgcolor="#FFFFFF" class="gmail_msg">
    Afraid not, still doing the same thing. Just one question. What on
    earth is a minimal reproducer?<br class="gmail_msg"></div></blockquote><div><br></div><div>Just a paste of an example snapcraft.yaml with which other people can reproduce the issue... it could be your current snapcraft.yaml, or something cut down to be simpler but still reproduces the issue. That'll help someone else debug it locally.<br></div><br></div></div>