← Back to issue list

fix(store): nicer error message when getting nonexistent libs

View original Github issue

Metadata

Project
charmcraft
Number
#2034
Type
pull request
State
merged
Author
lengau
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #2034 (commit c9b51038), fixing #1754 by replacing Charmhub's unclear missing-library response with a clearer fetch-libs error.

Resolution: closed resolved

Reason: PR #2034 was merged as commit c9b51038 and explicitly fixes #1754. It added clearer reporting for libraries unavailable on Charmhub.

Evaluated by: mr-cal-bot

No scores available.

Issue body

When a charm lib doesn't exist on charmhub, charmhub itself gives us a hard to use error. This is replaced with a more useful message. Fixes #1754 CRAFT-3353

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #2034 (commit c9b51038), fixing #1754 by replacing Charmhub's unclear missing-library response with a clearer fetch-libs error.
stealth/space-bunny-alpha — closed resolved Merged PR #2034 (commit c9b51038) replaced Charmhub’s unclear missing-library error with a clearer message, fixing #1754.
stealth/space-bunny-alpha — closed resolved Merged PR #2034 (c9b51038), replacing Charmhub’s unclear error for missing charm libraries with a more useful message.
qwen/qwen3.6-35b-a3b — — Merged a fix that replaces a cryptic charmhub error with a clearer message when a charm library is missing. Approved by two reviewers, the change resolves issue #1754 and CRAFT-3353, modifying two files with 35 additions and 3 deletions.
qwen3.6-35b-a3b-mtp-q6 — — Merged a fix replacing charmhub's unhelpful error for missing charm libraries with a clearer, user-friendly message. Resolves #1754 and CRAFT-3353.

Update history

No update history recorded yet.

Related work

Related issues

Issue Project State Summary Similarity
#2084 fix(store): better error message with fetch-lib charmcraft merged Merged as commit d0410f22, improving fetch-lib errors and resolving #1721/CRAFT-3352.
77%
#1754 `fetch-libs` has weird error messages when libs aren't available charmcraft closed Fixed misleading fetch-libs errors for unavailable libraries in merged PR #2034 (commit c9b51038), with a clearer missing-library message.
74%
#1721 fetch-lib error is useless/misleading charmcraft closed Fixed by merged PR #2084 (d0410f22), adding a clear fetch-lib error for unavailable libraries; the related fetch-libs case was fixed in #2034 (c9b51038).
71%
#2505 fix: fetch-lib error message showing "Library None not found" charmcraft open Fixes misleading 'Library None not found' error in `charmcraft fetch-lib` by using `lib_data.full_name` instead of `parsed_args.library`. PR is approved with CI passing but has 1 unresolved review comment.
71%
#1717 Getting an internal error for fetch-libs charmcraft closed Fixed by merged PR #1741 (commit 5fa2a47c): Charmcraft now falls back to an ephemeral keyring when no system keyring is available.
71%
#213 Charm building and pushing should be libs-aware charmcraft closed PR #2252 merged as 3118189c added upload-time warnings for locally newer libraries, but #213 was closed with the standalone check-libs command and broader validation still missing.
70%