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 03-17-2019, 05:19 AM   #1
suenhoho
Junior Member
suenhoho began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Mar 2019
Device: ipad
Having issues converting docx to epub

Hi all,

I have a docx (roughly 6000 pages including a TOC) in chinese text that I would like to convert into epub. However I have been getting this error below, anyone has an idea how to fix this please? Thanks in Advance.
Spoiler:

Convert book 1 of 1 (天醫鳳九)
Conversion options changed from defaults:
flow_size: 20120
level1_toc: u'//h:h2'
docx_no_cover: True
verbose: 2
output_profile: 'tablet'
read_metadata_from_opf: u'C:\\Users\\shhykk\\AppData\\Local\\Temp\\calibre _mjmvyb\\wbfxx6.opf'
cover: u'C:\\Users\\shhykk\\AppData\\Local\\Temp\\calibre _mjmvyb\\e8s5g_.jpeg'
Resolved conversion options
calibre version: 3.40.1
{'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\\shhykk\\AppData\\Local\\Temp\\calibre _mjmvyb\\e8s5g_.jpeg',
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'docx_inline_subsup': False,
'docx_no_cover': True,
'docx_no_pagebreaks_between_notes': False,
'dont_split_on_page_breaks': False,
'duplicate_links_in_toc': False,
'embed_all_fonts': False,
'embed_font_family': None,
'enable_heuristics': False,
'epub_flatten': False,
'epub_inline_toc': False,
'epub_toc_at_end': False,
'epub_version': u'2',
'expand_css': False,
'extra_css': None,
'extract_to': None,
'filter_css': u'',
'fix_indents': True,
'flow_size': 20120,
'font_size_mapping': None,
'format_scene_breaks': True,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x02778370>,
'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,
'no_chapters_in_toc': False,
'no_default_epub_cover': False,
'no_inline_navbars': False,
'no_svg_cover': False,
'output_profile': <calibre.customize.profiles.TabletOutput object at 0x02778970>,
'page_breaks_before': u'/',
'prefer_metadata_cover': False,
'preserve_cover_aspect_ratio': False,
'pretty_print': True,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': u'C:\\Users\\shhykk\\AppData\\Local\\Temp\\calibre _mjmvyb\\wbfxx6.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,
'toc_title': None,
'transform_css_rules': '[]',
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: DOCX Input running
on C:\Users\shhykk\AppData\Local\Temp\calibre_mjmvyb\ o8rjk2.docx
Converting Word markup to HTML
Python function terminated unexpectedly
(Error Code: 1)
Traceback (most recent call last):
File "site.py", line 101, in main
File "site.py", line 78, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 199, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 42, in gui_convert_override
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 27, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 1106, in run
File "site-packages\calibre\customize\conversion.py", line 244, in __call__
File "site-packages\calibre\ebooks\conversion\plugins\docx_in put.py", line 35, in convert
File "site-packages\calibre\ebooks\docx\to_html.py", line 128, in __call__
File "site-packages\calibre\ebooks\docx\to_html.py", line 452, in convert_p
File "site-packages\calibre\ebooks\docx\to_html.py", line 701, in convert_run
File "site-packages\calibre\ebooks\docx\styles.py", line 286, in resolve_run
File "site-packages\calibre\ebooks\docx\char_styles.py", line 209, in __init__
File "site-packages\calibre\ebooks\docx\char_styles.py", line 45, in read_text_border
MemoryError

Last edited by theducks; 03-17-2019 at 05:50 AM. Reason: wrapped log in SPOILER tags
suenhoho is offline   Reply With Quote
Old 03-17-2019, 05:54 AM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,809
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
You ran out of memory (which is very common for Bibles and Dictionaries)

run a 64bit computer with 64bit Calibre.
theducks is offline   Reply With Quote
Advert
Old 03-17-2019, 06:46 PM   #3
suenhoho
Junior Member
suenhoho began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Mar 2019
Device: ipad
Thank you theDucks.

I am currently using Window7 Pro, isn't this 64 bit already?

The other thing I tested yesterday is to split the book into 2 books. But it acts really slowly when I tried to open it in ibook.
suenhoho is offline   Reply With Quote
Old 03-17-2019, 07:19 PM   #4
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@suenhoho - why are you even converting it, IIRC it's not hard to read a DOCX on an iPad, at least for Latin texts - although I'm unsure about Chinese.

BR
BetterRed is offline   Reply With Quote
Old 03-17-2019, 08:07 PM   #5
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,809
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by suenhoho View Post
Thank you theDucks.

I am currently using Window7 Pro, isn't this 64 bit already?

The other thing I tested yesterday is to split the book into 2 books. But it acts really slowly when I tried to open it in ibook.
Maybe Trust no one to do it correctly.

You can install 32 bit windows on a 64 bit machine. Go to Properties on the My Computer Icon. (This one, you are probably stuck with. A upgrade would be a full OS install)

Same goes for Calibre. Does it say [64Bit] in the version message on the bottom status bar? You have to have a 64bit OS installed to do this.
theducks is offline   Reply With Quote
Advert
Old 03-20-2019, 05:50 AM   #6
suenhoho
Junior Member
suenhoho began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Mar 2019
Device: ipad
@BetterRead - I just like the way it can go to and from via the TOC.

@theducks - my Calibre is 32 bit, i will upgrade it to 64 to test.

Thank you both
suenhoho is offline   Reply With Quote
Old 03-20-2019, 04:16 PM   #7
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by suenhoho View Post
@BetterRead - I just like the way it can go to and from via the TOC.
If 64 bit and/or more memory doesn't provide what you want, then:

Some Android DOCX viewer apps have the equivalent of Word's Navigation panel - ToC viewer. I don't know if iOS DOCX reader apps (e.g. Pages) have that feature, but I'd be surprised if they didn't. If all else fails Word for iOS is free.

Added: IMO: if you're reading on iOS or Android there is no point jumping through elaborate conversion and editing processes just so you can use a particular viewer app - its often much easier to get a different app that can read the original format.

BR

Last edited by BetterRed; 03-20-2019 at 04:24 PM.
BetterRed is offline   Reply With Quote
Reply

Tags
conversion issue, docx to epub, error code 1, memory error


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error Converting Docx to EPUB lisanna Conversion 1 11-01-2016 05:03 AM
Converting to epub from rtf vs. docx kjulia28 Conversion 0 12-19-2015 03:23 AM
Error Converting docx to epub drago87 Conversion 7 08-11-2015 04:24 PM
Error with converting docx to epub ssflwp Calibre 3 07-05-2014 06:39 AM
Converting .docx to ePub and combining wildchild1954 ePub 18 08-02-2011 01:32 PM


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


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