<div dir="ltr">Hi,<div><br></div><div>When I build and install a snap from your git repository it prints the contents of my environment to the screen and exits 0. </div><div><br></div><div>By 'minimal reproducer' I mean a small, self-contained example that demonstrates the problem. Most often the process of making such an example will highlight the problem for you. Some hints can be found here: <a href="http://sscce.org/">http://sscce.org/</a></div><div><br></div><div>I'd be more than happy to take a look at a small example the reproduces the problem. I can't reproduce the issue from your current git repository though.</div><div><br></div><div>Cheers,</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 9, 2017 at 7:14 PM, Gareth France <span dir="ltr"><<a href="mailto:gareth.france@cliftonts.co.uk" target="_blank">gareth.france@cliftonts.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF"><div><div class="h5">
    <p><br>
    </p>
    <br>
    <div class="m_-1336551192803458165moz-cite-prefix">On 09/01/17 06:12, Michael Nelson
      wrote:<br>
    </div>
    <blockquote type="cite">
      <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" target="_blank">gareth.france@cliftonts.co.uk</a><wbr>>
            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="m_-1336551192803458165gmail_msg">
              <p class="m_-1336551192803458165gmail_msg"><br class="m_-1336551192803458165gmail_msg">
              </p>
              <br class="m_-1336551192803458165gmail_msg">
              <div class="m_-1336551192803458165m_5560328642800806860moz-cite-prefix m_-1336551192803458165gmail_msg">On 09/01/17 00:20, Thomi Richards wrote:<br class="m_-1336551192803458165gmail_msg">
              </div>
              <blockquote type="cite" class="m_-1336551192803458165gmail_msg">
                <div class="gmail_extra m_-1336551192803458165gmail_msg">This sounds like you
                  may be running into unicode encoding issues in your
                  python source files. <a class="m_-1336551192803458165m_5560328642800806860moz-txt-link-freetext m_-1336551192803458165gmail_msg" href="https://www.python.org/dev/peps/pep-0263/" target="_blank">https://www.python.org/<wbr>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 m_-1336551192803458165gmail_msg"><br class="m_-1336551192803458165gmail_msg">
                </div>
                <div class="gmail_extra m_-1336551192803458165gmail_msg"><br class="m_-1336551192803458165gmail_msg">
                </div>
                <div class="gmail_extra m_-1336551192803458165gmail_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="m_-1336551192803458165gmail_msg">
              Afraid not, still doing the same thing. Just one question.
              What on earth is a minimal reproducer?<br class="m_-1336551192803458165gmail_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>
      <br>
      <fieldset class="m_-1336551192803458165mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote></div></div>
    Everything is available here:<br>
    <a class="m_-1336551192803458165moz-txt-link-freetext" href="https://github.com/cliftonts/RokuTerm.git" target="_blank">https://github.com/cliftonts/<wbr>RokuTerm.git</a><br>
    <br>
  </div>

<br>--<br>
Snapcraft mailing list<br>
<a href="mailto:Snapcraft@lists.snapcraft.io">Snapcraft@lists.snapcraft.io</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/snapcraft" rel="noreferrer" target="_blank">https://lists.ubuntu.com/<wbr>mailman/listinfo/snapcraft</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Thomi Richards<br></div><a href="mailto:thomi.richards@canonical.com" target="_blank">thomi.richards@canonical.com</a><br></div></div>
</div>