I just cut out the last sentence. The whole lot is here:
chris@Dell-DXP051:~/testit$ snapcraft cleanbuild
Creating snapcraft-oddly-wired-bobcat
Starting snapcraft-oddly-wired-bobcat
Setting up container with project assets
./
./parts/
./snap/
./snap/snapcraft.yaml
./snap/.snapcraft/
./snap/.snapcraft/state
./mine/
./mine/testit.py
./output.txt
Waiting for a network connection…
Network connection established
Get:1 Index of /ubuntu xenial-security InRelease [102 kB]
Hit:2 Index of /ubuntu xenial InRelease
Get:3 Index of /ubuntu xenial-updates InRelease [102 kB]
Get:4 Index of /ubuntu xenial-backports InRelease [102 kB]
Get:5 Index of /ubuntu xenial/universe amd64 Packages [7532 kB]
Get:6 Index of /ubuntu xenial-security/main amd64 Packages [435 kB]
Get:7 Index of /ubuntu xenial-security/main Translation-en [189 kB]
Get:8 Index of /ubuntu xenial-security/universe amd64 Packages [200 kB]
Get:9 Index of /ubuntu xenial-security/universe Translation-en [102 kB]
Get:10 Index of /ubuntu xenial-security/multiverse amd64 Packages [3208 B]
Get:11 Index of /ubuntu xenial-security/multiverse Translation-en [1408 B]
Get:12 Index of /ubuntu xenial/universe Translation-en [4354 kB]
Get:13 Index of /ubuntu xenial/multiverse amd64 Packages [144 kB]
Get:14 Index of /ubuntu xenial/multiverse Translation-en [106 kB]
Get:15 Index of /ubuntu xenial-updates/main amd64 Packages [710 kB]
Get:16 Index of /ubuntu xenial-updates/main Translation-en [295 kB]
Get:17 Index of /ubuntu xenial-updates/universe amd64 Packages [580 kB]
Get:18 Index of /ubuntu xenial-updates/universe Translation-en [234 kB]
Get:19 Index of /ubuntu xenial-updates/multiverse amd64 Packages [16.2 kB]
Get:20 Index of /ubuntu xenial-updates/multiverse Translation-en [8052 B]
Get:21 Index of /ubuntu xenial-backports/main amd64 Packages [4840 B]
Get:22 Index of /ubuntu xenial-backports/main Translation-en [3220 B]
Get:23 Index of /ubuntu xenial-backports/universe amd64 Packages [6628 B]
Get:24 Index of /ubuntu xenial-backports/universe Translation-en [3768 B]
Fetched 15.2 MB in 9s (1570 kB/s)
Reading package lists… Done
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following package was automatically installed and is no longer required:
libfreetype6
Use ‘apt autoremove’ to remove it.
The following additional packages will be installed:
libarchive13 libpython-stdlib libpython2.7-minimal libpython2.7-stdlib libsodium18 libxslt1.1 python python-cffi-backend python-chardet python-cryptography python-enum34 python-idna
python-ipaddress python-minimal python-ndg-httpsclient python-openssl python-pkg-resources python-pyasn1 python-requests python-six python-urllib3 python2.7 python2.7-minimal
python3-bs4 python3-click python3-colorama python3-html5lib python3-jsonschema python3-libarchive-c python3-libnacl python3-lxml python3-magic python3-petname python3-progressbar
python3-pymacaroons python3-pysha3 python3-requests-toolbelt python3-requests-unixsocket python3-simplejson python3-tabulate python3-xdg xdelta3
Suggested packages:
lrzip python-doc python-tk python-cryptography-doc python-cryptography-vectors python-enum34-doc python-openssl-doc python-openssl-dbg python-setuptools doc-base python-ntlm
python2.7-doc binutils binfmt-support python3-genshi python3-lxml-dbg python-lxml-doc python-pysha3-doc
The following NEW packages will be installed:
libarchive13 libpython-stdlib libpython2.7-minimal libpython2.7-stdlib libsodium18 libxslt1.1 python python-cffi-backend python-chardet python-cryptography python-enum34 python-idna
python-ipaddress python-minimal python-ndg-httpsclient python-openssl python-pkg-resources python-pyasn1 python-requests python-six python-urllib3 python2.7 python2.7-minimal
python3-bs4 python3-click python3-colorama python3-html5lib python3-jsonschema python3-libarchive-c python3-libnacl python3-lxml python3-magic python3-petname python3-progressbar
python3-pymacaroons python3-pysha3 python3-requests-toolbelt python3-requests-unixsocket python3-simplejson python3-tabulate python3-xdg snapcraft xdelta3
0 upgraded, 43 newly installed, 0 to remove and 4 not upgraded.
Need to get 6776 kB of archives.
After this operation, 29.8 MB of additional disk space will be used.
Get:1 Index of /ubuntu xenial-updates/main amd64 libpython2.7-minimal amd64 2.7.12-1ubuntu0~16.04.3 [340 kB]
Get:2 Index of /ubuntu xenial-updates/main amd64 python2.7-minimal amd64 2.7.12-1ubuntu0~16.04.3 [1261 kB]
Get:3 Index of /ubuntu xenial/main amd64 python-minimal amd64 2.7.11-1 [28.2 kB]
Get:4 Index of /ubuntu xenial-updates/main amd64 libpython2.7-stdlib amd64 2.7.12-1ubuntu0~16.04.3 [1880 kB]
Get:5 Index of /ubuntu xenial-updates/main amd64 python2.7 amd64 2.7.12-1ubuntu0~16.04.3 [224 kB]
Get:6 Index of /ubuntu xenial/main amd64 libpython-stdlib amd64 2.7.11-1 [7656 B]
Get:7 Index of /ubuntu xenial/main amd64 python amd64 2.7.11-1 [137 kB]
Get:8 Index of /ubuntu xenial-updates/main amd64 libarchive13 amd64 3.1.2-11ubuntu0.16.04.3 [262 kB]
Get:9 Index of /ubuntu xenial/universe amd64 libsodium18 amd64 1.0.8-5 [144 kB]
Get:10 Index of /ubuntu xenial-updates/main amd64 libxslt1.1 amd64 1.1.28-2.1ubuntu0.1 [145 kB]
Get:11 Index of /ubuntu xenial/main amd64 python-cffi-backend amd64 1.5.2-1ubuntu1 [58.1 kB]
Get:12 Index of /ubuntu xenial/main amd64 python-pkg-resources all 20.7.0-1 [108 kB]
Get:13 Index of /ubuntu xenial/main amd64 python-chardet all 2.3.0-2 [96.3 kB]
Get:14 Index of /ubuntu xenial/main amd64 python-enum34 all 1.1.2-1 [35.8 kB]
Get:15 Index of /ubuntu xenial/main amd64 python-idna all 2.0-3 [35.1 kB]
Get:16 Index of /ubuntu xenial/main amd64 python-ipaddress all 1.0.16-1 [18.0 kB]
Get:17 Index of /ubuntu xenial/main amd64 python-pyasn1 all 0.1.9-1 [45.1 kB]
Get:18 Index of /ubuntu xenial/main amd64 python-six all 1.10.0-3 [10.9 kB]
Get:19 Index of /ubuntu xenial-updates/main amd64 python-cryptography amd64 1.2.3-1ubuntu0.1 [199 kB]
Get:20 Index of /ubuntu xenial/main amd64 python-openssl all 0.15.1-2build1 [84.1 kB]
Get:21 Index of /ubuntu xenial/main amd64 python-ndg-httpsclient all 0.4.0-3 [25.1 kB]
Get:22 Index of /ubuntu xenial-updates/main amd64 python-urllib3 all 1.13.1-2ubuntu0.16.04.1 [57.2 kB]
Get:23 Index of /ubuntu xenial/main amd64 python-requests all 2.9.1-3 [55.6 kB]
Get:24 Index of /ubuntu xenial/main amd64 python3-bs4 all 4.4.1-1 [64.1 kB]
Get:25 Index of /ubuntu xenial/universe amd64 python3-colorama all 0.3.7-1 [14.9 kB]
Get:26 Index of /ubuntu xenial/universe amd64 python3-click all 6.2-2ubuntu1 [56.2 kB]
Get:27 Index of /ubuntu xenial/main amd64 python3-html5lib all 0.999-4 [79.3 kB]
Get:28 Index of /ubuntu xenial/main amd64 python3-jsonschema all 2.5.1-4 [30.3 kB]
Get:29 Index of /ubuntu xenial-updates/universe amd64 python3-libnacl all 1.4.5-0ubuntu1 [9576 B]
Get:30 Index of /ubuntu xenial/main amd64 python3-lxml amd64 3.5.0-1build1 [811 kB]
Get:31 Index of /ubuntu xenial-updates/main amd64 python3-petname all 2.0-0ubuntu1~16.04 [10.7 kB]
Get:32 Index of /ubuntu xenial/universe amd64 python3-progressbar all 2.3-2 [9570 B]
Get:33 Index of /ubuntu xenial-updates/universe amd64 python3-pymacaroons all 0.9.2-0ubuntu1 [9942 B]
Get:34 Index of /ubuntu xenial-updates/universe amd64 python3-pysha3 amd64 1.0.0-0ubuntu1~ubuntu16.04.1 [39.6 kB]
Get:35 Index of /ubuntu xenial/universe amd64 python3-requests-toolbelt all 0.6.0-2 [31.6 kB]
Get:36 Index of /ubuntu xenial/universe amd64 python3-requests-unixsocket all 0.1.5-0ubuntu4 [6560 B]
Get:37 Index of /ubuntu xenial/main amd64 python3-simplejson amd64 3.8.1-1ubuntu2 [48.6 kB]
Get:38 Index of /ubuntu xenial/universe amd64 python3-tabulate all 0.7.5-1 [23.8 kB]
Get:39 Index of /ubuntu xenial/main amd64 python3-xdg all 0.25-4 [31.5 kB]
Get:40 Index of /ubuntu xenial/universe amd64 xdelta3 amd64 3.0.8-dfsg-1ubuntu2 [67.1 kB]
Get:41 Index of /ubuntu xenial/universe amd64 python3-libarchive-c all 2.1-3 [9546 B]
Get:42 Index of /ubuntu xenial/main amd64 python3-magic all 1:5.25-2ubuntu1 [5438 B]
Get:43 Index of /ubuntu xenial-updates/universe amd64 snapcraft all 2.35 [160 kB]
Fetched 6776 kB in 2s (2299 kB/s)
Extracting templates from packages: 100%
Selecting previously unselected package libpython2.7-minimal:amd64.
(Reading database … 25537 files and directories currently installed.)
Preparing to unpack …/libpython2.7-minimal_2.7.12-1ubuntu0~16.04.3_amd64.deb …
Unpacking libpython2.7-minimal:amd64 (2.7.12-1ubuntu0~16.04.3) …
Selecting previously unselected package python2.7-minimal.
Preparing to unpack …/python2.7-minimal_2.7.12-1ubuntu0~16.04.3_amd64.deb …
Unpacking python2.7-minimal (2.7.12-1ubuntu0~16.04.3) …
Selecting previously unselected package python-minimal.
Preparing to unpack …/python-minimal_2.7.11-1_amd64.deb …
Unpacking python-minimal (2.7.11-1) …
Selecting previously unselected package libpython2.7-stdlib:amd64.
Preparing to unpack …/libpython2.7-stdlib_2.7.12-1ubuntu0~16.04.3_amd64.deb …
Unpacking libpython2.7-stdlib:amd64 (2.7.12-1ubuntu0~16.04.3) …
Selecting previously unselected package python2.7.
Preparing to unpack …/python2.7_2.7.12-1ubuntu0~16.04.3_amd64.deb …
Unpacking python2.7 (2.7.12-1ubuntu0~16.04.3) …
Selecting previously unselected package libpython-stdlib:amd64.
Preparing to unpack …/libpython-stdlib_2.7.11-1_amd64.deb …
Unpacking libpython-stdlib:amd64 (2.7.11-1) …
Processing triggers for man-db (2.7.5-1) …
Processing triggers for mime-support (3.59ubuntu1) …
Setting up libpython2.7-minimal:amd64 (2.7.12-1ubuntu0~16.04.3) …
Setting up python2.7-minimal (2.7.12-1ubuntu0~16.04.3) …
Linking and byte-compiling packages for runtime python2.7…
Setting up python-minimal (2.7.11-1) …
Selecting previously unselected package python.
(Reading database … 26283 files and directories currently installed.)
Preparing to unpack …/python_2.7.11-1_amd64.deb …
Unpacking python (2.7.11-1) …
Selecting previously unselected package libarchive13:amd64.
Preparing to unpack …/libarchive13_3.1.2-11ubuntu0.16.04.3_amd64.deb …
Unpacking libarchive13:amd64 (3.1.2-11ubuntu0.16.04.3) …
Selecting previously unselected package libsodium18:amd64.
Preparing to unpack …/libsodium18_1.0.8-5_amd64.deb …
Unpacking libsodium18:amd64 (1.0.8-5) …
Selecting previously unselected package libxslt1.1:amd64.
Preparing to unpack …/libxslt1.1_1.1.28-2.1ubuntu0.1_amd64.deb …
Unpacking libxslt1.1:amd64 (1.1.28-2.1ubuntu0.1) …
Selecting previously unselected package python-cffi-backend.
Preparing to unpack …/python-cffi-backend_1.5.2-1ubuntu1_amd64.deb …
Unpacking python-cffi-backend (1.5.2-1ubuntu1) …
Selecting previously unselected package python-pkg-resources.
Preparing to unpack …/python-pkg-resources_20.7.0-1_all.deb …
Unpacking python-pkg-resources (20.7.0-1) …
Selecting previously unselected package python-chardet.
Preparing to unpack …/python-chardet_2.3.0-2_all.deb …
Unpacking python-chardet (2.3.0-2) …
Selecting previously unselected package python-enum34.
Preparing to unpack …/python-enum34_1.1.2-1_all.deb …
Unpacking python-enum34 (1.1.2-1) …
Selecting previously unselected package python-idna.
Preparing to unpack …/python-idna_2.0-3_all.deb …
Unpacking python-idna (2.0-3) …
Selecting previously unselected package python-ipaddress.
Preparing to unpack …/python-ipaddress_1.0.16-1_all.deb …
Unpacking python-ipaddress (1.0.16-1) …
Selecting previously unselected package python-pyasn1.
Preparing to unpack …/python-pyasn1_0.1.9-1_all.deb …
Unpacking python-pyasn1 (0.1.9-1) …
Selecting previously unselected package python-six.
Preparing to unpack …/python-six_1.10.0-3_all.deb …
Unpacking python-six (1.10.0-3) …
Selecting previously unselected package python-cryptography.
Preparing to unpack …/python-cryptography_1.2.3-1ubuntu0.1_amd64.deb …
Unpacking python-cryptography (1.2.3-1ubuntu0.1) …
Selecting previously unselected package python-openssl.
Preparing to unpack …/python-openssl_0.15.1-2build1_all.deb …
Unpacking python-openssl (0.15.1-2build1) …
Selecting previously unselected package python-ndg-httpsclient.
Preparing to unpack …/python-ndg-httpsclient_0.4.0-3_all.deb …
Unpacking python-ndg-httpsclient (0.4.0-3) …
Selecting previously unselected package python-urllib3.
Preparing to unpack …/python-urllib3_1.13.1-2ubuntu0.16.04.1_all.deb …
Unpacking python-urllib3 (1.13.1-2ubuntu0.16.04.1) …
Selecting previously unselected package python-requests.
Preparing to unpack …/python-requests_2.9.1-3_all.deb …
Unpacking python-requests (2.9.1-3) …
Selecting previously unselected package python3-bs4.
Preparing to unpack …/python3-bs4_4.4.1-1_all.deb …
Unpacking python3-bs4 (4.4.1-1) …
Selecting previously unselected package python3-colorama.
Preparing to unpack …/python3-colorama_0.3.7-1_all.deb …
Unpacking python3-colorama (0.3.7-1) …
Selecting previously unselected package python3-click.
Preparing to unpack …/python3-click_6.2-2ubuntu1_all.deb …
Unpacking python3-click (6.2-2ubuntu1) …
Selecting previously unselected package python3-html5lib.
Preparing to unpack …/python3-html5lib_0.999-4_all.deb …
Unpacking python3-html5lib (0.999-4) …
Selecting previously unselected package python3-jsonschema.
Preparing to unpack …/python3-jsonschema_2.5.1-4_all.deb …
Unpacking python3-jsonschema (2.5.1-4) …
Selecting previously unselected package python3-libnacl.
Preparing to unpack …/python3-libnacl_1.4.5-0ubuntu1_all.deb …
Unpacking python3-libnacl (1.4.5-0ubuntu1) …
Selecting previously unselected package python3-lxml.
Preparing to unpack …/python3-lxml_3.5.0-1build1_amd64.deb …
Unpacking python3-lxml (3.5.0-1build1) …
Selecting previously unselected package python3-petname.
Preparing to unpack …/python3-petname_2.0-0ubuntu1~16.04_all.deb …
Unpacking python3-petname (2.0-0ubuntu1~16.04) …
Selecting previously unselected package python3-progressbar.
Preparing to unpack …/python3-progressbar_2.3-2_all.deb …
Unpacking python3-progressbar (2.3-2) …
Selecting previously unselected package python3-pymacaroons.
Preparing to unpack …/python3-pymacaroons_0.9.2-0ubuntu1_all.deb …
Unpacking python3-pymacaroons (0.9.2-0ubuntu1) …
Selecting previously unselected package python3-pysha3.
Preparing to unpack …/python3-pysha3_1.0.0-0ubuntu1~ubuntu16.04.1_amd64.deb …
Unpacking python3-pysha3 (1.0.0-0ubuntu1~ubuntu16.04.1) …
Selecting previously unselected package python3-requests-toolbelt.
Preparing to unpack …/python3-requests-toolbelt_0.6.0-2_all.deb …
Unpacking python3-requests-toolbelt (0.6.0-2) …
Selecting previously unselected package python3-requests-unixsocket.
Preparing to unpack …/python3-requests-unixsocket_0.1.5-0ubuntu4_all.deb …
Unpacking python3-requests-unixsocket (0.1.5-0ubuntu4) …
Selecting previously unselected package python3-simplejson.
Preparing to unpack …/python3-simplejson_3.8.1-1ubuntu2_amd64.deb …
Unpacking python3-simplejson (3.8.1-1ubuntu2) …
Selecting previously unselected package python3-tabulate.
Preparing to unpack …/python3-tabulate_0.7.5-1_all.deb …
Unpacking python3-tabulate (0.7.5-1) …
Selecting previously unselected package python3-xdg.
Preparing to unpack …/python3-xdg_0.25-4_all.deb …
Unpacking python3-xdg (0.25-4) …
Selecting previously unselected package xdelta3.
Preparing to unpack …/xdelta3_3.0.8-dfsg-1ubuntu2_amd64.deb …
Unpacking xdelta3 (3.0.8-dfsg-1ubuntu2) …
Selecting previously unselected package python3-libarchive-c.
Preparing to unpack …/python3-libarchive-c_2.1-3_all.deb …
Unpacking python3-libarchive-c (2.1-3) …
Selecting previously unselected package python3-magic.
Preparing to unpack …/python3-magic_1%3a5.25-2ubuntu1_all.deb …
Unpacking python3-magic (1:5.25-2ubuntu1) …
Selecting previously unselected package snapcraft.
Preparing to unpack …/snapcraft_2.35_all.deb …
Unpacking snapcraft (2.35) …
Processing triggers for man-db (2.7.5-1) …
Processing triggers for libc-bin (2.23-0ubuntu10) …
Setting up libpython2.7-stdlib:amd64 (2.7.12-1ubuntu0~16.04.3) …
Setting up python2.7 (2.7.12-1ubuntu0~16.04.3) …
Setting up libpython-stdlib:amd64 (2.7.11-1) …
Setting up python (2.7.11-1) …
Setting up libarchive13:amd64 (3.1.2-11ubuntu0.16.04.3) …
Setting up libsodium18:amd64 (1.0.8-5) …
Setting up libxslt1.1:amd64 (1.1.28-2.1ubuntu0.1) …
Setting up python-cffi-backend (1.5.2-1ubuntu1) …
Setting up python-pkg-resources (20.7.0-1) …
Setting up python-chardet (2.3.0-2) …
Setting up python-enum34 (1.1.2-1) …
Setting up python-idna (2.0-3) …
Setting up python-ipaddress (1.0.16-1) …
Setting up python-pyasn1 (0.1.9-1) …
Setting up python-six (1.10.0-3) …
Setting up python-cryptography (1.2.3-1ubuntu0.1) …
Setting up python-openssl (0.15.1-2build1) …
Setting up python-ndg-httpsclient (0.4.0-3) …
Setting up python-urllib3 (1.13.1-2ubuntu0.16.04.1) …
Setting up python-requests (2.9.1-3) …
Setting up python3-bs4 (4.4.1-1) …
Setting up python3-colorama (0.3.7-1) …
Setting up python3-click (6.2-2ubuntu1) …
Setting up python3-html5lib (0.999-4) …
Setting up python3-jsonschema (2.5.1-4) …
update-alternatives: using /usr/bin/python3-jsonschema to provide /usr/bin/jsonschema (jsonschema) in auto mode
Setting up python3-libnacl (1.4.5-0ubuntu1) …
Setting up python3-lxml (3.5.0-1build1) …
Setting up python3-petname (2.0-0ubuntu1~16.04) …
Setting up python3-progressbar (2.3-2) …
Setting up python3-pymacaroons (0.9.2-0ubuntu1) …
Setting up python3-pysha3 (1.0.0-0ubuntu1~ubuntu16.04.1) …
Setting up python3-requests-toolbelt (0.6.0-2) …
Setting up python3-requests-unixsocket (0.1.5-0ubuntu4) …
Setting up python3-simplejson (3.8.1-1ubuntu2) …
Setting up python3-tabulate (0.7.5-1) …
Setting up python3-xdg (0.25-4) …
Setting up xdelta3 (3.0.8-dfsg-1ubuntu2) …
Setting up python3-libarchive-c (2.1-3) …
Setting up python3-magic (1:5.25-2ubuntu1) …
Setting up snapcraft (2.35) …
Processing triggers for libc-bin (2.23-0ubuntu10) …
Traceback (most recent call last):
File “/usr/bin/snapcraft”, line 9, in
load_entry_point(‘snapcraft==2.35’, ‘console_scripts’, ‘snapcraft’)()
File “/usr/lib/python3/dist-packages/pkg_resources/init.py”, line 542, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File “/usr/lib/python3/dist-packages/pkg_resources/init.py”, line 2569, in load_entry_point
return ep.load()
File “/usr/lib/python3/dist-packages/pkg_resources/init.py”, line 2229, in load
return self.resolve()
File “/usr/lib/python3/dist-packages/pkg_resources/init.py”, line 2235, in resolve
module = import(self.module_name, fromlist=[‘name’], level=0)
File “/usr/lib/python3/dist-packages/snapcraft/cli/main.py”, line 19, in
run(prog_name=‘snapcraft’)
File “/usr/lib/python3/dist-packages/click/core.py”, line 716, in call
return self.main(*args, **kwargs)
File “/usr/lib/python3/dist-packages/click/core.py”, line 696, in main
rv = self.invoke(ctx)
File “/usr/lib/python3/dist-packages/click/core.py”, line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/lib/python3/dist-packages/click/core.py”, line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/lib/python3/dist-packages/click/core.py”, line 534, in invoke
return callback(*args, **kwargs)
File “/usr/lib/python3/dist-packages/snapcraft/cli/lifecycle.py”, line 140, in snap
project_options, directory=directory, output=output)
File “/usr/lib/python3/dist-packages/snapcraft/internal/lifecycle/_packer.py”, line 45, in snap
execute(‘prime’, project_options)
File “/usr/lib/python3/dist-packages/snapcraft/internal/lifecycle/_runner.py”, line 61, in execute
config = snapcraft.internal.load_config(project_options)
File “/usr/lib/python3/dist-packages/snapcraft/internal/project_loader/init.py”, line 24, in load_config
return Config(project_options)
File “/usr/lib/python3/dist-packages/snapcraft/internal/project_loader/_config.py”, line 125, in init
snapcraft_yaml=self.snapcraft_yaml_path)
File “/usr/lib/python3/dist-packages/snapcraft/internal/project_loader/_parts_config.py”, line 55, in init
self._process_parts()
File “/usr/lib/python3/dist-packages/snapcraft/internal/project_loader/_parts_config.py”, line 85, in _process_parts
self.load_part(part_name, plugin_name, properties)
File “/usr/lib/python3/dist-packages/snapcraft/internal/project_loader/_parts_config.py”, line 194, in load_part
grammar_processor=grammar_processor)
File “/usr/lib/python3/dist-packages/snapcraft/internal/pluginhandler/init.py”, line 87, in init
self._part_properties)
File “/usr/lib/python3/dist-packages/snapcraft/internal/pluginhandler/init.py”, line 103, in _get_source_handler
properties[‘source’], source_type=properties[‘source-type’])
File “/usr/lib/python3/dist-packages/snapcraft/internal/sources/init.py”, line 161, in get_source_handler
source_type = _get_source_type_from_uri(source)
File “/usr/lib/python3/dist-packages/snapcraft/internal/sources/init.py”, line 191, in _get_source_type_from_uri
raise ValueError(‘local source ({}) is not a directory’.format(source))
ValueError: local source (/home/chris/testit/mine) is not a directory
Stopping local:snapcraft-oddly-wired-bobcat
Traceback (most recent call last):
File “/usr/bin/snapcraft”, line 11, in
load_entry_point(‘snapcraft==2.34+17.10’, ‘console_scripts’, ‘snapcraft’)()
File “/usr/lib/python3/dist-packages/pkg_resources/init.py”, line 564, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File “/usr/lib/python3/dist-packages/pkg_resources/init.py”, line 2662, in load_entry_point
return ep.load()
File “/usr/lib/python3/dist-packages/pkg_resources/init.py”, line 2316, in load
return self.resolve()
File “/usr/lib/python3/dist-packages/pkg_resources/init.py”, line 2322, in resolve
module = import(self.module_name, fromlist=[‘name’], level=0)
File “/usr/lib/python3/dist-packages/snapcraft/cli/main.py”, line 19, in
run(prog_name=‘snapcraft’)
File “/usr/lib/python3/dist-packages/click/core.py”, line 722, in call
return self.main(*args, **kwargs)
File “/usr/lib/python3/dist-packages/click/core.py”, line 697, in main
rv = self.invoke(ctx)
File “/usr/lib/python3/dist-packages/click/core.py”, line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/lib/python3/dist-packages/click/core.py”, line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/lib/python3/dist-packages/click/core.py”, line 535, in invoke
return callback(*args, **kwargs)
File “/usr/lib/python3/dist-packages/snapcraft/cli/lifecycle.py”, line 188, in cleanbuild
lifecycle.cleanbuild(project_options, remote)
File “/usr/lib/python3/dist-packages/snapcraft/internal/lifecycle.py”, line 326, in cleanbuild
metadata=config.get_metadata(), remote=remote).execute()
File “/usr/lib/python3/dist-packages/snapcraft/internal/lxd.py”, line 164, in execute
raise e
File “/usr/lib/python3/dist-packages/snapcraft/internal/lxd.py”, line 158, in execute
self._container_run(command, cwd=self._project_folder)
File “/usr/lib/python3/dist-packages/snapcraft/internal/lxd.py”, line 113, in _container_run
check_call([‘lxc’, ‘exec’, self._container_name, ‘–’] + cmd)
File “/usr/lib/python3.6/subprocess.py”, line 291, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘[‘lxc’, ‘exec’, ‘local:snapcraft-oddly-wired-bobcat’, ‘–’, ‘sh’, ‘-c’, ‘cd /root/build_testit; snapcraft snap --output testit_0.1_amd64.snap’]’ returned non-zero exit status 1.