Store review error itself errors out
Metadata
Current evaluation
Legacy store review failures triggered an IndexError while formatting StoreReviewError, hiding the real rejection message; the affected storeapi and internal error stack no longer exists.
Suggested action: close stale
Reason: The traceback targets the legacy `storeapi` and `snapcraft/internal/errors.py` implementation; history shows that error path was removed by commit d4e71b25b, and the current tree has no `StoreReviewError`, `storeapi`, or `raise_for_code`. Current errors instead inherit from `CraftError`, so this obsolete code path can no longer reproduce.
Evaluated by: mr-cal-bot
Impact:
32
Quick Win:
25
Complexity:
12
Confidence:
95
Actionability:
88
Issue body
Uploading foo.snap [==========================================================] 100%
Error while processing...|
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/snapcraft/main.py", line 244, in main
return run(args, project_options)
File "/usr/lib/python3/dist-packages/snapcraft/main.py", line 288, in run
_run_store_command(args)
File "/usr/lib/python3/dist-packages/snapcraft/main.py", line 349, in _run_store_command
snapcraft.push(args['<snap-file>'], release_channels)
File "/usr/lib/python3/dist-packages/snapcraft/_store.py", line 457, in push
result = _push_snap(snap_name, snap_filename)
File "/usr/lib/python3/dist-packages/snapcraft/_store.py", line 480, in _push_snap
tracker.raise_for_code()
File "/usr/lib/python3/dist-packages/snapcraft/storeapi/__init__.py", line 754, in raise_for_code
raise errors.StoreReviewError(self.__content)
snapcraft.storeapi.errors.StoreReviewError: <exception str() failed>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/snapcraft", line 31, in <module>
snapcraft.main.main()
File "/usr/lib/python3/dist-packages/snapcraft/main.py", line 249, in main
logger.error(str(e))
File "/usr/lib/python3/dist-packages/snapcraft/internal/errors.py", line 42, in __str__
return self.fmt.format([], **self.__dict__)
IndexError: tuple index out of range
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha |
Impact:
32
Quick Win:
25
Complexity:
12
Confidence:
95
Actionability:
88
|
close stale | Legacy store review failures triggered an IndexError while formatting StoreReviewError, hiding the real rejection message; the affected storeapi and internal error stack no longer exists. | |
| qwen/qwen3.6-35b-a3b |
Impact:
30
Quick Win:
30
Complexity:
0
Confidence:
90
Actionability:
100
|
close resolved | Store review errors caused an IndexError during formatting in the legacy `snapcraft/internal/errors.py` and `storeapi` modules. These modules were removed during the craft-application migration and core20 drop. | |
| qwen/qwen3.8-27b |
Impact:
25
Quick Win:
18
Staleness:
95
Complexity:
30
Confidence:
80
Support Request:
5
|
close stale | snapcraft crashed with IndexError when logging a StoreReviewError during snap push; the old storeapi error path was replaced by craft-store error handling, so the bug is no longer reproducible in current code. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
98
Complexity:
20
Confidence:
90
Support Request:
5
|
close stale | Error handling in snapcraft crashes when formatting a StoreReviewError, causing an IndexError during logging. Issue is over 9 years old with no maintainer interaction. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
98
Complexity:
15
Confidence:
95
Support Request:
0
|
close stale | Error handling bug in snapcraft where StoreReviewError formatting fails, causing an IndexError during traceback. Issue is over 9 years old with no activity. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
99
Complexity:
10
Confidence:
85
Support Request:
0
|
close stale | Error message formatting bug causes crash when displaying a StoreReviewError. Issue is over 9 years old with no activity or maintainer engagement. |
Update history
| Date | Change |
|---|---|
| created |
Related issues
No related issues found above the similarity threshold.