[3.4.3] Charmcraft fetch-lib fails with `Library None not found in Charmhub.`
Metadata
Current evaluation
Bulk fetch-lib aborts on an unavailable local library and misleadingly prints “Library None not found”; current code still uses the absent CLI argument, while PR #2505 remains open.
Suggested action: keep open
Reason: The current implementation interpolates parsed_args.library in both bulk-fetch not-found branches, so an omitted argument produces exactly the reported None value. The public reproducer and comments identify unpublished or invalid LIBIDs as the trigger, while PR #2505 targets this path but remains open and unmerged.
Evaluated by: mr-cal-bot
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha |
Impact:
43
Quick Win:
25
Complexity:
38
Confidence:
96
Actionability:
92
|
keep open | Bulk fetch-lib aborts on an unavailable local library and misleadingly prints “Library None not found”; current code still uses the absent CLI argument, while PR #2505 remains open. | |
| stealth/space-bunny-alpha |
Impact:
38
Quick Win:
22
Complexity:
30
Confidence:
82
Actionability:
82
|
keep open | Bulk `charmcraft fetch-lib` fails fast with "Library None not found in Charmhub." instead of per-library status; cause confirmed in store.py, fix PR #2505 open/stalled. | |
| qwen/qwen3.6-35b-a3b |
Impact:
30
Quick Win:
19
Complexity:
20
Confidence:
70
Actionability:
80
|
keep open | charmcraft fetch-lib shows cryptic 'Library None not found' error instead of actual library name. Fix PR #2505 exists but has unresolved review comments and failing CI. | |
| qwen/qwen3.8-27b |
Impact:
45
Quick Win:
32
Staleness:
60
Complexity:
30
Confidence:
85
Support Request:
10
|
keep open | fetch-lib (all) fails with cryptic 'Library None not found in Charmhub' when a local lib is unpublished; maintainers confirmed the cause and unhelpful message, but the buggy error path in store.py remains unfixed in current code. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
65
Complexity:
40
Confidence:
85
Support Request:
10
|
keep open | Bug report for cryptic Library None not found in Charmhub error during charmcraft fetch-lib, acknowledged by maintainers as unhelpful and needing better error messaging. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
65
Complexity:
20
Confidence:
85
Support Request:
10
|
keep open | Charmcraft fetch-lib fails with cryptic Library None not found in Charmhub error when encountering unpublished or invalid libraries. Maintainers acknowledge the unhelpful message and agree it needs improvement, but no fix has been implemented yet. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
50
Complexity:
40
Confidence:
85
Support Request:
10
|
keep open | Charmcraft fetch-lib fails with a cryptic Library None not found error and lacks detailed output. Maintainers acknowledge the issue and agree better error reporting is needed. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
charmcraft#2505
(confidence 98%)
Open PR explicitly fixes the cryptic None name by using the library's full name and adds test coverage.
-
Related To:
charmcraft#2504
(confidence 94%)
A prior WIP PR addressed the same Charmcraft 3.4.3 fetch-lib failure but was closed without completing review or tests.
-
Related To:
charmcraft#2503
(confidence 94%)
Another closed WIP PR attempted to address the related fetch-lib library-not-found failure.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2503 [WIP] Fix fetch-lib error in charmcraft causing library not found | charmcraft | closed | PR #2503 was closed unmerged as unfinished WIP; tests, review, and security checks were not completed. The fetch-lib “Library None” bug remains, while PR #2505 is still open. | |
| #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. | |
| #1788 `fetch-lib` should work from anywhere | charmcraft | open | `fetch-lib` regressed in Charmcraft 3.1.1 by requiring charmcraft.yaml outside projects; a minimal reproducer was provided, and a maintainer explicitly kept the compatibility request open. | |
| #2504 [WIP] Fix fetch-lib error in charmcraft 3.4.3 | charmcraft | closed | Closed unmerged without tests, review, or CodeQL; the WIP fix was abandoned, while follow-up PR #2505 remains open for issue #2204. | |
| #1671 `fetch-libs` command requires being logged into charmhub | charmcraft | closed | Fixed by merged PR #1702 (commit 1da46c8f), which made fetch-libs use anonymous Charmhub access. PR #1701 also fixed handling of library names containing underscores. |