12-25-2009, 02:29 PM | #1 |
Fanatic
Posts: 573
Karma: 1334691
Join Date: Nov 2006
Location: Miami
Device: KH2O, KPW2, KDXG, KPW1, K3, S505
|
Mobi to Mobi problem
I have an ebook formatted for DX. I want to reformat for non-DX Kindle. When I try to convert I get the following. Any suggestions?
ERROR: Conversion Error: <b>Failed</b>: Convert book 1 of 1 (Book Name) Convert book 1 of 1 (Book Name) Resolved conversion options {'asciiize': False, 'author_sort': None, 'authors': None, 'base_font_size': 0.0, 'book_producer': None, 'chapter': u"//*[((name()='h1' or name()='h2') and re:test(., 'chapter|book|section|part\\s+', 'i')) or @class = 'chapter']", 'chapter_mark': u'pagebreak', 'comments': None, 'cover': '/var/folders/h+/h+G5zJKBEHWWBS-ckl9l-U+++TI/-Tmp-/calibre_0.6.29_Cnebbf.jpeg', 'debug_pipeline': None, 'disable_font_rescaling': False, 'dont_compress': False, 'dont_justify': False, 'extra_css': None, 'font_size_mapping': None, 'footer_regex': u'(?i)(?<=<hr>)((\\s*<a name=\\d+></a>((<img.+?>)*<br>\\s*)?\\d+<br>\\s*.*?\\s*)|(\\s* <a name=\\d+></a>((<img.+?>)*<br>\\s*)?.*?<br>\\s*\\d+))(?=<br>)' , 'header_regex': u'(?i)(?<=<hr>)((\\s*<a name=\\d+></a>((<img.+?>)*<br>\\s*)?\\d+<br>\\s*.*?\\s*)|(\\s* <a name=\\d+></a>((<img.+?>)*<br>\\s*)?.*?<br>\\s*\\d+))(?=<br>)' , 'input_encoding': None, 'input_profile': <calibre.customize.profiles.InputProfile object at 0x5513390>, 'insert_blank_line': False, 'insert_metadata': False, 'isbn': None, 'language': None, 'level1_toc': None, 'level2_toc': None, 'level3_toc': None, 'line_height': 0.0, 'linearize_tables': False, 'margin_bottom': 5.0, 'margin_left': 5.0, 'margin_right': 5.0, 'margin_top': 5.0, 'max_toc_links': 50, 'no_chapters_in_toc': False, 'no_inline_navbars': True, 'no_inline_toc': False, 'output_profile': <calibre.customize.profiles.KindleOutput object at 0x55135b0>, 'page_breaks_before': u'/', 'prefer_author_sort': False, 'prefer_metadata_cover': False, 'preprocess_html': False, 'pretty_print': False, 'publisher': None, 'rating': None, 'read_metadata_from_opf': '/var/folders/h+/h+G5zJKBEHWWBS-ckl9l-U+++TI/-Tmp-/calibre_0.6.29_YePwsG.opf', 'remove_first_image': False, 'remove_footer': False, 'remove_header': False, 'remove_paragraph_spacing': False, 'remove_paragraph_spacing_indent_size': 1.5, 'rescale_images': False, 'series': None, 'series_index': None, 'tags': None, 'title': None, 'title_sort': None, 'toc_filter': None, 'toc_threshold': 6, 'toc_title': None, 'use_auto_toc': False, 'verbose': 2} InputFormatPlugin: MOBI Input running on /Volumes/Media 1/E-Books/Calibre/Author Name/Book Name (1333)/Book Name.mobi Extracting text... Adding anchors... Extracting images... Cleaning up HTML... Parsing HTML... Malformed markup, parsing using BeautifulSoup Converting style information to CSS... Creating OPF... Parsing all content... Parsing styles.css ... Property: Invalid value for "CSS Level 2.1" property: ndle7 [32:33: text-indent] Property: No ":" after name found: u't ' [32:53: ] Property: No property value found: u't '. [32:53: ] CSSStyleDeclaration: Syntax Error in Property: t CSSValue: No match: ('CHAR', u'=', 66, 31) CSSStyleDeclaration: Syntax Error in Property: margin-top: 0%t= Parsing The_Boy_Who_-essed_the_Wind.html ... Forcing The_Boy_Who_-essed_the_Wind.html into XHTML namespace Generating default TOC from spine... Merging user specified metadata... Detecting structure... Detected chapter: CHAPTER SEVEN Detected chapter: CHAPTER NINE Detected chapter: CHAPTER TEN Detected chapter: CHAPTER ELEVEN Detected chapter: CHAPTER FOURTEEN Auto generated TOC with 34 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 ... Property: Invalid value for "CSS Level 2.1" property: ndle7 [214:1: text-indent] Trimming 'images/00015.jpg' from manifest Trimming 'images/00010.jpg' from manifest Trimming 'images/00006.jpg' from manifest Trimming 'images/00005.jpg' from manifest Trimming 'images/00020.jpg' from manifest Trimming 'images/00008.jpg' from manifest Trimming 'images/00011.jpg' from manifest couldn't create image from "" Creating MOBI Output... Generating in-line TOC... Applying case-transforming CSS... Parsing manglecase.css ... Parsing tocstyle.css ... Rasterizing SVG images... Rasterizing <Element {http://www.w3.org/2000/svg}svg at 7d3ae10> to 1179x1347 Converting XHTML to Mobipocket markup... 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 21, in gui_convert File "calibre/ebooks/conversion/plumber.pyo", line 843, in run File "calibre/ebooks/mobi/output.pyo", line 166, in convert File "calibre/ebooks/mobi/mobiml.pyo", line 99, in __call__ File "calibre/ebooks/mobi/mobiml.pyo", line 122, in mobimlize_spine File "calibre/ebooks/mobi/mobiml.pyo", line 393, in mobimlize_elem File "calibre/ebooks/mobi/mobiml.pyo", line 393, in mobimlize_elem File "calibre/ebooks/mobi/mobiml.pyo", line 393, in mobimlize_elem File "calibre/ebooks/mobi/mobiml.pyo", line 393, in mobimlize_elem File "calibre/ebooks/mobi/mobiml.pyo", line 393, in mobimlize_elem File "calibre/ebooks/mobi/mobiml.pyo", line 393, in mobimlize_elem File "calibre/ebooks/mobi/mobiml.pyo", line 393, in mobimlize_elem File "calibre/ebooks/mobi/mobiml.pyo", line 393, in mobimlize_elem File "calibre/ebooks/mobi/mobiml.pyo", line 393, in mobimlize_elem File "calibre/ebooks/mobi/mobiml.pyo", line 393, in mobimlize_elem File "calibre/ebooks/mobi/mobiml.pyo", line 393, in mobimlize_elem File "calibre/ebooks/mobi/mobiml.pyo", line 391, in mobimlize_elem File "calibre/ebooks/mobi/mobiml.pyo", line 169, in mobimlize_content TypeError: bad operand type for abs(): 'unicode' |
12-25-2009, 02:40 PM | #2 |
creator of calibre
Posts: 44,397
Karma: 23798586
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Not really, need the file.
|
Advert | |
|
12-25-2009, 08:06 PM | #3 |
Fanatic
Posts: 573
Karma: 1334691
Join Date: Nov 2006
Location: Miami
Device: KH2O, KPW2, KDXG, KPW1, K3, S505
|
Converting the Unicode seems to have worked. The file converted to EPUB and to TIF without a problem. HOwever it wold not convert to MOBI until I checked off the unicode translate mode
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CHM to Mobi problem | estrial | Calibre | 3 | 09-10-2010 10:58 AM |
chm to mobi problem | ramady | Calibre | 0 | 05-11-2010 07:42 AM |
problem with mobi creator | bobcdy | Kindle Formats | 8 | 06-30-2009 01:28 AM |
Dealing with the MOBI problem | Stingo | Calibre | 0 | 06-13-2009 10:32 AM |
Now that my mobi problem is solved | Boston | Kindle Developer's Corner | 34 | 11-18-2008 01:08 AM |