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

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 05-21-2015, 12:32 AM   #1
ljgrinnell
ljgrinnell
ljgrinnell began at the beginning.
 
Posts: 3
Karma: 10
Join Date: May 2015
Location: Greenacres, FL
Device: Kindle
DOCX conversion failure

Please bear with me. I'm a newbie with Calibre, and hope I can get an answer for this.

First the background: 27 inch iMac with 2.93 GHz Core i7 quad core processor, 20 GB RAM, MacOS 10.6.8, Calibre 1.48. The file is a docx format Word file, almost 6 MB, heavily formatted with index markers. On paper it comes out to over 3,000 pages (!). I'm not using Calibre 2.28 because I'm still using "Snow Leopard" (MacOSX 10.6.8).

I have been trying to convert to Kindle (later will also try Nook). I've done so in the past with smaller test files, and even get the index (index entries are the book title).

With this file, after about 24 hours of crunching away, it fails with error:

Python function terminated unexpectedly: [Errno 2] No such file or directory: u'/var/folders/5X/5XNvN49TETSbIv61HMwzWk+++TI/-Tmp-/calibre_1.48.0_tmp_11ffR0/Tmo1PYdocx_container/word/settings.xml'
InputFormatPlugin: DOCX Input running on /var/folders/5X/5XNvN49TETSbIv61HMwzWk+++TI/-Tmp-/calibre_1.48.0_tmp_11ffR0/99zdil.docx
Encountered unknown field: tc, ignoring it.


I can post the entire error report if required.

Does anyone have an idea what's wrong and what I can do to fix it? Am I simply asking too much of Calibre?

I also have a PC with a 3.4 GHz quad-core Core i7 processor, Windows 7, with 8GB of RAM, Calibre 2.28, but it fails within 10-20 minutes with the same DOCX file. I have ordered more RAM to take it to 16 GB, hoping this might help with the conversion.

I'll be publishing the book in paper form (with multi-column layout, it'll be around 2,400 pages), but want to offer an ebook option in Nook and Kindle formats for a substantial price reduction over the print version.

I'd be grateful for any and all suggestions. Thanks to the community in advance.
ljgrinnell is offline   Reply With Quote
Old 05-21-2015, 12:37 AM   #2
ljgrinnell
ljgrinnell
ljgrinnell began at the beginning.
 
Posts: 3
Karma: 10
Join Date: May 2015
Location: Greenacres, FL
Device: Kindle
Here's the full report from Calibre...
Spoiler:

calibre, version 1.48.0 (darwin, isfrozen: True)
Conversion Error: Failed: Convert book 1 of 1 (Descendants of Matthew and Rose Greenell)

