We also got the same error back from the store when publishing a snap, not revision 1 but 25 in this case. It's a Brand Store. Here is our output from CI:
$ snapcraft upload .dist/*.snap --release edge
Preparing to upload 'osp-test-pc_20.4.26_amd64.snap'.
After uploading, the resulting snap revision will be released to 'edge' when it passes the Snap Store review.
Install the review-tools from the Snap Store for enhanced checks before uploading this snap.
Pushing 'osp-test-pc_20.4.26_amd64.snap' [===============================] 100%
Ready to release!
Revision 25 of 'osp-test-pc' created.
Processing...|
Sorry, an error occurred in Snapcraft:
No revision information for 25
Traceback (most recent call last):
File "/snap/snapcraft/current/bin/snapcraft", line 33, in <module>
sys.exit(load_entry_point('snapcraft==4.3', 'console_scripts', 'snapcraft')())
File "/snap/snapcraft/current/lib/python3.6/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/snap/snapcraft/current/lib/python3.6/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/snap/snapcraft/current/lib/python3.6/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/snap/snapcraft/current/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/snap/snapcraft/current/lib/python3.6/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/snap/snapcraft/current/lib/python3.6/site-packages/snapcraft/cli/store.py", line 198, in upload
snap_revision
File "/snap/snapcraft/current/lib/python3.6/site-packages/snapcraft/storeapi/v2/channel_map.py", line 317, in get_revision
raise ValueError(f"No revision information for {revision_number!r}")
ValueError: No revision information for 25
You can find the traceback in file '/tmp/tmpsq5sctfq/trace.txt'.
A working job, which include other sundry set-up, took 33 seconds, whereas this job took 52. Perhaps there is something timing out on the store side ?
When we checked, the revision had been published.
A subsequent push creating a new revision was also fine.
Hi,
We also got the same error back from the store when publishing a snap, not revision 1 but 25 in this case. It's a Brand Store. Here is our output from CI:
$ snapcraft upload .dist/*.snap --release edge pc_20.4. 26_amd64. snap'. pc_20.4. 26_amd64. snap' [====== ======= ======= ======= ====] 100% snapcraft/ current/ bin/snapcraft" , line 33, in <module> exit(load_ entry_point( 'snapcraft= =4.3', 'console_scripts', 'snapcraft')()) snapcraft/ current/ lib/python3. 6/site- packages/ click/core. py", line 829, in __call__ snapcraft/ current/ lib/python3. 6/site- packages/ click/core. py", line 782, in main snapcraft/ current/ lib/python3. 6/site- packages/ click/core. py", line 1259, in invoke result( sub_ctx. command. invoke( sub_ctx) ) snapcraft/ current/ lib/python3. 6/site- packages/ click/core. py", line 1066, in invoke self.callback, **ctx.params) snapcraft/ current/ lib/python3. 6/site- packages/ click/core. py", line 610, in invoke snapcraft/ current/ lib/python3. 6/site- packages/ snapcraft/ cli/store. py", line 198, in upload snapcraft/ current/ lib/python3. 6/site- packages/ snapcraft/ storeapi/ v2/channel_ map.py" , line 317, in get_revision number! r}") fq/trace. txt'.
Preparing to upload 'osp-test-
After uploading, the resulting snap revision will be released to 'edge' when it passes the Snap Store review.
Install the review-tools from the Snap Store for enhanced checks before uploading this snap.
Pushing 'osp-test-
Ready to release!
Revision 25 of 'osp-test-pc' created.
Processing...|
Sorry, an error occurred in Snapcraft:
No revision information for 25
Traceback (most recent call last):
File "/snap/
sys.
File "/snap/
return self.main(*args, **kwargs)
File "/snap/
rv = self.invoke(ctx)
File "/snap/
return _process_
File "/snap/
return ctx.invoke(
File "/snap/
return callback(*args, **kwargs)
File "/snap/
snap_revision
File "/snap/
raise ValueError(f"No revision information for {revision_
ValueError: No revision information for 25
You can find the traceback in file '/tmp/tmpsq5sct
A working job, which include other sundry set-up, took 33 seconds, whereas this job took 52. Perhaps there is something timing out on the store side ?
When we checked, the revision had been published.
A subsequent push creating a new revision was also fine.
Cheers,
Just