Dear all,
I have difficulties when I try to upload my snap to the snap store. I generate the snap locally, and after confirming that I runs fine, I try to upload with the command:
snapcraft upload /home/kebekus/Software/projects/enroute/build-linux-debug/packaging/snap/enroute-flight-navigation_2.7.0_amd64.snap --release stable
The command crashes with the message below. Is there anything I can do? Any help is greatly appreciated.
Best,
Stefan.
Preparing to upload ‘enroute-flight-navigation_2.7.0_amd64.snap’.
After uploading, the resulting snap revision will be released to ‘stable’ when it passes the Snap Store review.
Running the review tools before pushing this snap to the Snap Store.
Sorry, an error occurred in Snapcraft:
Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File “/snap/snapcraft/6466/bin/snapcraft”, line 33, in
sys.exit(load_entry_point(‘snapcraft==4.7.1’, ‘console_scripts’, ‘snapcraft’)())
File “/snap/snapcraft/6466/lib/python3.6/site-packages/click/core.py”, line 829, in call
return self.main(*args, **kwargs)
File “/snap/snapcraft/6466/lib/python3.6/site-packages/click/core.py”, line 782, in main
rv = self.invoke(ctx)
File “/snap/snapcraft/6466/lib/python3.6/site-packages/click/core.py”, line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/snap/snapcraft/6466/lib/python3.6/site-packages/click/core.py”, line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/snap/snapcraft/6466/lib/python3.6/site-packages/click/core.py”, line 610, in invoke
return callback(*args, **kwargs)
File “/snap/snapcraft/6466/lib/python3.6/site-packages/snapcraft/cli/store.py”, line 175, in upload
review_snap(snap_file=snap_file)
File “/snap/snapcraft/6466/lib/python3.6/site-packages/snapcraft/cli/_review.py”, line 34, in review_snap
review_tools.run(snap_filename=snap_file)
File “/snap/snapcraft/6466/lib/python3.6/site-packages/snapcraft/internal/review_tools/_runner.py”, line 47, in common_decorator
method(snap_filename=snap_filename_common_path)
File “/snap/snapcraft/6466/lib/python3.6/site-packages/snapcraft/internal/review_tools/_runner.py”, line 79, in run
raise errors.ReviewError(review_json=json.loads(call_error.output.decode()))
File “/var/lib/snapd/snap/snapcraft/6466/usr/lib/python3.6/json/init.py”, line 354, in loads
return _default_decoder.decode(s)
File “/var/lib/snapd/snap/snapcraft/6466/usr/lib/python3.6/json/decoder.py”, line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File “/var/lib/snapd/snap/snapcraft/6466/usr/lib/python3.6/json/decoder.py”, line 357, in raw_decode
raise JSONDecodeError(“Expecting value”, s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Sending an error report because ALWAYS was selected in a past prompt.
This behavior can be changed by changing the always_send entry in /home/kebekus/.config/snapcraft/cli.cfg.