Conversion to PDF fails with "TypeError: '<=' not supported between instances of 'str' and 'float'"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When converting to PDF or other formats, getting the error below, always on "clean edges" as last line of output before the error.
Using Calibre version calibre-5.40.0 on Windows 10. Not sure I can upload an example due to copyrights.
(Edit) The following CSS will generate this error/conversion failure:
margin:auto;
Conversion error...
File "calibre\
File "calibre\
File "calibre\
File "calibre\
File "calibre\
File "calibre\
File "calibre\
File "calibre\
File "calibre\
TypeError: '<=' not supported between instances of 'str' and 'float'
description: | updated |
Fixed in branch master. The fix will be in the next release. calibre is usually released every alternate Friday.
status fixreleased