Error when converting to pdb ereader
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I'm using 5.33.2. When I try to convert a book to pdb ereader format I get an error. I don't get this error when converting to pdb doc format. I don't get this error in 3.20.0 (I've got it installed on an older computer) when trying to convert the identical file. I get the same error message with various different source books. I'm using Windows 10.
Error message (full source file and error report are in the attachment):
Converting index.html to PML markup...
Traceback (most recent call last):
File "runpy.py", line 194, in _run_module_as_main
File "runpy.py", line 87, in _run_code
File "site.py", line 82, in <module>
File "site.py", line 77, in main
File "site.py", line 49, in run_entry_point
File "calibre\
File "calibre\
File "calibre\
File "calibre\
File "calibre\
File "calibre\
TypeError: a bytes-like object is required, not 'str'
Thanks in advance for helping.
Fixed in branch master. The fix will be in the next release. calibre is usually released every alternate Friday.
status fixreleased