View Single Post
Old 07-13-2009, 02:11 PM   #491
ascherjim
Addict
ascherjim has a complete set of Star Wars action figures.ascherjim has a complete set of Star Wars action figures.ascherjim has a complete set of Star Wars action figures.
 
Posts: 260
Karma: 274
Join Date: Apr 2006
Location: Gig Harbor, Washington
Device: BeBook One, PocketBook 360, Kindle Paperwhite, Kobo Aura One
Quote:
Originally Posted by Stingo View Post
The Beta keeps running into new problems with conversion with each iteration.

I now can't convert HTML to MOBI. (I miss 5.14) Get the following:

Convert book 1 of 1 (u'To Say Nothing of the Dog')
InputFormatPlugin: HTML Input running on /Volumes/Media 1/E-Books/Calibre/Connie Willis/To Say Nothing of the Dog (1098)/To Say Nothing of the Dog - Connie Willis.html
Language not specified
Creator not specified
Building file list...
Found files...
HTMLFile:0:a:/Volumes/Media 1/E-Books/Calibre/Connie Willis/To Say Nothing of the Dog (1098)/To Say Nothing of the Dog - Connie Willis.html
Parsing To%20Say%20Nothing%20of%20the%20Dog%20-%20Connie%20Willis.html ...
Merging user specified metadata...
Detecting structure...
Auto generated TOC with 0 entries.
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Cleaning up manifest...
Trimming unused files from manifest...
Parsing stylesheet.css ...
Creating MOBI Output...
Applying case-transforming CSS...
Parsing manglecase.css ...
Rasterizing SVG images...
Converting XHTML to Mobipocket markup...
Serializing markup content...
Compressing markup content...
Generating flat CTOC ...
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Applications/E-Book-tools/calibre.app/Contents/console.app/Contents/Resources/lib/python2.6/site-packages.zip/calibre/utils/ipc/worker.py", line 90, in main
File "calibre/gui2/convert/gui_conversion.pyo", line 17, in gui_convert
File "calibre/ebooks/conversion/plumber.pyo", line 725, in run
File "calibre/ebooks/mobi/output.pyo", line 132, in convert
File "calibre/ebooks/mobi/writer.pyo", line 356, in __call__
File "calibre/ebooks/mobi/writer.pyo", line 369, in _dump_stream
File "calibre/ebooks/mobi/writer.pyo", line 376, in _generate_content
File "calibre/ebooks/mobi/writer.pyo", line 1232, in _generate_text
File "calibre/ebooks/mobi/writer.pyo", line 1960, in _generate_ctoc
KeyError: None

Tried HTML -> EPUB -> MOBI but also failed.
I've been having the same problem for some time now but have managed a quite satisfactory temporary fix (until Kovid gets this straightened out in his next beta) -- go back and load non-beta version 5(!), which makes the conversions fine! At least that works fine for me.
ascherjim is offline