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 07-03-2010, 09:37 PM   #1
JDługosz
Member
JDługosz is on a distinguished road
 
Posts: 18
Karma: 54
Join Date: Jul 2010
Device: Nook
Conversion Error ?

I just downloaded Calibre, after buying a Nook. FWIW, Amazon was non-commental concerning any questions, and it word was it didn't handle Far East characters. A friend showed me his new Nook and it was Android with an active "hacking" community, so I bought one on the spot.

I'm following the instructions loosly explained here, pasting that into the "Extra CSS" blank on "Convert Books".

So far, I "Converted" a epub (to epub), and converted plain text, but got this error on a .chm document:

Code:
ERROR: Conversion Error: <b>Failed</b>: Convert book 1 of 1 (Legend)

Convert book 1 of 1 (Legend)
Resolved conversion options
calibre version: 0.7.7
{'asciiize': False,
 'author_sort': None,
 'authors': None,
 'base_font_size': 0.0,
 'book_producer': None,
 'change_justification': u'original',
 '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': None,
 'debug_pipeline': None,
 'disable_font_rescaling': False,
 'dont_split_on_page_breaks': False,
 'extra_css': u'@font-face { \nfont-family: "DroidFont", serif, sans-serif; \nfont-weight: normal; \nfont-style: normal;\nsrc: url(res:///system/fonts/DroidSansFallback.ttf); \n} \n@font-face { \nfont-family: "DroidFont", serif, sans-serif; \nfont-weight: bold; \nfont-style: normal; \nsrc: url(res:///system/fonts/DroidSansFallback.ttf); \n} \n@font-face { \nfont-family: "DroidFont", serif, sans-serif; \nfont-weight: normal; \nfont-style: italic; \nsrc: url(res:///system/fonts/DroidSansFallback.ttf); \n} \n@font-face { \nfont-family: "DroidFont", serif, sans-serif; \nfont-weight: bold; \nfont-style: italic; \nsrc: url(res:///system/fonts/DroidSansFallback.ttf); \n} \nbody { \n   margin-right: 8pt; \n   font-family: \'DroidFont\', serif; \n}',
 'extract_to': None,
 'flow_size': 260,
 '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 0x04C44510>,
 'insert_blank_line': False,
 'insert_metadata': False,
 'isbn': None,
 'keep_ligatures': False,
 '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_default_epub_cover': False,
 'no_inline_navbars': False,
 'no_svg_cover': False,
 'output_profile': <calibre.customize.profiles.OutputProfile object at 0x04C446F0>,
 'page_breaks_before': u"//*[name()='h1' or name()='h2']",
 'prefer_metadata_cover': False,
 'preprocess_html': False,
 'preserve_cover_aspect_ratio': False,
 'pretty_print': True,
 'pubdate': None,
 'publisher': None,
 'rating': None,
 'read_metadata_from_opf': 'd:\\temp\\calibre_0.7.7_lxyu2w.opf',
 'remove_first_image': False,
 'remove_footer': False,
 'remove_header': False,
 'remove_paragraph_spacing': False,
 '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: CHM Input running
on D:\Calibre Library\Unknown\Legend (8)\Legend - Unknown.chm
Processing CHM...
tdir=d:\temp\calibre_0.7.7_sexidn_chm2oeb
stream.name=D:\Calibre Library\Unknown\Legend (8)\Legend - Unknown.chm
Opening CHM file
Extracting CHM to d:\temp\calibre_0.7.7_sexidn_chm2oeb
Python function terminated unexpectedly
  (2, 'No such file or directory') (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 815, in run
  File "site-packages\calibre\customize\conversion.py", line 211, in __call__
  File "site-packages\calibre\ebooks\chm\input.py", line 61, in convert
  File "site-packages\calibre\ebooks\chm\input.py", line 134, in _create_html_root
  File "site-packages\calibre\ebooks\chm\input.py", line 167, in _read_file
IOError: [Errno 2] No such file or directory: 'd:\\temp\\calibre_0.7.7_sexidn_chm2oeb\\.hhc'
JDługosz is offline   Reply With Quote
Old 07-03-2010, 10:03 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,910
Karma: 5035037
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Open a ticket and attach the chm file.
kovidgoyal is offline   Reply With Quote
Old 07-04-2010, 12:49 AM   #3
JDługosz
Member
JDługosz is on a distinguished road
 
Posts: 18
Karma: 54
Join Date: Jul 2010
Device: Nook
Maybe it's me?
I went to register for the ticket tracker, and got:
" Trac detected an internal error:

DatabaseError: database disk image is malformed
"
JDługosz is offline   Reply With Quote
Old 07-04-2010, 01:00 AM   #4
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,910
Karma: 5035037
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I see you successfully created a ticket, I assume the problem went away?
kovidgoyal is offline   Reply With Quote
Old 07-04-2010, 12:45 PM   #5
JDługosz
Member
JDługosz is on a distinguished road
 
Posts: 18
Karma: 54
Join Date: Jul 2010
Device: Nook
Yes, I tried again later.
JDługosz is offline   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
conversion error rheostaticsfan Calibre 2 09-16-2010 04:01 PM
Conversion error colly Calibre 2 06-12-2010 02:27 AM
Conversion Error athena416 Calibre 0 10-04-2009 02:45 AM
Error: Conversion Error Spectralist Calibre 1 08-08-2009 12:14 PM
Conversion Error EowynCarter Calibre 4 05-05-2009 03:37 PM


All times are GMT -4. The time now is 04:06 AM.


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