12-28-2018, 05:19 AM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: Dec 2018
Device: Windows 10
|
Epub to AZW3 failed,
Hi, I've tried to post this once, but it seems I was logged out during writing, so I don't think it posted. Apologies if it did as this will largely be a duplicate.
I'm trying to convert an epub file to AZW3 and it failed. it first hung at 47% and I let it run through the night and it crashed after 11 hours. In the detailed log there was an error Message: Python function terminated unexpectedly (error code 1), it continued running and failed terminally With a memory error. My computer is a 64bit Windows 10 machine With 16gb of RAM. I then ran book check and there were over 200 errors related to the CSS Construct not being recognized. The book is a 42GB Seientific book With many formulas. I'm in Contact With the Publisher. Any idea what might be wrong? The bottom part of the detailed Conversion output file is below: Merging user specified metadata... Detecting structure... Flattening CSS and remapping font sizes... 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 1227, in run File "site-packages\calibre\ebooks\oeb\transforms\flatcss.py" , line 215, in __call__ File "site-packages\calibre\ebooks\oeb\transforms\flatcss.py" , line 316, in stylize_spine File "site-packages\calibre\ebooks\oeb\stylizer.py", line 226, in __init__ File "site-packages\css_selectors\select.py", line 177, in __call__ File "site-packages\css_selectors\select.py", line 195, in iterparsedselector File "site-packages\css_selectors\select.py", line 389, in select_class MemoryError |
12-28-2018, 05:43 AM | #2 |
creator of calibre
Posts: 43,835
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
install the 64bit version of calibre and you should be ok
|
12-29-2018, 02:10 AM | #3 |
Bibliophagist
Posts: 35,280
Karma: 145435140
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Is the book size a typo or is it actually 42GB?
|
12-29-2018, 10:11 AM | #4 |
Well trained by Cats
Posts: 29,768
Karma: 54401244
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
12-29-2018, 02:41 PM | #5 |
Junior Member
Posts: 3
Karma: 10
Join Date: Dec 2018
Device: Windows 10
|
Thanks,
Sorry the book is 42mb. I thought I had installed the 64bit Version, but must not have. I've deleted it and re-installed the 64 bit Version and the Conversion has been running for 27 hours, the majority of it while at 47%. We will see how it goes.
|
12-29-2018, 02:44 PM | #6 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
It's not a fixed-layout ePub, is it? Textbooks often are. Such books can't be converted.
|
12-29-2018, 05:44 PM | #7 | |
Bibliophagist
Posts: 35,280
Karma: 145435140
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
I routinely handle files from 20 to 40GB on my laptop (2TB of NvMe M.2 storage) with most of the files coming from packaging CC6 installs -- Adobe does love consuming disk space. Then I have the work SAN where a good chunk of the files are measured in TB not GB even using it's on the fly compression (or how to slow all flash storage to near magnetic media speeds). Last edited by DNSB; 12-29-2018 at 05:46 PM. |
|
12-29-2018, 06:19 PM | #8 | |
Well trained by Cats
Posts: 29,768
Karma: 54401244
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
I hav a couple ofT's in the box under the desk. Last year I was building single racks with 22 PetaBytes of discs |
|
12-30-2018, 12:24 AM | #9 | |
Bibliophagist
Posts: 35,280
Karma: 145435140
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
22PB is a bit larger than our current needs. Not to mention our next upgrade is going to force us away from our current Fibre Channel setup given that HPE/Nimble have relegated Fibre Channel to legacy status. Our testing seems to show that, in our setup, dual 16GB Fibre Channel is faster than dual 10GB iSCSI but what do end users know—Fibre Channel is just so last century. |
|
12-30-2018, 10:59 AM | #10 |
Junior Member
Posts: 3
Karma: 10
Join Date: Dec 2018
Device: Windows 10
|
yes it is a fixed epub
Hi, The conversion ran for 32 hours and then crashed for several reasons, but it sounds like the basic problem is the input file is a Fixed format epub and that can't be converted.
In case that isn't the case I've put some samples of the error messages. Assuming that fixed format files can't be converted, thanks to everyone for the help! Parsing OEBPS/pages/34.page.xhtml ... Parsing OEBPS/pages/35.page.xhtml ... Parsing OEBPS/pages/76.page.xhtml ... Parsing OEBPS/pages/87.page.xhtml ... Parsing OEBPS/pages/36.page.xhtml ... Parsing OEBPS/pages/42.page.xhtml ... Parsing OEBPS/pages/37.page.xhtml ... Parsing OEBPS/pages/78.page.xhtml ... Parsing OEBPS/pages/84.page.xhtml ... Parsing OEBPS/pages/104.page.xhtml ... Parsing OEBPS/pages/77.page.xhtml ... Parsing OEBPS/pages/123.page.xhtml ... Parsing OEBPS/pages/22.page.xhtml ... Parsing OEBPS/pages/176.page.xhtml ... Parsing OEBPS/pages/89.page.xhtml ... Parsing OEBPS/pages/177.page.xhtml ... Parsing OEBPS/pages/94.page.xhtml ... Parsing OEBPS/pages/159.page.xhtml ... Parsing OEBPS/pages/99.page.xhtml ... Reading TOC from NCX... Merging user specified metadata... Detecting structure... Flattening CSS and remapping font sizes... Source base font size is 30.24000pt Removing fake margins... Found 2145 items of level: div_5 Found 24542 items of level: div_4 Found 227 items of level: div_1 Found 454 items of level: div_3 Found 227 items of level: div_2 div_5 left margin stats: Counter({u'': 2145}) div_5 right margin stats: Counter({u'': 2145}) div_4 left margin stats: Counter({u'': 23712, u'0': 830}) div_4 right margin stats: Counter({u'': 23712, u'0': 830}) div_1 left margin stats: Counter({u'': 220}) div_1 right margin stats: Counter({u'': 220}) div_3 left margin stats: Counter({u'': 227, u'0': 227}) div_3 right margin stats: Counter({u'': 227, u'0': 227}) div_2 left margin stats: Counter({u'auto': 220}) div_2 right margin stats: Counter({u'auto': 220}) Removing level div_2 left margin of: auto Removing level div_2 right margin of: auto Cleaning up manifest... Trimming unused files from manifest... Trimming u'page_styles1.css' from manifest Trimming u'OEBPS/pages/nav.xhtml' from manifest Creating AZW3 Output... Serializing resources... Bad image file u'OEBPS/pages/bg33.png' Bad image file u'OEBPS/pages/bg91.png' Bad image file u'OEBPS/pages/bg92.png' Bad image file u'OEBPS/pages/bg93.png' Bad image file u'OEBPS/pages/bg95.png' Bad image file u'OEBPS/pages/bg96.png' Bad image file u'OEBPS/pages/bg97.png' Bad image file u'OEBPS/pages/bg99.png' Bad image file u'OEBPS/pages/bga0.png' Bad image file u'OEBPS/pages/bg9a.png' Bad image file u'OEBPS/pages/bg9d.png' Bad image file u'OEBPS/pages/bg9e.png' Bad image file u'OEBPS/pages/bg9f.png' Bad image file u'OEBPS/pages/bga1.png' Bad image file u'OEBPS/pages/bga2.png' Bad image file u'OEBPS/pages/bga3.png' Bad image file u'OEBPS/pages/bga5.png' There were a slew of these bad image messages that I have deleted Python function terminated unexpectedly [Errno 2] No such file or directory: u'C:\\Users\\Marsha\\AppData\\Local\\Temp\\calibre _x_ha7x\\ggrncu_plumber\\OEBPS/css/f3e.ttf' (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 1270, in run File "site-packages\calibre\ebooks\conversion\plugins\mobi_ou tput.py", line 321, in convert File "site-packages\calibre\ebooks\mobi\writer2\resources.py" , line 40, in __init__ File "site-packages\calibre\ebooks\mobi\writer2\resources.py" , line 127, in add_resources File "site-packages\calibre\ebooks\oeb\base.py", line 1026, in fget File "site-packages\calibre\ebooks\oeb\base.py", line 566, in read File "site-packages\calibre\startup.py", line 117, in local_open IOError: [Errno 2] No such file or directory: u'C:\\Users\\Marsha\\AppData\\Local\\Temp\\calibre _x_ha7x\\ggrncu_plumber\\OEBPS/css/f3e.ttf' |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
epub -> epub/mobi/azw3 breaks up chapters | Siavahda | Conversion | 1 | 09-25-2017 11:20 AM |
Failed Conversion from AZW3 to EPUB | marie44 | Conversion | 10 | 03-24-2015 10:59 PM |
Graphic novel azw3 to mobi failed | Kythe42 | Conversion | 13 | 06-01-2014 11:46 PM |
ePub > AZW3 failed with 0.9.34 | JSWolf | Conversion | 3 | 06-11-2013 10:40 PM |
Failed conversion of azw3 to mobi | fishgirl182 | Conversion | 6 | 05-16-2013 01:08 PM |