← Back to issue list

store error list is ugly

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1664716
Type
issue
State
closed
Author
~joetalbott
Labels
store
Created
Updated
Closed

Current evaluation

Store error formatting improved in CLI. Resolved by error handling updates (e.g. PR #2056, commit 1f90b2a91). Maintainer confirmed Snapcraft now presents these errors better.

Resolution: closed resolved

Reason: The issue was resolved by improving how Snapcraft presents store errors to the user. A maintainer confirmed in the comments that 'Snapcraft now presents these errors better,' citing subsequent CLI error handling improvements like PR #2056.

Evaluated by: mr-cal-bot

No scores available.

Issue body

``` $ snapcraft push core.snap Pushing 'core.snap' to the store. Uploading core.snap [ ] 0% Uploading core.snap [===================================================================================================================================================] 100% Error while processing...| The store was unable to accept this snap. - __all__: You do not have access to modify this package.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b — closed resolved Store error formatting improved in CLI. Resolved by error handling updates (e.g. PR #2056, commit 1f90b2a91). Maintainer confirmed Snapcraft now presents these errors better.
stealth/space-bunny-alpha
Impact: 20
Quick Win: 9
Complexity: 25
Confidence: 88
Actionability: 62
close resolved Store API rejection errors displayed an ugly __all__ list. The exact 2017 push reproducer is recorded, and later store-error formatting changes appear to have resolved it.
stealth/space-bunny-alpha
Impact: 20
Quick Win: 6
Complexity: 45
Confidence: 82
Actionability: 50
needs triage The report shows an ugly Store rejection list containing __all__; the reporter says its text comes directly from the Store, while current code uses a refactored craft-store error path.
qwen/qwen3.6-35b-a3b
Impact: 20
Quick Win: 14
Complexity: 10
Confidence: 85
Actionability: 80
close resolved Ugly store error list formatting showing '__all__' in error messages. Issue is 9.5 years old and error handling has been completely refactored.
qwen/qwen3.8-27b
Impact: 15
Quick Win: 12
Staleness: 95
Complexity: 20
Confidence: 60
Support Request: 10
close stale Cosmetic bug: snapcraft push displays raw '__all__' key in store error list. 9.5 years old, zero comments, no maintainer interaction; codebase has been significantly reorganized since filing.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 15
Confidence: 90
Support Request: 20
close stale Untriaged issue opened nearly 10 years ago complaining about error message formatting during snap push. Shows an access denied error with zero comments or maintainer response.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 15
Confidence: 90
Support Request: 10
close stale Report about poorly formatted error output in snapcraft push command. Issue is 9+ years old with no maintainer interaction, indicating it is no longer relevant to current versions.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 15
Confidence: 90
Support Request: 10
close stale Report from ~9.4 years ago about poor formatting of snapcraft store error messages. No maintainer response or activity.

Update history

Date Change
created

Related work

  • Likely Fixed By: snapcraft#2056 (confidence 90%)

    PR #2056 specifically addresses formatting of store errors, aligning with the maintainer's comment about improved error presentation.

Related issues

Issue Project State Summary Similarity
#2056 Fix formatting of some store errors snapcraft merged PR #2056 by cjwatson merged as commit 1f90b2a91, fixing store error messages that were pre-formatted with str.format so raw JSON braces no longer crash SnapcraftError.__str__ (LP: #1761488).
74%
#4863 fix(cli): properly capture store errors snapcraft merged Merged #4863 in commit 426df7ec3, restoring legacy-style store-error capture so store failures are no longer reported as Snapcraft internal errors.
74%
#585 Improve the store errors returning exceptions snapcraft merged Merged in canonical/snapcraft#585 via commit ddbbdbd06, refactoring store error handling to raise exceptions and addressing LP #1594636.
71%