dbcli / dbcli/litecli

False error when loading an extension module with .load

Open
#264 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
3.3k
Forks
95
PR merge metrics
No merged PRs in 30d

Description

https://github.com/dbcli/litecli/pull/251 fixed an actual bug, not just a typecheck warning, where `.load /foo` would invoke `load_extension -> None` but the caller expected an iterable to be returned. The user then sees a cryptic error without a traceback:
```
> .load ./foo
'NoneType' object is not iterable
```
when in fact the module loaded without error.

The latest pip version of the project is from 6 months ago and predates this fix.
Could you please tag and release a new version?

Thank you.

Contributor guide

Open the contributing guide

Research direction

Review pull request #251 and the project's current release metadata first. Confirm that the extension-loading fix is present in the source, then identify the project’s tagging and packaging steps; done means a new tagged version is available through pip with the fix included.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, sqlite
Domain
cli, release
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.