Convert book 1 of 1 (Descendants of Matthew and Rose Greenell)
Resolved conversion options
calibre version: 1.48.0
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 12.0,
'book_producer': None,
'change_justification': u'original',
'chapter': u"//*[((name()='h1' or name()='h2') and re:test(., '\\s*((chapter|book|section|part)\\s+)|((prolog|pr ologue|epilogue)(\\s+|$))', 'i')) or @class = 'chapter']",
'chapter_mark': u'pagebreak',
'comments': None,
'cover': u'/var/folders/5X/5XNvN49TETSbIv61HMwzWk+++TI/-Tmp-/calibre_1.48.0_tmp_11ffR0/A3V5Ze.jpeg',
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'docx_no_cover': False,
'dont_compress': False,
'duplicate_links_in_toc': False,
'embed_all_fonts': True,
'embed_font_family': u'Times New Roman',
'enable_heuristics': False,
'expand_css': False,
'extra_css': u'body { margin: 0; }\np {margin-top: 0pt; margin-bottom: 0pt; padding: 0pt; text-indent: 15pt; text-align: justify;}\nh1 { text-align: center; }\nh2 {text-align: center; font-size: larger; padding-bottom: 20pt; page-break-before: always;}\nh3 { text-align: center; padding-bottom: 20pt; }\nh4 { text-align: center; }\nh5 { text-align: center; }\nh6 { text-align: center; }',
'extract_to': None,
'filter_css': u'',
'fix_indents': True,
'font_size_mapping': u'7.5, 9, 10, 12, 15.5, 20, 22, 24',
'format_scene_breaks': True,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.KindleInput object at 0x106dd98d0>,
'insert_blank_line': False,
'insert_blank_line_size': 0.5,
'insert_metadata': False,
'isbn': None,
'italicize_common_cases': True,
'keep_ligatures': False,
'language': None,
'level1_toc': u'//h:h2',
'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,
'markup_chapter_headings': True,
'max_toc_links': 50,
'minimum_line_height': 120.0,
'mobi_file_type': u'old',
'mobi_ignore_margins': False,
'mobi_keep_original_images': False,
'mobi_toc_at_start': True,
'no_chapters_in_toc': False,
'no_inline_navbars': True,
'no_inline_toc': False,
'output_profile': <calibre.customize.profiles.KindleOutput object at 0x106dd9dd0>,
'page_breaks_before': u'/',
'personal_doc': u'[PDOC]',
'prefer_author_sort': False,
'prefer_metadata_cover': False,
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': u'/var/folders/5X/5XNvN49TETSbIv61HMwzWk+++TI/-Tmp-/calibre_1.48.0_tmp_11ffR0/qolpJ0.opf',
'remove_fake_margins': True,
'remove_first_image': False,
'remove_paragraph_spacing': False,
'remove_paragraph_spacing_indent_size': 1.5,
'renumber_headings': True,
'replace_scene_breaks': u'',
'search_replace': '[]',
'series': None,
'series_index': None,
'share_not_sync': False,
'smarten_punctuation': False,
'sr1_replace': None,
'sr1_search': None,
'sr2_replace': None,
'sr2_search': None,
'sr3_replace': None,
'sr3_search': None,
'start_reading_at': None,
'subset_embedded_fonts': False,
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'toc_title': None,
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
Python function terminated unexpectedly: [Errno 2] No such file or directory: u'/var/folders/5X/5XNvN49TETSbIv61HMwzWk+++TI/-Tmp-/calibre_1.48.0_tmp_11ffR0/Tmo1PYdocx_container/word/settings.xml'
InputFormatPlugin: DOCX Input running
on /var/folders/5X/5XNvN49TETSbIv61HMwzWk+++TI/-Tmp-/calibre_1.48.0_tmp_11ffR0/99zdil.docx
Encountered unknown field: tc, ignoring it.
Traceback (most recent call last):
File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.7/site.py", line 208, in main
return run_entry_point()
File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.7/site.py", line 114, in run_entry_point
return getattr(pmod, func)()
File "site-packages/calibre/utils/ipc/worker.py", line 195, in main
File "site-packages/calibre/gui2/convert/gui_conversion.py", line 31, in gui_convert_override
File "site-packages/calibre/gui2/convert/gui_conversion.py", line 25, in gui_convert
File "site-packages/calibre/ebooks/conversion/plumber.py", line 1040, in run
File "site-packages/calibre/customize/conversion.py", line 241, in __call__
File "site-packages/calibre/ebooks/conversion/plugins/docx_input.py", line 29, in convert
File "site-packages/calibre/ebooks/docx/to_html.py", line 90, in __call__
File "site-packages/calibre/ebooks/docx/to_html.py", line 274, in read_styles
File "site-packages/calibre/ebooks/docx/container.py", line 125, in read
IOError: [Errno 2] No such file or directory: u'/var/folders/5X/5XNvN49TETSbIv61HMwzWk+++TI/-Tmp-/calibre_1.48.0_tmp_11ffR0/Tmo1PYdocx_container/word/settings.xml'

Last edited by theducks; 05-21-2015 at 10:01 AM. Reason: wrap long paste in spoiler
ljgrinnell is offline   Reply With Quote
Advert
Old 05-21-2015, 12:41 AM   #3
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: 45,364
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
It looks like your docx file is missing the settings.xml file. It has nothing to do with file size. If you post your docx file as described here: https://www.mobileread.com/forums/sho...d.php?t=186697

I can take a look and see if ti is possible to workaround.
kovidgoyal is offline   Reply With Quote
Old 05-21-2015, 01:54 AM   #4
ljgrinnell
ljgrinnell
ljgrinnell began at the beginning.
 
Posts: 3
Karma: 10
Join Date: May 2015
Location: Greenacres, FL
Device: Kindle
Thank you, sir! Bug 1457313 has been posted in the Calibre bug report system.

Regards...
ljgrinnell 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
New docx conversion Francois_C Conversion 11 05-29-2015 10:36 AM
Docx Conversion Hammo Conversion 7 05-21-2015 01:01 AM
Failed docx conversion lutopia Conversion 1 02-22-2015 10:46 AM
Epub to Docx conversion? Hattie Conversion 14 09-13-2014 04:12 AM
docx conversion and footnotes m4mmon Conversion 8 08-10-2014 09:36 PM


All times are GMT -4. The time now is 02:56 PM.


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