Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 02-27-2010, 01:52 PM   #1
edbro
Warthog Driver
edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.
 
edbro's Avatar
 
Posts: 630
Karma: 4911
Join Date: Jul 2007
Location: Grapevine, TX
Device: iPad4
Conversion Failure

Tried to convert epub to rtf.

Code:
Convert book 1 of 1 (Making Money)
Resolved conversion options
{'asciiize': False,
 'author_sort': None,
 'authors': None,
 'base_font_size': 13.5,
 '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': 'c:\\users\\ed\\appdata\\local\\temp\\calibre_0.6.43_ec8urp.jpeg',
 'debug_pipeline': None,
 'disable_font_rescaling': 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 0x04E94D70>,
 'insert_blank_line': False,
 'insert_metadata': True,
 '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': False,
 'output_profile': <calibre.customize.profiles.SonyReaderOutput object at 0x04E94F50>,
 'page_breaks_before': u'/',
 'prefer_metadata_cover': False,
 'preprocess_html': False,
 'pretty_print': False,
 'pubdate': None,
 'publisher': None,
 'rating': None,
 'read_metadata_from_opf': 'c:\\users\\ed\\appdata\\local\\temp\\calibre_0.6.43_bdczgz.opf',
 'remove_first_image': False,
 'remove_footer': False,
 'remove_header': False,
 'remove_paragraph_spacing': True,
 'remove_paragraph_spacing_indent_size': 1.5,
 'series': None,
 'series_index': None,
 'tags': None,
 'timestamp': None,
 'title': None,
 'title_sort': None,
 'toc_filter': None,
 'toc_threshold': 6,
 'use_auto_toc': False,
 'verbose': 2}
InputFormatPlugin: EPUB Input running
on E:\Ebooks\Terry Pratchett\Making Money (1833)\Making Money - Terry Pratchett.epub
Found HTML cover titlepage.xhtml
Parsing all content...
Parsing Terry%20Pratchett%20-%20%5bDiscworld%2036%5d%20-%20Making%20Money%20%28v1.0%29_split_001.htm ...
Parsing titlepage.xhtml ...
Parsing Terry%20Pratchett%20-%20%5bDiscworld%2036%5d%20-%20Making%20Money%20%28v1.0%29_split_000.htm ...
Parsing Terry%20Pratchett%20-%20%5bDiscworld%2036%5d%20-%20Making%20Money%20%28v1.0%29_split_003.htm ...
Parsing Terry%20Pratchett%20-%20%5bDiscworld%2036%5d%20-%20Making%20Money%20%28v1.0%29_split_004.htm ...
Parsing Terry%20Pratchett%20-%20%5bDiscworld%2036%5d%20-%20Making%20Money%20%28v1.0%29_split_005.htm ...
Parsing stylesheet.css ...
Property: Unknown Property name. [37:5: mso-cellspacing]
Property: Unknown Property name. [38:5: mso-yfti-tbllook]
Property: Unknown Property name. [90:5: mso-bookmark]
Property: Unknown Property name. [107:5: mso-bookmark]
Property: Unknown Property name. [110:5: mso-bookmark]
Property: Unknown Property name. [113:5: mso-bookmark]
Property: Unknown Property name. [116:5: mso-bookmark]
Property: Unknown Property name. [119:5: mso-bookmark]
Property: Unknown Property name. [125:5: mso-no-proof]
Property: Invalid value for "CSS Level 2.1" property: 29 [128:5: height]
Property: Invalid value for "CSS Level 2.1" property: 322 [129:5: width]
Property: Invalid value for "CSS Level 2.1" property: 30 [132:5: height]
Property: Invalid value for "CSS Level 2.1" property: 287 [133:5: width]
Property: Invalid value for "CSS Level 2.1" property: 15 [136:5: height]
Property: Invalid value for "CSS Level 2.1" property: 58 [137:5: width]
Property: Invalid value for "CSS Level 2.1" property: 26 [140:5: height]
Property: Invalid value for "CSS Level 2.1" property: 523 [141:5: width]
Property: Invalid value for "CSS Level 2.1" property: 25 [144:5: height]
Property: Invalid value for "CSS Level 2.1" property: 195 [145:5: width]
Property: Unknown Property name. [148:5: mso-bookmark]
Property: Unknown Property name. [151:5: mso-bookmark]
Property: Unknown Property name. [154:5: mso-bookmark]
Property: Unknown Property name. [157:5: mso-bookmark]
Property: Unknown Property name. [168:5: tab-interval]
Property: Unknown Property name. [172:5: mso-bookmark]
Property: Unknown Property name. [175:5: mso-bookmark]
Property: Unknown Property name. [178:5: mso-bookmark]
Property: Unknown Property name. [182:5: mso-yfti-firstrow]
Property: Unknown Property name. [183:5: mso-yfti-irow]
Property: Unknown Property name. [197:5: mso-fareast-font-family]
Property: Unknown Property name. [198:5: mso-no-proof]
Property: Unknown Property name. [200:5: text-underline]
Property: Invalid value for "CSS Level 2.1" property: 25 [203:5: height]
Property: Invalid value for "CSS Level 2.1" property: 38 [204:5: width]
Property: Unknown Property name. [217:5: mso-yfti-irow]
Property: Unknown Property name. [222:5: mso-yfti-irow]
Property: Unknown Property name. [226:5: mso-fareast-font-family]
Property: Unknown Property name. [230:5: mso-yfti-irow]
Property: Unknown Property name. [235:5: mso-yfti-irow]
Property: Unknown Property name. [240:5: mso-yfti-irow]
Property: Unknown Property name. [245:5: mso-yfti-irow]
Property: Unknown Property name. [250:5: mso-yfti-irow]
Property: Unknown Property name. [255:5: mso-yfti-irow]
Property: Unknown Property name. [260:5: mso-yfti-irow]
Property: Unknown Property name. [265:5: mso-yfti-irow]
Property: Unknown Property name. [270:5: mso-yfti-irow]
Property: Unknown Property name. [275:5: mso-yfti-irow]
Property: Unknown Property name. [276:5: mso-yfti-lastrow]
Property: Unknown Property name. [281:5: mso-special-character]
Parsing Terry%20Pratchett%20-%20%5bDiscworld%2036%5d%20-%20Making%20Money%20%28v1.0%29_split_002.htm ...
Parsing jacket.xhtml ...
Referenced file 's.js' not found
Referenced file 'external/style.css' not found
Referenced file '~export~_files/editdata.mso' not found
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
	Detected chapter: Book Jacket
