I get a different result. Note, I 'snap remove hello-unity' and then 'snap install ./hello-unity_0.4-snap2_amd64.snap'.
Note I didn't install it with --devmode. When I run it I see:
Traceback (most recent call last):
File "/snap/hello-unity/100001/usr/lib/python2.7/dist-packages/site.py", line 75, in <module>
__boot()
File "/snap/hello-unity/100001/usr/lib/python2.7/dist-packages/site.py", line 3, in __boot
import os
ImportError: No module named os
I get a different result. Note, I 'snap remove hello-unity' and then 'snap install ./hello- unity_0. 4-snap2_ amd64.snap' .
Note I didn't install it with --devmode. When I run it I see:
Traceback (most recent call last): hello-unity/ 100001/ usr/lib/ python2. 7/dist- packages/ site.py" , line 75, in <module> hello-unity/ 100001/ usr/lib/ python2. 7/dist- packages/ site.py" , line 3, in __boot
File "/snap/
__boot()
File "/snap/
import os
ImportError: No module named os
and the following apparmor denials: 8.872:142) : apparmor="DENIED" operation="open" profile= "snap.hello- unity.hello- unity" name="/ home/jamie/ bzr-pulls/ snappy- playpen/ hello-unity/ stage/usr/ lib/python2. 7/os.py" pid=31432 comm="hello-unity" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000 8.872:143) : apparmor="DENIED" operation="open" profile= "snap.hello- unity.hello- unity" name="/ home/jamie/ bzr-pulls/ snappy- playpen/ hello-unity/ stage/usr/ lib/python2. 7/os.pyc" pid=31432 comm="hello-unity" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
audit: type=1400 audit(146351378
audit: type=1400 audit(146351378
If I do:
$ grep -r 'jamie/bzr-pulls' ./*|grep -v pyc
I see a ton of absolute paths to my snap build directory rather then the snap install directory (/snap/ hello-unity/ current/ ).