Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 09-12-2016, 03:53 AM   #1
thebigbopper
Junior Member
thebigbopper began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2016
Device: Kobo
Mobi to Docx Conversion Error

Hi,

I've been trying to convert a .mobi file to docx with no success. I had a sample from Amazon the converted perfectly, but when I bought the whole file, the conversion failed, with no output file. Here is the log file (this is with heuristc processing on, but the same error occurs without it on):
Spoiler:

calibre, version 2.67.0 (win32, embedded-python: True)
Conversion Error: Failed: Convert book 1 of 1 (Collins Unabridged Italian to English (One Way) Dictionary (Collins Complete and Unabridged) (Italian Edition))

Convert book 1 of 1 (Collins Unabridged Italian to English (One Way) Dictionary (Collins Complete and Unabridged) (Italian Edition))
Resolved conversion options
calibre version: 2.67.0
{'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(., '\\s*((chapter|book|section|part)\\s+)|((prolog|pr ologue|epilogue)(\\s+|$))', 'i')) or @class = 'chapter']",
'chapter_mark': u'pagebreak',
'comments': None,
'cover': u'C:\\Users\\Sami\\AppData\\Local\\Temp\\calibre_t tmq1d\\vasewb.jpeg',
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'docx_custom_page_size': None,
'docx_no_cover': True,
'docx_no_toc': True,
'docx_page_size': u'letter',
'duplicate_links_in_toc': False,
'embed_all_fonts': False,
'embed_font_family': None,
'enable_heuristics': True,
'expand_css': False,
'extra_css': None,
'extract_to': None,
'filter_css': u'',
'fix_indents': True,
'font_size_mapping': None,
'format_scene_breaks': True,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.KindleInput object at 0x03523D30>,
'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': None,
'level2_toc': None,
'level3_toc': None,
'line_height': 0.0,
'linearize_tables': False,
'margin_bottom': 72.0,
'margin_left': 72.0,
'margin_right': 72.0,
'margin_top': 72.0,
'markup_chapter_headings': True,
'max_toc_links': 50,
'minimum_line_height': 120.0,
'no_chapters_in_toc': False,
'no_inline_navbars': False,
'output_profile': <calibre.customize.profiles.KoboReaderOutput object at 0x0352E0B0>,
'page_breaks_before': u"//*[name()='h1' or name()='h2']",
'prefer_metadata_cover': False,
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': u'C:\\Users\\Sami\\AppData\\Local\\Temp\\calibre_t tmq1d\\boo0jx.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,
'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,
'transform_css_rules': '[]',
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: MOBI Input running
on C:\Users\Sami\AppData\Local\Temp\calibre_ttmq1d\tx dthn.mobi
Extracting text...
Adding anchors...
Extracting images...
Cleaning up HTML...
Parsing HTML...
Malformed markup, parsing using BeautifulSoup
Python function terminated unexpectedly
(Error Code: 1)
Traceback (most recent call last):
File "site.py", line 132, in main
File "site.py", line 109, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 190, 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 1060, in run
File "site-packages\calibre\customize\conversion.py", line 241, in __call__
File "site-packages\calibre\ebooks\conversion\plugins\mobi_in put.py", line 33, in convert
File "site-packages\calibre\ebooks\mobi\reader\mobi6.py", line 69, in __init__
MemoryError

Any help would be enormously appreciated!

Thanks,
Sami

Last edited by thebigbopper; 09-13-2016 at 07:13 PM. Reason: please always wrap logs in spoiler
thebigbopper is offline   Reply With Quote
Old 09-12-2016, 04:01 AM   #2
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Calibre can't convert dictionaries. They aren't in the same format as normal books.
HarryT is offline   Reply With Quote
Advert
Old 09-13-2016, 07:12 PM   #3
thebigbopper
Junior Member
thebigbopper began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2016
Device: Kobo
Quote:
Originally Posted by HarryT View Post
Calibre can't convert dictionaries. They aren't in the same format as normal books.
Thanks, that makes sense.

I'm still wondering though, as I'm not looking to use this as a dictionary - the file has example sentences/phrases that I'm looking to extract and use in the Anki flashcard app.

Is there any way to extract the data at all, so that I can at least copy and paste it into Excel for editing?

I've used Kindleunpack to get it to an html, but I'm stuck at this stage because Firefox/Opera/Chrome/Excel/Wordpad crashes whenever it tries to open the 52mb .html file. I've then tried splitting it into smaller html files with Wordpad++ but then the formatting doesn't hold. Is it possible to copy and paste from the mobi file?

Last edited by thebigbopper; 09-14-2016 at 02:26 PM.
thebigbopper is offline   Reply With Quote
Reply


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
DOCX conversion of images to EPUB/Mobi: preserve aspect ratio? tbrosz Conversion 3 03-31-2014 01:56 PM
Conversion limitation: Centering image [docx to mobi] zonoiko Calibre 1 09-25-2013 12:40 AM
docx to mobi conversion, Image center/dragging problem zonoiko Conversion 0 09-24-2013 02:35 PM


All times are GMT -4. The time now is 11:32 AM.


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