Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1043042: calibre: New warning when running `calibredb catalog'

32 views
Skip to first unread message

gregor herrmann

unread,
Aug 4, 2023, 9:30:06 PM8/4/23
to
Package: calibre
Version: 6.23.0-2
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

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).


Cheers,
gregor


- -- System Information:
Debian Release: trixie/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'unstable-debug'), (500, 'stable-security'), (500, 'oldoldstable'), (500, 'experimental'), (500, 'testing'), (500, 'stable'), (500, 'oldstable')
merged-usr: no
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.4.0-1-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=de_AT.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages calibre depends on:
ii ca-certificates 20230311
ii calibre-bin 6.23.0-2
ii fonts-liberation 1:2.1.5-3
ii libjpeg-turbo-progs 1:2.1.5-2
ii libjxr-tools 1.2~git20170615.f752187-5
ii libqt6webenginecore6-bin 6.4.2-final+dfsg-9
ii optipng 0.7.7-2+b1
ii poppler-utils 22.12.0-2+b1
ii pyqt6-dev-tools 6.5.2-1
ii python3 3.11.4-5
ii python3-apsw 3.42.0.1-1
ii python3-bs4 4.12.2-2
ii python3-chm 0.8.6-3+b4
ii python3-css-parser 1.0.9-1
ii python3-cssselect 1.2.0-2
ii python3-dateutil 2.8.2-2
ii python3-feedparser 6.0.10-1
ii python3-fonttools 4.38.0-1+b1
ii python3-html2text 2020.1.16-2
ii python3-html5-parser 0.4.11-1
ii python3-html5lib 1.1-3
ii python3-jeepney 0.8.0-3
ii python3-lxml 4.9.3-1
ii python3-markdown 3.4.4-1
ii python3-mechanize 1:0.4.8+pypi-5
ii python3-msgpack 1.0.3-2+b1
ii python3-netifaces 0.11.0-2+b1
ii python3-pil 10.0.0-1
ii python3-pkg-resources 68.0.0-1
ii python3-py7zr 0.11.3+dfsg-5
ii python3-pycryptodome 3.11.0+dfsg1-4
ii python3-pygments 2.15.1+dfsg-1
ii python3-pyparsing 3.1.0-1
ii python3-pyqt6 6.5.2-1
ii python3-pyqt6.qtquick 6.5.2-1
ii python3-pyqt6.qtsvg 6.5.2-1
ii python3-pyqt6.qtwebengine 6.5.0-1
ii python3-pyqt6.sip 13.5.2-1
ii python3-regex 0.1.20221031-1+b1
ii python3-routes 2.5.1-3
ii python3-speechd 0.11.4-2
ii python3-zeroconf 0.71.4-1
ii python3.11 3.11.4-1
ii webp 1.2.4-0.2
ii xdg-utils 1.1.3-4.1

Versions of packages calibre recommends:
ii python3-dnspython 2.4.1-1
ii python3-ipython 8.14.0-1
pn qt6-wayland <none>
pn udisks2 <none>

Versions of packages calibre suggests:
pn python3-unrardll <none>

- -- no debconf information

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAmTNo5ZfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx
RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ
qgbYvA//YahNmB+S3YIIIpH31ebnwPvpizYv0WF/zJTwg9aIe+Hnumk1F2KtimgM
la4zuUb/S+bLbbS5Iyx+3UNM1kGMjcahtwwWM4b3gxmoTLp65U6ThdPvJBWhNqSc
XY/VJxJ0ZotvJCs2SN47Att7Ts8Xhikm3Rmq/B7d9TcanuXTaPMc1UyLo7O+YHln
5OKdHVebuy9POj9NquK/mHhxoyJOfeJbAa+KBROyQrw8jN11HsrF/1HvwHgNEh5K
cb7St8LJ0jNjM5M1EYcP/apck2t+5ABHORrzPkQEfdYf50MuLMcDrxyTRqU856zs
MQmNKsEQfJEYH9oR/ToTHEDwUUq3z3JNF8iZyVCr8GFieA0q4hXxy3zfv7ulGm3E
RTLgzf/ONZ8bxh+A7Htt/3O9q4c3UmKdyoi4gRbDo10P8whWIALQVc+IMl1WE5pq
cRlPHXVY+jE+6vMTSb40rgkAgkqWGGKHSyS7ucw7t3TA0Z+N2aDjSdAN9j/RTNQ0
efUmT4XdqmjNknlE/2YLOG3LHreWpODZ8V8uJ6np6nUnJIyaCzOxJSgVbGoozJ0t
s2T2udIcQWEf0v2npeWXEp+ulPnx1DgSGXOsN2oL8l2zlu5Ep+adVqwff6fB8j6c
W+doucj6Zug8wav3r5cXJHR6NBR4uwaz2ewMWrCIc1nDUq39Ckg=
=CBe6
-----END PGP SIGNATURE-----

yokota

unread,
Aug 5, 2023, 8:50:05 AM8/5/23
to
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
0 new messages