← Back to issue list

ValueError: No revision information for 1

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1904212
Type
issue
State
open
Author
~popey
Labels
Created
Updated
Closed

Current evaluation

snapcraft 4.4.1 'push' (deprecated) crashed with 'ValueError: No revision information for 1' after a successful upload/release, likely a store channel-map race. Open ~5.8 years, zero comments, no labels or maintainer response.

Suggested action: close stale

Reason: The issue is from snapcraft 4.4.1 (~2019) using the long-deprecated 'push' command (the output itself notes it was replaced by 'upload'), has had zero comments or maintainer interaction for 1615+ days, and the affected version is far beyond support. The upload actually succeeded ('Revision 1 of dog created'), so the failure was a post-upload channel-map lookup error that is unlikely to reproduce on current snapcraft; if the reporter can reproduce on a supported version it can be reopened.

Impact: 25 Quick Win: 13.75 Staleness: 92 Complexity: 45 Confidence: 70 Support Request: 10

Issue body

Registered a name, got that approved by store team (3 letters long) and then tried to push all architectures in a loop. First one "failed" (but actually succeeded). $ for f in dog_v0.1.0_*.snap; do snapcraft push $f --release=candidate; done DEPRECATED: The 'push' set of commands have been replaced with 'upload'. See http://snapcraft.io/docs/deprecation-notices/dn11 for more information. Preparing to upload 'dog_v0.1.0_amd64.snap'. After uploading, the resulting snap revision will be released to 'candidate' when it passes the Snap Store review. Install the review-tools from the Snap Store for enhanced checks before uploading this snap. Pushing 'dog_v0.1.0_amd64.snap' [=================================================================================================================================================================================================] 100% Processing...| Ready to release! Revision 1 of 'dog' created. Sorry, an error occurred in Snapcraft: No revision information for 1 We would appreciate it if you anonymously reported this issue. No other data than the traceback and the version of snapcraft in use will be sent. Would you like to send this error data? (Yes/No/Always/View) [no]: v Traceback (most recent call last): File "/snap/snapcraft/5737/bin/snapcraft", line 33, in <module> sys.exit(load_entry_point('snapcraft==4.4.1', 'console_scripts', 'snapcraft')()) File "/snap/snapcraft/5737/lib/python3.6/site-packages/click/core.py", line 829, in __call__ return self.main(*args, **kwargs) File "/snap/snapcraft/5737/lib/python3.6/site-packages/click/core.py", line 782, in main rv = self.invoke(ctx) File "/snap/snapcraft/5737/lib/python3.6/site-packages/click/core.py", line 1259, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/snap/snapcraft/5737/lib/python3.6/site-packages/click/core.py", line 1066, in invoke return ctx.invoke(self.callback, **ctx.params) File "/snap/snapcraft/5737/lib/python3.6/site-packages/click/core.py", line 610, in invoke return callback(*args, **kwargs) File "/snap/snapcraft/5737/lib/python3.6/site-packages/snapcraft/cli/store.py", line 198, in upload snap_revision File "/snap/snapcraft/5737/lib/python3.6/site-packages/snapcraft/storeapi/v2/channel_map.py", line 332, in get_revision raise ValueError(f"No revision information for {revision_number!r}") ValueError: No revision information for 1 We would appreciate it if you anonymously reported this issue. No other data than the traceback and the version of snapcraft in use will be sent. Would you like to send this error data? (Yes/No/Always/View) [no]: y Thank you, sent.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 25
Quick Win: 13.75
Staleness: 92
Complexity: 45
Confidence: 70
Support Request: 10
close stale snapcraft 4.4.1 'push' (deprecated) crashed with 'ValueError: No revision information for 1' after a successful upload/release, likely a store channel-map race. Open ~5.8 years, zero comments, no labels or maintainer response.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 10
Confidence: 95
Support Request: 5
close stale Bug report for Snapcraft showing a ValueError during upload. Issue has been inactive for over 4 years with no maintainer response or labels.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 25
Confidence: 90
Support Request: 5
close stale Snapcraft 4.4.1 crashes with ValueError after successfully pushing a snap revision due to missing local state lookup. Issue is over 5 years old with no maintainer response.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 20
Confidence: 90
Support Request: 10
close stale Reports a ValueError when looping snapcraft push commands. The issue is over 5 years old, uses a deprecated command and outdated snapcraft version, and has zero maintainer interaction or comments.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 30
Confidence: 90
Support Request: 20
close stale Snapcraft 4.4.1 throws ValueError when pushing first revision via deprecated push command. Unlabelled, no maintainer response, inactive for over 4 years.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1999038 "snapcraft release" chokes given an invalid revision value snapcraft (launchpad) open Issue about confusing error when 'snapcraft release' receives invalid revision. Stale for 1366 days with no maintainer response. The release command appears to have been removed or deprecated.
71%