Inserting metadata into book...
Flattening CSS and remapping font sizes...
Transformed CSS selector .MsoNormal to .msonormal
Transformed CSS selector .MsoNormal1 to .msonormal1
Transformed CSS selector .MsoNormalTable to .msonormaltable
Transformed CSS selector .Section to .section
Stylesheet 'external/style.css' referenced by file 'Terry%20Pratchett%20-%20%5bDiscworld%2036%5d%20-%20Making%20Money%20%28v1.0%29_split_000.htm' not in manifest
Transformed CSS selector .MsoNormalTable to .msonormaltable
Stylesheet 'external/style.css' referenced by file 'Terry%20Pratchett%20-%20%5bDiscworld%2036%5d%20-%20Making%20Money%20%28v1.0%29_split_001.htm' not in manifest
Transformed CSS selector .MsoNormal1 to .msonormal1
Transformed CSS selector .MsoNormalTable to .msonormaltable
Transformed CSS selector .Section to .section
Stylesheet 'external/style.css' referenced by file 'Terry%20Pratchett%20-%20%5bDiscworld%2036%5d%20-%20Making%20Money%20%28v1.0%29_split_002.htm' not in manifest
Transformed CSS selector .MsoNormalTable to .msonormaltable
Transformed CSS selector .Section to .section
Stylesheet 'external/style.css' referenced by file 'Terry%20Pratchett%20-%20%5bDiscworld%2036%5d%20-%20Making%20Money%20%28v1.0%29_split_003.htm' not in manifest
Transformed CSS selector .MsoNormal1 to .msonormal1
Transformed CSS selector .MsoNormalTable to .msonormaltable
Transformed CSS selector .Section to .section
Stylesheet 'external/style.css' referenced by file 'Terry%20Pratchett%20-%20%5bDiscworld%2036%5d%20-%20Making%20Money%20%28v1.0%29_split_004.htm' not in manifest
Transformed CSS selector .MsoNormal1 to .msonormal1
Transformed CSS selector .MsoNormalTable to .msonormaltable
Transformed CSS selector .Section to .section
Stylesheet 'external/style.css' referenced by file 'Terry%20Pratchett%20-%20%5bDiscworld%2036%5d%20-%20Making%20Money%20%28v1.0%29_split_005.htm' not in manifest
Transformed CSS selector .MsoNormal1 to .msonormal1
Transformed CSS selector .Section to .section
Source base font size is 15.50004pt
Cleaning up manifest...
Trimming unused files from manifest...
Parsing stylesheet1.css ...
Property: Unknown Property name. [38:1: mso-cellspacing]
Property: Unknown Property name. [39:1: mso-yfti-tbllook]
Property: Unknown Property name. [121:1: mso-bookmark]
Property: Unknown Property name. [140:1: mso-bookmark]
Property: Unknown Property name. [144:1: mso-bookmark]
Property: Unknown Property name. [152:1: mso-bookmark]
Property: Unknown Property name. [156:1: mso-bookmark]
Property: Unknown Property name. [160:1: mso-bookmark]
Property: Unknown Property name. [164:1: mso-no-proof]
Property: Invalid value for "CSS Level 2.1" property: 29 [168:1: height]
Property: Invalid value for "CSS Level 2.1" property: 322 [169:1: width]
Property: Invalid value for "CSS Level 2.1" property: 30 [173:1: height]
Property: Invalid value for "CSS Level 2.1" property: 287 [174:1: width]
Property: Invalid value for "CSS Level 2.1" property: 15 [178:1: height]
Property: Invalid value for "CSS Level 2.1" property: 58 [179:1: width]
Property: Invalid value for "CSS Level 2.1" property: 26 [183:1: height]
Property: Invalid value for "CSS Level 2.1" property: 523 [184:1: width]
Property: Invalid value for "CSS Level 2.1" property: 25 [188:1: height]
Property: Invalid value for "CSS Level 2.1" property: 195 [189:1: width]
Property: Unknown Property name. [193:1: mso-bookmark]
Property: Unknown Property name. [209:1: mso-bookmark]
Property: Unknown Property name. [213:1: mso-bookmark]
Property: Unknown Property name. [217:1: mso-bookmark]
Property: Unknown Property name. [221:1: mso-bookmark]
Property: Unknown Property name. [225:1: mso-bookmark]
Property: Unknown Property name. [229:1: mso-bookmark]
Property: Unknown Property name. [234:1: mso-yfti-firstrow]
Property: Unknown Property name. [235:1: mso-yfti-irow]
Property: Unknown Property name. [251:1: mso-fareast-font-family]
Property: Unknown Property name. [252:1: mso-no-proof]
Property: Unknown Property name. [254:1: text-underline]
Property: Invalid value for "CSS Level 2.1" property: 25 [258:1: height]
Property: Invalid value for "CSS Level 2.1" property: 38 [259:1: width]
Property: Unknown Property name. [271:1: tab-interval]
Property: Unknown Property name. [287:1: mso-yfti-irow]
Property: Unknown Property name. [293:1: mso-yfti-irow]
Property: Unknown Property name. [299:1: mso-yfti-irow]
Property: Unknown Property name. [305:1: mso-yfti-irow]
Property: Unknown Property name. [311:1: mso-yfti-irow]
Property: Unknown Property name. [317:1: mso-yfti-irow]
Property: Unknown Property name. [323:1: mso-yfti-irow]
Property: Unknown Property name. [329:1: mso-yfti-irow]
Property: Unknown Property name. [335:1: mso-yfti-irow]
Property: Unknown Property name. [340:1: mso-fareast-font-family]
Property: Unknown Property name. [345:1: mso-yfti-irow]
Property: Unknown Property name. [351:1: mso-yfti-irow]
Property: Unknown Property name. [357:1: mso-yfti-irow]
Property: Unknown Property name. [358:1: mso-yfti-lastrow]
Property: Unknown Property name. [364:1: mso-special-character]
Trimming 'cover.jpg' from manifest
Trimming 'titlepage.xhtml' from manifest
Creating RTF Output...
Converting XHTML to RTF markup...
Converting jacket1.xhtml to RTF markup...
Transformed CSS selector .MsoNormal to .msonormal
Transformed CSS selector .MsoNormal1 to .msonormal1
Transformed CSS selector .MsoNormalTable to .msonormaltable
Transformed CSS selector .Section to .section
Converting jacket.xhtml to RTF markup...
Transformed CSS selector .MsoNormal to .msonormal
Transformed CSS selector .MsoNormal1 to .msonormal1
Transformed CSS selector .MsoNormalTable to .msonormaltable
Transformed CSS selector .Section to .section
Converting Terry%20Pratchett%20-%20%5bDiscworld%2036%5d%20-%20Making%20Money%20%28v1.0%29_split_000.htm to RTF markup...
Stylesheet 'external/style.css' referenced by file 'Terry%20Pratchett%20-%20%5bDiscworld%2036%5d%20-%20Making%20Money%20%28v1.0%29_split_000.htm' not in manifest
Transformed CSS selector .MsoNormalTable to .msonormaltable
Converting Terry%20Pratchett%20-%20%5bDiscworld%2036%5d%20-%20Making%20Money%20%28v1.0%29_split_001.htm to RTF markup...
Stylesheet 'external/style.css' referenced by file 'Terry%20Pratchett%20-%20%5bDiscworld%2036%5d%20-%20Making%20Money%20%28v1.0%29_split_001.htm' not in manifest
Transformed CSS selector .MsoNormal1 to .msonormal1
Transformed CSS selector .MsoNormalTable to .msonormaltable
Transformed CSS selector .Section to .section
Converting Terry%20Pratchett%20-%20%5bDiscworld%2036%5d%20-%20Making%20Money%20%28v1.0%29_split_002.htm to RTF markup...
Stylesheet 'external/style.css' referenced by file 'Terry%20Pratchett%20-%20%5bDiscworld%2036%5d%20-%20Making%20Money%20%28v1.0%29_split_002.htm' not in manifest
Transformed CSS selector .MsoNormalTable to .msonormaltable
Transformed CSS selector .Section to .section
Converting Terry%20Pratchett%20-%20%5bDiscworld%2036%5d%20-%20Making%20Money%20%28v1.0%29_split_003.htm to RTF markup...
Stylesheet 'external/style.css' referenced by file 'Terry%20Pratchett%20-%20%5bDiscworld%2036%5d%20-%20Making%20Money%20%28v1.0%29_split_003.htm' not in manifest
Transformed CSS selector .MsoNormal1 to .msonormal1
Transformed CSS selector .MsoNormalTable to .msonormaltable
Transformed CSS selector .Section to .section
Converting Terry%20Pratchett%20-%20%5bDiscworld%2036%5d%20-%20Making%20Money%20%28v1.0%29_split_004.htm to RTF markup...
Stylesheet 'external/style.css' referenced by file 'Terry%20Pratchett%20-%20%5bDiscworld%2036%5d%20-%20Making%20Money%20%28v1.0%29_split_004.htm' not in manifest
Transformed CSS selector .MsoNormal1 to .msonormal1
Transformed CSS selector .MsoNormalTable to .msonormaltable
Transformed CSS selector .Section to .section
Converting Terry%20Pratchett%20-%20%5bDiscworld%2036%5d%20-%20Making%20Money%20%28v1.0%29_split_005.htm to RTF markup...
Stylesheet 'external/style.css' referenced by file 'Terry%20Pratchett%20-%20%5bDiscworld%2036%5d%20-%20Making%20Money%20%28v1.0%29_split_005.htm' not in manifest
Transformed CSS selector .MsoNormal1 to .msonormal1
Transformed CSS selector .Section to .section
Python function terminated unexpectedly
  cannot write mode P as JPEG (Error Code: 1)
