Package: calibre
Version: 5.26.0+dfsg-2
Severity: normal
X-Debbugs-Cc: kjo...@poczta.onet.pl

I quite frequently try to add ebooks wiht 

calibredb --timeout=600 add 
--with-library='http://localhost:8080/#CalibreLibrary'  ....
but regardless of "timeout" parameter, after about two minutes I got:

================
Traceback (most recent call last):
  File "/usr/bin/calibredb", line 21, in <module>
    sys.exit(main())
  File "/usr/lib/calibre/calibre/db/cli/main.py", line 251, in main
    return run_cmd(cmd, opts, args[1:], DBCtx(opts))
  File "/usr/lib/calibre/calibre/db/cli/main.py", line 41, in run_cmd
    ret = m.main(opts, args, dbctx)
  File "/usr/lib/calibre/calibre/db/cli/cmd_add.py", line 476, in main
    do_add(
  File "/usr/lib/calibre/calibre/db/cli/cmd_add.py", line 270, in do_add
    book_title, ids, mids, dups = dbctx.run(
  File "/usr/lib/calibre/calibre/db/cli/main.py", line 183, in run
    return self.remote_run(name, m, *args)
  File "/usr/lib/calibre/calibre/db/cli/main.py", line 205, in remote_run
    res = self.br.open_novisit(rq, timeout=self.timeout)
  File "/usr/lib/python3/dist-packages/mechanize/_mechanize.py", line 241, in 
open_novisit
    return self._mech_open(
  File "/usr/lib/python3/dist-packages/mechanize/_mechanize.py", line 313, in 
_mech_open
    raise response
mechanize._response.httperror_seek_wrapper: HTTP Error 408: Request Timeout
================

-- System Information:
Debian Release: 11.0
  APT prefers oldoldstable
  APT policy: (500, 'oldoldstable'), (500, 'unstable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-8-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages calibre depends on:
iu  calibre-bin                      5.26.0+dfsg-2
ii  dpkg                             1.20.9
ii  fonts-liberation2                2.1.3-1
ii  imagemagick                      8:6.9.11.60+dfsg-1.3
ii  imagemagick-6.q16 [imagemagick]  8:6.9.11.60+dfsg-1.3
ii  libjpeg-turbo-progs              1:2.0.6-4
ii  libjxr-tools                     1.1-6+b1
ii  optipng                          0.7.7-1+b1
ii  poppler-utils                    20.09.0-3.1
ii  python3                          3.9.2-3
ii  python3-apsw                     3.34.0-r1-1
ii  python3-bs4                      4.9.3-1
ii  python3-chardet                  4.0.0-1
ii  python3-chm                      0.8.6-2+b3
ii  python3-css-parser               1.0.6-1
ii  python3-cssselect                1.1.0+ds-1
ii  python3-cssutils                 1.0.2-3
ii  python3-dateutil                 2.8.1-6
ii  python3-feedparser               5.2.1-3
ii  python3-html2text                2020.1.16-1
ii  python3-html5-parser             0.4.9-3+b3
ii  python3-html5lib                 1.1-3
ii  python3-jeepney                  0.6.0-1
ii  python3-lxml                     4.6.3+dfsg-0.1
ii  python3-markdown                 3.3.4-1
ii  python3-mechanize                1:0.4.5-2
ii  python3-msgpack                  1.0.2-2
ii  python3-netifaces                0.10.9-0.2+b3
ii  python3-pil                      8.1.2+dfsg-0.3
ii  python3-pkg-resources            52.0.0-4
ii  python3-py7zr                    0.11.3+dfsg-1
ii  python3-pygments                 2.7.1+dfsg-2.1
ii  python3-pyparsing                2.4.7-1
ii  python3-pyqt5                    5.15.2+dfsg-3
ii  python3-pyqt5.qtsvg              5.15.2+dfsg-3
ii  python3-pyqt5.qtwebengine        5.15.2-2
ii  python3-pyqt5.sip                12.8.1-1+b2
ii  python3-regex                    0.1.20201113-1
ii  python3-routes                   2.5.1-1
ii  python3-speechd                  0.10.2-2
ii  python3-zeroconf                 0.26.1-1
ii  python3.9                        3.9.2-1
ii  xdg-utils                        1.1.3-4.1

Versions of packages calibre recommends:
ii  python3-dnspython  2.0.0-1
pn  python3-ipython    <none>
pn  udisks2            <none>

Versions of packages calibre suggests:
ii  python3-openssl   20.0.1-1
pn  python3-unrardll  <none>

-- debconf-show failed

Reply via email to