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 08-17-2016, 05:28 AM   #1
CrossReach
Member
CrossReach began at the beginning.
 
CrossReach's Avatar
 
Posts: 19
Karma: 10
Join Date: Aug 2016
Device: Android
Failed to Convert Gutenberg MOBI into DOCX

Sorry it's not an EPUB it's MOBI. This has never happened before. I'm at a loss. Any help?

calibre, version 2.64.0 (win32, embedded-python: True)
Conversion Error: Failed: Convert book 1 of 1 (Petroleum)

Spoiler:
Convert book 1 of 1 (Petroleum)
Resolved conversion options
calibre version: 2.64.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\\Dani\\AppData\\Local\\Temp\\calibre_z dv3po\\jplyjr.jpeg',
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'docx_custom_page_size': None,
'docx_no_cover': False,
'docx_no_toc': False,
'docx_page_size': u'letter',
'duplicate_links_in_toc': False,
'embed_all_fonts': False,
'embed_font_family': None,
'enable_heuristics': False,
'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.InputProfile object at 0x0000000004D1E7B8>,
'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.GenericEink object at 0x0000000004D1EB38>,
'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\\Dani\\AppData\\Local\\Temp\\calibre_z dv3po\\jhdm2o.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\Dani\AppData\Local\Temp\calibre_zdv3po\rg awt8.mobi
Found KF8 MOBI of type 'joint'
Extracting text...
Parsing all content...
Parsing text/part0005.html ...
Parsing text/part0004.html ...
Parsing styles/0001.css ...
Parsing styles/0002.css ...
Parsing styles/0003.css ...
Parsing text/part0001.html ...
Parsing text/part0000.html ...
Parsing text/part0002.html ...
Parsing text/part0003.html ...
Referenced file u'text/%40public%40vhost%40g%40gutenberg%40html%40files%4 052825%4052825-h%40images%40cover.jpg' not found
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Detected chapter: CHAPTER I PETROLEUM AND ITS ORIGIN
Detected chapter: CHAPTER II THE OIL-FIELDS OF THE WORLD
Detected chapter: CHAPTER III HOW PETROLEUM IS PRODUCED
Detected chapter: CHAPTER IV THE REFINING OF PETROLEUM
Detected chapter: CHAPTER V TRANSPORT BY LAND AND SEA
Detected chapter: CHAPTER VI PETROLEUM AS FUEL
Detected chapter: CHAPTER VII PETROLEUM AS A LIGHTING AND COOKING AG
Detected chapter: CHAPTER VIII INTERNAL COMBUSTION ENGINES
Detected chapter: CHAPTER IX PETROLEUM IN ENGLAND
Detected chapter: CHAPTER X PETROLEUM IN THE BRITISH EMPIRE
Detected chapter: CHAPTER XI PETROLEUM’S PART IN THE GREAT WAR
Detected chapter: CHAPTER XII THE SCOTTISH SHALE-OIL INDUSTRY
Detected chapter: CHAPTER XIII A FEW NOTABLE PETROLEUM ENTERPRISES
Detected chapter: CHAPTER XIV STATISTICAL
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Removing fake margins...
Found 4 items of level: div_3
Found 3 items of level: div_2
Found 70 items of level: div_1
Found 323 items of level: p_1
Found 63 items of level: p_2
Found 8 items of level: p_3
Found 10 items of level: p_4
Ignoring level p_4
Ignoring level p_3
Ignoring level div_3
div_2 left margin stats: Counter({u'0': 1})
div_2 right margin stats: Counter({u'0': 1})
div_1 left margin stats: Counter({u'auto': 5})
div_1 right margin stats: Counter({u'auto': 5})
Removing level div_1 left margin of: auto
Removing level div_1 right margin of: auto
p_1 left margin stats: Counter({u'0': 320, u'auto': 2, u'5%': 1})
p_1 right margin stats: Counter({u'0': 320, u'auto': 2, u'5%': 1})
Negative text indent detected at level p_2, ignoring this level
Cleaning up manifest...
Trimming unused files from manifest...
Trimming u'images/00037.jpeg' from manifest
Creating DOCX Output...
Rasterizing SVG images...
Processing text/part0000.html
Python function terminated unexpectedly
'NoneType' object has no attribute 'add_table' (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 1222, in run
File "site-packages\calibre\ebooks\conversion\plugins\docx_ou tput.py", line 65, in convert
File "site-packages\calibre\ebooks\docx\writer\from_html.py", line 416, in __call__
File "site-packages\calibre\ebooks\docx\writer\from_html.py", line 458, in process_item
File "site-packages\calibre\ebooks\docx\writer\from_html.py", line 509, in process_tag
File "site-packages\calibre\ebooks\docx\writer\from_html.py", line 509, in process_tag
File "site-packages\calibre\ebooks\docx\writer\from_html.py", line 509, in process_tag
File "site-packages\calibre\ebooks\docx\writer\from_html.py", line 512, in process_tag
File "site-packages\calibre\ebooks\docx\writer\from_html.py", line 312, in finish_tag
File "site-packages\calibre\ebooks\docx\writer\tables.py", line 327, in add_table
AttributeError: 'NoneType' object has no attribute 'add_table'

Moderator Notice
Fixed title and inserted a spoiler

BR

Last edited by BetterRed; 08-17-2016 at 06:17 AM.
CrossReach is offline   Reply With Quote
Old 08-17-2016, 07:20 AM   #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: 44,411
Karma: 23977332
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://www.mobileread.com/forums/sho...d.php?t=186697
kovidgoyal is offline   Reply With Quote
Advert
Old 08-31-2016, 04:56 PM   #3
CrossReach
Member
CrossReach began at the beginning.
 
CrossReach's Avatar
 
Posts: 19
Karma: 10
Join Date: Aug 2016
Device: Android
I'm not sure what other info is needed. Sorry.
CrossReach is offline   Reply With Quote
Old 08-31-2016, 06:58 PM   #4
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 6,694
Karma: 86234809
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Perhaps a link to the exact book that you are trying to convert?
jhowell is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Links not working when converting Gutenberg EPUB to DOCX CrossReach Conversion 2 08-08-2016 06:30 PM
Failed docx conversion lutopia Conversion 1 02-22-2015 10:46 AM
Mobi to Epub Failed to Convert Klaw Conversion 4 10-26-2013 02:49 AM
Failed epub convert to mobi new calibre neyol Conversion 2 06-22-2013 03:53 AM
failed to convert epub to mobi kievking Conversion 7 02-06-2011 11:37 AM


All times are GMT -4. The time now is 06:01 PM.


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