03-11-2013, 10:33 PM | #1 |
Junior Member
Posts: 5
Karma: 10
Join Date: Mar 2013
Device: GT-P3110
|
"Python function terminated unexpectedly" on ePub to PDF conversion
I've been getting these annoying errors every now and then with many different ePub files whenever I try to convert them to PDF. Conversion process starts normally but gives this error message right when it steps from 99% to 100%. I tried reinstalling and wiping all files inside calibre's book library folder with no sucess. No matter what I do it will always show the error message below after reaching 100%:
"Python function terminated unexpectedly PDF Output failed, see log for details (Error Code: 1)" This happens even with ePub files I had successfuly converted in the past with older versions of calibre. Full message copied from log: Python function terminated unexpectedly PDF Output failed, see log for details (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 189, 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 1156, in run File "site-packages\calibre\ebooks\conversion\plugins\pdf_out put.py", line 133, in convert File "site-packages\calibre\ebooks\conversion\plugins\pdf_out put.py", line 252, in convert_text File "site-packages\calibre\ebooks\conversion\plugins\pdf_out put.py", line 278, in write File "site-packages\calibre\ebooks\pdf\render\from_html.py", line 212, in dump Exception: PDF Output failed, see log for details |
03-11-2013, 11:03 PM | #2 |
null operator (he/him)
Posts: 20,600
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@zunga
There have been some changes in convert to PDF recently - have a look in the Change Log for details If you want to lodge a defect report then its best to do that here Calibre Bugs BR - thanks Doc. Last edited by BetterRed; 03-11-2013 at 11:33 PM. Reason: correction as a result of Doc's post |
Advert | |
|
03-12-2013, 08:46 AM | #3 |
Junior Member
Posts: 5
Karma: 10
Join Date: Mar 2013
Device: GT-P3110
|
Thanks for the reply.
That being said, I think the easiest solution would be to step back a few versions for two or three months. Do you know where I can find the older releases? |
03-12-2013, 10:17 AM | #4 | |
Well trained by Cats
Posts: 29,839
Karma: 54837878
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Look for the small words "Previous releases here" (just under the 'Donate' Payment cards) |
|
03-12-2013, 10:21 AM | #5 |
Grand Sorcerer
Posts: 12,193
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
Actually the best solution is to work with Kovid by opening a bug report; normally he is very quick in resolving these issues and a fix will be in the next release.
|
Advert | |
|
03-13-2013, 01:23 AM | #6 | |
null operator (he/him)
Posts: 20,600
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Kovid posted a new 9.22 within 12 hours of me reporting a conversion bug last friday evening - my time, afternoon his time. BR |
|
03-13-2013, 08:20 AM | #7 |
Grand Sorcerer
Posts: 12,193
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
I did try some epub to PDF conversions and had no issue, so it might be something local to your setup.
|
03-13-2013, 06:39 PM | #8 |
Junior Member
Posts: 5
Karma: 10
Join Date: Mar 2013
Device: GT-P3110
|
Thanks a lot guys, I'll do it.
|
03-14-2013, 01:32 PM | #9 |
Junior Member
Posts: 5
Karma: 10
Join Date: Mar 2013
Device: GT-P3110
|
So I rolled calibre back to version 0.9.12 and everything is working again!
|
03-14-2013, 03:14 PM | #10 |
null operator (he/him)
Posts: 20,600
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
03-17-2013, 07:18 PM | #11 |
Junior Member
Posts: 5
Karma: 10
Join Date: Mar 2013
Device: GT-P3110
|
Uh... no...
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre produces Python function terminated unexpectedly | roelvdh | Calibre | 6 | 09-09-2013 07:50 PM |
The element type "p" must be terminated by the matching end-tag "</p>". | uieluck | ePub | 10 | 02-12-2013 07:04 PM |
Running recipe error: Python function terminated unexpectedly (Error Code: 1) | jpassarella | Recipes | 0 | 10-05-2012 12:54 PM |
python function terminated... mac os x | smaziz | Conversion | 3 | 12-22-2011 03:04 AM |
Error: Python function terminated unexpectedly | LastMile | Calibre | 11 | 01-14-2011 06:07 PM |