View Single Post
Old 09-28-2009, 12:12 AM   #1
keeska
Connoisseur
keeska has learned how to buy an e-book online
 
Posts: 59
Karma: 98
Join Date: Apr 2009
Location: Sedona, AZ
Device: Sony T1, Nexus 7, Kindle Fire HD, Samsung Note 3
Cannot convert some mobi ebooks to lrf

I often purchase ebooks in mobi format and then convert them to lrf for my SONY reader. Calibre has worked perfectly in the past but the last 2 books calibre failed to convert. I get the error shown below. The mobi ebooks read fine in the mobipocket reader so expect they are properly formatted.

Calibre is version 0.6.13 on Windows XP

Extracting text...
Adding anchors...
Extracting images...
Cleaning up HTML...
Parsing HTML...
Converting style information to CSS...
Creating OPF...
Parsing all content...
Parsing styles.css ...
Parsing Until_Proven_Guilty.html ...
File 'Until_Proven_Guilty.html' missing <title/> element
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Detected chapter: Chapter 1 S he was probably a cute kid once,
Detected chapter: Chapter 1

<Additional chapters detected - lines removed to reduce size>

Detected chapter: Chapter 26 W atkins and Means left hours late
Detected chapter: Chapter 26
Detected chapter: Other Books by J. A. Jance
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Traceback (most recent call last):
File "worker.py", line 103, in <module>
File "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 695, in run
File "calibre\ebooks\oeb\transforms\flatcss.pyo", line 125, in __call__
File "calibre\ebooks\oeb\transforms\flatcss.pyo", line 336, in flatten_spine
File "calibre\ebooks\oeb\transforms\flatcss.pyo", line 292, in flatten_node
File "calibre\ebooks\oeb\transforms\flatcss.pyo", line 292, in flatten_node
File "calibre\ebooks\oeb\transforms\flatcss.pyo", line 292, in flatten_node
File "calibre\ebooks\oeb\transforms\flatcss.pyo", line 292, in flatten_node
File "calibre\ebooks\oeb\transforms\flatcss.pyo", line 292, in flatten_node
File "calibre\ebooks\oeb\transforms\flatcss.pyo", line 292, in flatten_node
File "calibre\ebooks\oeb\transforms\flatcss.pyo", line 216, in flatten_node
File "calibre\ebooks\oeb\transforms\flatcss.pyo", line 203, in force_int
AttributeError: 'NoneType' object has no attribute 'group'
keeska is offline   Reply With Quote