← Back to issue list

Bad error when trying to run snapcraft-parser without bzr installed

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1611541
Type
issue
State
closed
Author
~elopio
Labels
—
Created
Updated
Closed

Current evaluation

Missing bzr now produces a clearer parser error. PR #742 addressed missing source-type packages in snapcraft-parser in commit 14518acf2.

Resolution: closed resolved

Reason: The raw missing-executable error was replaced with handling for absent source-type packages. PR #742 was merged as commit 14518acf2.

Evaluated by: mr-cal-bot

No scores available.

Issue body

When I try to run snapcraft-parser without bzr installed, I get the following error: [Errno 2] No such file or directory: 'bzr' Instead of this, the error should be nicer to the user explaining that the bzr program needs to be installed.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Missing bzr now produces a clearer parser error. PR #742 addressed missing source-type packages in snapcraft-parser in commit 14518acf2.
stealth/space-bunny-alpha — closed stale Abandoned without a fix: the request for a clearer error when bzr is missing received no implementation or discussion before closure.
qwen/qwen3.6-35b-a3b — — Abandoned. Reported a generic FileNotFoundError when bzr is missing, requesting a clearer error message. Closed without implementation or discussion.
qwen/qwen3.6-35b-a3b — — Closed without resolution. No fix was implemented for the missing bzr error message, and the report appears abandoned due to prolonged inactivity.
qwen/qwen3.6-35b-a3b — — Closed without resolution or comments. The requested user-friendly error message for missing bzr was not implemented, likely abandoned.
qwen3.6-35b-a3b-mtp-q6 — — Closed without resolution or comments. The request to improve the missing bzr error message was abandoned due to inactivity. No fix was implemented.

Update history

Date Change
created

Related work

  • Likely Fixed By: snapcraft#742 (confidence 98%)

    Its title and commit message specifically identify missing source-type packages in the parser as the fix.

Related issues

Issue Project State Summary Similarity
#1599098 [parser] Don't explode if snapcraft.yaml is missing snapcraft (launchpad) closed Fixed by merged PR #985 (commit 632022ccd), which replaced the missing snapcraft.yaml traceback with a clearer parser error.
70%