<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
El 03/10/16 a las 21:17, Marco Ceppi escribió:<br>
<blockquote
cite="mid:CAGuW62AEpkZcPcPzU_sycdsHfYuGG+RUMY7-N0V7+fmT7bCz9Q@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_quote">
<div dir="ltr">On Mon, Oct 3, 2016 at 6:51 PM Sergio Schvezov
<<a moz-do-not-send="true"
href="mailto:sergio.schvezov@canonical.com">sergio.schvezov@canonical.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex"><br
class="gmail_msg">
<br class="gmail_msg">
El 03/10/16 a las 16:47, Marco Ceppi escribió:<br
class="gmail_msg">
> Hi Sergio,<br class="gmail_msg">
><br class="gmail_msg">
> Sorry, replication instructions are as follows:<br
class="gmail_msg">
><br class="gmail_msg">
> export JUJU_REPOSITORY=$(mktemp -dp $HOME)<br
class="gmail_msg">
> cd $JUJU_REPOSITORY<br class="gmail_msg">
> charm pull-source ~marcoceppi/charm-svg .<br
class="gmail_msg">
><br class="gmail_msg">
> This will trigger the error. Anytime the code path
needs to interact<br class="gmail_msg">
> with launchpadlib it fails. If you pull the stable
channel from the<br class="gmail_msg">
> store you'll see it succeeds.<br class="gmail_msg">
<br class="gmail_msg">
Did this ever work?<br class="gmail_msg">
dpkg -S /usr/lib/python2.7/dist-packages/lazr/__init__.py<br
class="gmail_msg">
</blockquote>
<div><br>
</div>
<div>It did (and does work) before I updated snapcraft.</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Tells me
it is not owned by any package so very unlikely that a<br
class="gmail_msg">
`stage-packages entry would of brought it in. I am
interested!<br class="gmail_msg">
<br class="gmail_msg">
For what it's worth, Kyle had the same issue and we just
went to pypi<br class="gmail_msg">
for this, if you prefer going down this path just add this
to the python<br class="gmail_msg">
part in there:<br class="gmail_msg">
<br class="gmail_msg">
python-packages: [launchpadlib, simplejson]<br
class="gmail_msg">
</blockquote>
<div><br>
</div>
<div>Launchpadlib is already a dependency in the software
project, I shouldn't need to declare it again in the
snapcraft?</div>
</div>
</div>
</blockquote>
<br>
No you don't ;-) You want to set `requirements: requirements.txt`<br>
If you want it automatically installed use install_requires
(<a class="moz-txt-link-freetext" href="https://packaging.python.org/requirements/">https://packaging.python.org/requirements/</a>)<br>
<br>
<blockquote
cite="mid:CAGuW62AEpkZcPcPzU_sycdsHfYuGG+RUMY7-N0V7+fmT7bCz9Q@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_quote">
<div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<br class="gmail_msg">
and remove the corresponding entry from `stage-packages`.
That makes<br class="gmail_msg">
this happen:<br class="gmail_msg">
<br class="gmail_msg">
$ charm pull-source ~marcoceppi/charm-svg .<br
class="gmail_msg">
Downloaded cs:~marcoceppi/charm-svg to<br class="gmail_msg">
/home/sergiusens/tmp.fTqwALsTzT/charm-svg<br
class="gmail_msg">
<br class="gmail_msg">
</blockquote>
</div>
</div>
</blockquote>
<br>
</body>
</html>