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

Go Back   MobileRead Forums > E-Book Formats > Kindle Formats

Notices

Reply
 
Thread Tools Search this Thread
Old 12-18-2017, 02:36 PM   #1
dtsmith
Junior Member
dtsmith began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2017
Device: none
ePub3 to Mobi Error - Error(prcgen):E21027: Epub file has more than one opf file

Hi! This is my first post on this forum and was hoping to get an issue with my mobi conversion resolved. I continue to get this error when converting an ePub3 to Mobi via Kindlegen in Terminal:

Error(prcgen):E21027: Epub file has more than one opf file

I actually only have one opf file in the zipped ePub. The file passes validation just fine so I'm not sure where to begin. Any help would be appreciated. Thanks!
dtsmith is offline   Reply With Quote
Old 12-19-2017, 11:38 AM   #2
KevinH
Wizard
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 3,940
Karma: 2514398
Join Date: Nov 2009
Device: many
Unzip a copy of your epub and look inside the META-INF folder at the container.xml file.
It is an xml (text) file and can be opened in any text editor.

Look to see if there is more than one rootfile tag. Then make sure the rootfile full-path attribute properly points at what you think is your opf file. This path is relative from the root of the epub (where you see the mimetype and META-INF folder) and is not relative to the location of the container.xml file.

Note, epub3 epubs may have multiple opf files in them to hold multiple renditions of the ebook. That said, no one and nothing I know supports or uses that feature.

Hope this helps track down the issue.
KevinH is offline   Reply With Quote
Advert
Old 01-29-2018, 02:59 PM   #3
dtsmith
Junior Member
dtsmith began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2017
Device: none
Thanks KevinH! Unfortunately, I'm still tracking down why this isn't working. There is only one reference to the single OPF file I have in the ePub so I'm not sure why the error is appearing stating there are multiple OPF files in the file.
dtsmith is offline   Reply With Quote
Old 01-29-2018, 03:38 PM   #4
KevinH
Wizard
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 3,940
Karma: 2514398
Join Date: Nov 2009
Device: many
If you are on Linux or Mac try running:

unzip -t PATHTOYOUREPUB

And post that plus the contents of the container.xml and content.opf and we should be able to figure out what is going on.
KevinH is offline   Reply With Quote
Old 01-30-2018, 12:20 PM   #5
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,536
Karma: 82358808
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
You could perhaps try converting using Calibre and seeing if that works any better. Calibre will read ePub3 files, although it doesn't create them itself.
HarryT is offline   Reply With Quote
Advert
Reply

Tags
epub 3, error, mobi conversion

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
error from Sigil when loading particular epub file JohnNC Sigil 15 08-08-2017 05:52 AM
Conversion Error on Bookbaby for my EPUB File Koyejo Introduce Yourself 1 07-04-2014 11:01 AM
Kobo - OPF file Error RZetlin Calibre 6 06-11-2014 06:49 PM
TWO OPF files or something like Media Queries in the OPF file for KF8 and MOBI? DHahn Kindle Formats 3 04-17-2012 05:06 AM
ePub OPF file error soulartist ePub 4 10-03-2011 06:09 PM


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


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