calibredb crashed when add book to content-server
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I tried to schedule auto-add book from a folder when content server is running using following command:
$ calibredb add --library-path=http://
It failed with such traceback:
Traceback (most recent call last):
File "/usr/bin/
sys.
File "/usr/lib/
return run_cmd(cmd, opts, args[1:], DBCtx(opts))
File "/usr/lib/
ret = m.main(opts, args, dbctx)
File "/usr/lib/
identifiers, lcodes, opts.filters
File "/usr/lib/
'add', 'format_group', tuple(map(
File "/usr/lib/
return self.remote_
File "/usr/lib/
res = self.br.
File "/usr/lib/
return self._mech_
File "/usr/lib/
response = UserAgentBase.
File "/usr/lib/
response = urlopen(self, req, data)
File "/usr/lib/
'_open', req)
File "/usr/lib/
result = func(*args)
File "/usr/lib/
return self.do_
File "/usr/lib/
h.request(
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
msg += message_body
UnicodeDecodeError: 'utf8' codec can't decode byte 0x93 in position 0: invalid start byte
System:
Description: Raspbian GNU/Linux 10 (buster)
Release: 10
Calibre version:
calibre (calibre 3.39.1)
affects: | calibre (Ubuntu) → calibre |
This bug was initially reported against:
version 3.39, released Jan 31, 2019
At the time, the current version of calibre was:
version 4.16, released May 14, 2020
We are now at 34 minor releases and 2 major releases after the version the bug was reported against. calibre doesn't even use python2 anymore, which is where the error message came from.
Please upgrade to calibre 5.2 and check if it works as expected. calibre does not support versions from 2 years ago.