False error when loading an extension module with .load

Open
#264 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

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.

Description

https://github.com/dbcli/litecli/pull/251 fixed an actual bug, not just a typecheck warning, where .load <some_path>/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.

Dominant language
Python
Stars
3.3k
Forks
95
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dbcli/litecli

All issues in dbcli/litecli

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.