dbcli / dbcli/litecli

False error when loading an extension module with .load

Ouverte
#264 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
3.3k
Forks
95
Métriques de merge des PR
Aucune PR mergée en 30 j

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.

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
python, sqlite
Domaine
cli, release
Type d'issue
Fonctionnalité
Difficulté
2/5
Temps estimé
1-3 heures
Activité
Calme
Clarté
Clairement spécifiée
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.