Traceback (most recent call last):
  File "site.py", line 103, in main
  File "site.py", line 85, in run_entry_point
  File "site-packages\calibre\utils\ipc\worker.py", line 99, in main
  File "site-packages\calibre\gui2\convert\gui_conversion.py", line 24, in gui_convert
  File "site-packages\calibre\ebooks\conversion\plumber.py", line 895, in run
  File "site-packages\calibre\ebooks\rtf\output.py", line 20, in convert
  File "site-packages\calibre\ebooks\rtf\rtfml.py", line 106, in extract_content
  File "site-packages\calibre\ebooks\rtf\rtfml.py", line 123, in mlize_spine
  File "site-packages\calibre\ebooks\rtf\rtfml.py", line 138, in insert_images
  File "site-packages\calibre\ebooks\rtf\rtfml.py", line 145, in image_to_hexstring
  File "site-packages\PIL\Image.py", line 1405, in save
  File "site-packages\PIL\JpegImagePlugin.py", line 390, in _save
IOError: cannot write mode P as JPEG
edbro is offline   Reply With Quote
Old 02-27-2010, 02:31 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,918
Karma: 5035037
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Will be fixed in next release.
kovidgoyal is online now   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Weird conversion failure franx Amazon Kindle 2 06-06-2010 03:25 PM
newsweek failure alexxxm Calibre 2 03-04-2009 10:47 AM
Dictionary Conversion Failure? daffy4u Kindle Formats 13 11-29-2008 08:07 AM
failure to launch whymany Calibre 4 10-06-2008 07:06 AM
2.9.5 update failure ElaHuguet iRex 34 06-07-2007 11:53 AM


All times are GMT -4. The time now is 12:15 PM.


MobileRead.com is a privately owned, operated and funded community.