[Bug] Convert EPUB Fail (TypeError: cannot convert 'NoneType' object to bytes)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
calibre version:
6.7.1
python_impl:
CPython
cpus:
8
platform:
win32
Computer:
python version:
3.10.1 (main, Dec 23 2021, 12:15:59) [MSC v.1929 64 bit (AMD64)]
flags:
thread_info:
qt version:
6.3.1
ebook-convert.exe .\testNone.
Conversion options changed from defaults:
subset_
linearize_tables: True
enable_
remove_
preserve_
duplicate_
insert_
epub_version: '3'
1% 将输入转换为HTML中...
InputFormatPlugin: EPUB Input running
on D:\Document\
Parsing all content...
flow is too short, not running heuristics
flow is too short, not running heuristics
flow is too short, not running heuristics
34% 正在对电子书进行转换...
Merging user specified metadata...
Detecting structure...
Detected chapter: Chapter 1. The Tar Pit
.....
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Removing fake margins...
Cleaning up manifest...
Trimming unused files from manifest...
Trimming 'OEBPS/
Creating EPUB Output...
67% 正在运行 EPUB Output 插件
Rescaling image from 1000x1572 to 754x1186 OEBPS/html/
Splitting markup on page breaks and flow limits, if any...
Looking for large trees in OEBPS/html/
No large trees found
.........
The cover image has an id != "cover". Renaming to work around bug in Nook Color
Traceback (most recent call last):
File "runpy.py", line 196, in _run_module_as_main
File "runpy.py", line 86, 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: cannot convert 'NoneType' object to bytes
summary: |
- [Bug] TypeError: cannot convert 'NoneType' object to bytes + [Bug] Convert EPUB Fail (TypeError: cannot convert 'NoneType' object to + bytes) |
Fixed in branch master. The fix will be in the next release. calibre is usually released every alternate Friday.
status fixreleased