<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 22, 2016 at 3:16 PM, Jamie Strandboge <span dir="ltr"><<a href="mailto:jamie@canonical.com" target="_blank">jamie@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, 2016-11-22 at 15:06 -0300, Sergio Cazzolato wrote:<br>
> Hello, I am having troubles to launch my snap due to a missing connection<br>
> to ubuntu-app-platform:platform. No matter if I run "snap connect" always I<br>
> get the same message telling that I need to connect the app with<br>
> ubuntu-app-platform:platform.<br>
><br>
> I am running this in yakkety. Any idea about this issue?<br>
<br>
</span>I ran into this while testing the kde-framework-5 content snap with a KDE snap<br>
today. For me, what was happening is that if you launch your snap before you<br>
connect, then the shared mount namespace is setup without the content mount, so<br>
you need to discard that namespace after you 'snap connect' and start the<br>
application again.<br>
<br>
I think if after you snap connect, if you do:<br>
<br>
$ sudo /usr/lib/snapd/snap-discard-<wbr>ns kpi-empty-app<br>
$ kpi-empty-app<br>
<br>
It will work (it would also work after reboot). Obviously, this is a bug but I'm<br>
not sure there is one filed. I think Zygmunt (in CC) is aware of the issue.<br>
Zygmunt, can you comment?<br></blockquote><div><br></div><div>It works nice, thanks!</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5"><br>
><br>
> Thanks<br>
><br>
><br>
> Here the commands:<br>
><br>
> $ sudo snap install --force-dangerous kpi-empty-app_0.1_amd64.snap<br>
> kpi-empty-app 0.1 installed<br>
><br>
> $ kpi-empty-app<br>
> You need to connect the ubuntu-app-platform package with your application<br>
> to reuse shared assets, please run:<br>
> snap install ubuntu-app-platform<br>
> snap connect kpi-empty-app:platform ubuntu-app-platform:platform<br>
><br>
> $ sudo snap install ubuntu-app-platform<br>
> ubuntu-app-platform (stable) 1 from 'canonical' installed<br>
><br>
> $ sudo snap connect kpi-empty-app:platform ubuntu-app-platform:platform<br>
><br>
> $ kpi-empty-app<br>
> You need to connect the ubuntu-app-platform package with your application<br>
> to reuse shared assets, please run:<br>
> snap install ubuntu-app-platform<br>
> snap connect kpi-empty-app:platform ubuntu-app-platform:platform<br>
</div></div><span class="HOEnZb"><font color="#888888">> -- <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/s" rel="noreferrer" target="_blank">https://lists.ubuntu.com/<wbr>mailman/listinfo/s</a><br>
> napcraft<br>
--<br>
Jamie Strandboge | <a href="http://www.canonical.com" rel="noreferrer" target="_blank">http://www.canonical.com</a><br>
<br>
</font></span><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></div></div>