ebook-convert fails with TypeError: Argument must be bytes or unicode, got 'float'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
ebook-convert (calibre 4.23.0)
OS: Fedora 33, Linux
Reproducer: Run ebook-convert input.html output.mobi
Stacktrace is:
Traceback (most recent call last):
File "/usr/bin/
sys.
File "/usr/lib64/
plumber.run()
File "/usr/lib64/
self.
File "/usr/lib64/
self.
File "/usr/lib64/
mobimlizer(oeb, opts)
File "/usr/lib64/
self.
File "/usr/lib64/
self.
File "/usr/lib64/
self.
File "/usr/lib64/
self.
File "/usr/lib64/
self.
File "/usr/lib64/
inline = etree.SubElemen
File "src/lxml/
File "src/lxml/
File "src/lxml/
File "src/lxml/
File "src/lxml/
File "src/lxml/
TypeError: Argument must be bytes or unicode, got 'float'
I do not provide support for people using distro provided packages. If you are using a distro provided package, uninstall it and install the official calibre binary from https:/ /calibre- ebook.com/ download_ linux and if you can reproduce the bug with that, re-open the ticket. Of course, if you are already using the official binary, apologies and feel free to re-open the ticket immediately :)
status invalid