Converting MOBI to EPUB fails with "SplitError: Could not find reasonable point at which to split"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Normally, converting .mobi to .epub works great. However, there's one book where it just won't work, throwing this error:
1% Converting input to HTML...
InputFormatPl
on (…)
Parsing all content...
Forcing index.html into XHTML namespace
34% Running transforms on ebook...
Merging user specified metadata...
Detecting structure...
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 u'images/00006.jpg' from manifest
Trimming u'images/00004.jpg' from manifest
Creating EPUB Output...
67% Running EPUB Output plugin
Splitting markup on page breaks and flow limits, if any...
Looking for large trees in index.html...
Found large tree #42
Traceback (most recent call last):
File "/usr/bin/
sys.
File "/usr/lib/
plumber.run()
File "/usr/lib/
self.opts, self.log)
File "/usr/lib/
split(
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
raise SplitError(
calibre.
It, of course, doesn't produce an .epub file. Also, I checked, and the original .mobi doesn't have any long paragraphs that might cause this.
I don't think I'm allowed to attach the book I'm trying to convert, but it's this one:
http://
Versions:
calibre: 2.20.0-1 (But happened with earlier versions, too.)
Qt: 5.4.1-2
pyqt5: 5.4.1-1
OS: Linux 3.18.6-1-ARCH (x86_64)
That error indicates the input file contains some large block of
unstructured text. You can work around it by increasing the split size
int he epub output section of the conversion dialog, but be aware that
the resulting epub file might not work on some older e-ink devices.
status invalid