Hello gregor and python-apsw maintainer, > Since yesterday, `calibredb catalog' outputs a warning. > > I'm running the following command in a script from a daily cronjob: > > % calibredb catalog /home/gregoa/tmp/calibre.bib --entry-type=mixed > --add-files-path=False > --fields="authors,title,pubdate,id,library_name,publisher,#fullseries" > > and on the last run I -- for the first time -- got the following warning: > > Missing sys.apsw_fault_inject_control > > Exit code 0, and the resulting .bib file is ok; just the warning is > slightly annoying (as in: unnecessary mail from cron).
This error comes from python3-apsw (3.42.0.1-1) package. This error can be reproducible that just load "apsw" package. ``` $ python3 Python 3.11.4 (main, Jun 7 2023, 10:13:09) [GCC 12.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import apsw Missing sys.apsw_fault_inject_control >>> ``` This error message comes from src/apsw.c:APSW_FaultInjectControl() in python-apsw source code. Check out python-apsw source code in this line: https://sources.debian.org/src/python-apsw/3.42.0.1-1/src/apsw.c/#L2067 -- YOKOTA Hiroshi