Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 11-29-2012, 03:16 AM   #1
Jimbo724
Connoisseur
Jimbo724 began at the beginning.
 
Posts: 58
Karma: 10
Join Date: Jun 2012
Device: Kindle Touch
Conversion from epub to mobi or azw3 fails

I'm using 0.9.7. Any idea why conversion is failing with the following at the end of the processing log that pops up?

...

Parsing OEBPS/Text/part0022.xhtml ...
Referenced file u'OEBPS/Text/page-template.xpgt' not found
Reading TOC from NCX...
Python function terminated unexpectedly: u'OEBPS/Text/part0012.xhtml#c04-nts20a'
Traceback (most recent call last):
File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.7/site.py", line 147, in main
return run_entry_point()
File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.7/site.py", line 116, in run_entry_point
return getattr(pmod, func)()
File "site-packages/calibre/utils/ipc/worker.py", line 186, 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 1035, in run
File "site-packages/calibre/ebooks/oeb/transforms/guide.py", line 24, in __call__
KeyError: u'OEBPS/Text/part0012.xhtml#c04-nts20a'
Jimbo724 is offline   Reply With Quote
Old 11-29-2012, 03:26 AM   #2
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,067
Karma: 777825
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
That implies a problem with the epub. Have you tried 'exploding' the epub (which is just a ZIP file under the covers) to see if it really contains the file 'PEBPS/Text/page-template.xpgt' that Calibre thinks is missing?
itimpi is offline   Reply With Quote
Old 11-29-2012, 03:02 PM   #3
Jimbo724
Connoisseur
Jimbo724 began at the beginning.
 
Posts: 58
Karma: 10
Join Date: Jun 2012
Device: Kindle Touch
Quote:
Originally Posted by itimpi View Post
see if it really contains the file 'PEBPS/Text/page-template.xpgt' that Calibre thinks is missing?
No such file. Any way to fix, or work around, that omission?

P.S. To clarify, the problem persists after using Tweak to explode and rebuild the epub file.

Last edited by Jimbo724; 11-29-2012 at 10:53 PM.
Jimbo724 is offline   Reply With Quote
Old 11-30-2012, 02:32 AM   #4
Jimbo724
Connoisseur
Jimbo724 began at the beginning.
 
Posts: 58
Karma: 10
Join Date: Jun 2012
Device: Kindle Touch
Fixed in 0.9.8. Thanks!
Jimbo724 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Updated catalog features for AZW3 • EPUB • MOBI (0.8.68) GRiker Library Management 27 10-08-2012 09:45 AM
New Catalog features for generating EPUB/MOBI/AZW3 catalogs (0.8.64) GRiker Library Management 15 09-05-2012 05:15 PM
LRF conversion fails (to mobi) styt Conversion 4 04-02-2011 07:18 PM
HTML to Mobi conversion fails gilbert1111 Calibre 5 01-14-2011 10:23 AM
Can't convert MOBI to EPUB.. conversion FAILS wallace.webmail Calibre 5 07-16-2010 12:45 AM


All times are GMT -4. The time now is 12:42 AM.


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