![]() |
#1 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 383
Karma: 3461302
Join Date: Mar 2013
Location: Canada
Device: Kobo Aura One, Kobo Glo, Kobo Aura HD (RIP)
|
Kobo - OPF file Error
I have one epub that cannot be transferred to my Kobo device.
Other epub books are able to transfer okay. The error message I get is: Code:
calibre, version 1.39.0 ERROR: Error: Error communicating with device OPF file does not exist at location pointed to by META-INF/container.xml Traceback (most recent call last): File "site-packages\calibre\gui2\device.py", line 86, in run File "site-packages\calibre\gui2\device.py", line 571, in _upload_books File "calibre_plugins.kobotouch_extended.device.driver", line 276, in upload_books File "site-packages\calibre\devices\kobo\driver.py", line 1898, in upload_books File "calibre_plugins.kobotouch_extended.device.driver", line 175, in _modify_epub File "site-packages\calibre\ebooks\oeb\polish\container.py", line 859, in __init__ InvalidEpub: OPF file does not exist at location pointed to by META-INF/container.xml |
![]() |
![]() |
![]() |
#2 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,428
Karma: 145491800
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
It's not a Kobo problem.
The file container.xml points to where the OPF file lives in the ePub and in this case, either the OPF is missing or container.xml is not pointing to the correct location. Try the edit book feature of Calibre to try to fix it. |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 383
Karma: 3461302
Join Date: Mar 2013
Location: Canada
Device: Kobo Aura One, Kobo Glo, Kobo Aura HD (RIP)
|
Quote:
Code:
Traceback (most recent call last): File "site-packages\calibre\gui2\tweak_book\job.py", line 34, in run File "site-packages\calibre\gui2\tweak_book\boss.py", line 52, in get_container File "site-packages\calibre\ebooks\oeb\polish\container.py", line 1132, in get_container File "site-packages\calibre\ebooks\oeb\polish\container.py", line 859, in __init__ InvalidEpub: OPF file does not exist at location pointed to by META-INF/container.xml Code:
Cannot extract file: ando*_9781612626420_epub3_opf_r1.opf |
|
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
The problem is that it is basically an invalid epub file as its internal structure is incorrect.
A way I have found to fix such books is to
|
![]() |
![]() |
![]() |
#5 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 383
Karma: 3461302
Join Date: Mar 2013
Location: Canada
Device: Kobo Aura One, Kobo Glo, Kobo Aura HD (RIP)
|
Thank you for your help guys.
I found the issues with the book. The container.xml file had incorrect file path name. It had ando*_97.opf while the file itself was named ando__97.opf. It was a book I purchased from Kobo which the Kobo reader can open, but not Calibre. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,378
Karma: 78877538
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Could you share the name of the book? For all we know it might be an issue with the tool used to remove the Kobo DRM....
|
![]() |
![]() |
![]() |
#7 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 383
Karma: 3461302
Join Date: Mar 2013
Location: Canada
Device: Kobo Aura One, Kobo Glo, Kobo Aura HD (RIP)
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Change opf filename from content.opf to title.opf | northstar7 | Sigil | 3 | 09-23-2013 12:44 PM |
What is the OPF file | HFC3 | Library Management | 3 | 07-08-2013 05:15 AM |
TWO OPF files or something like Media Queries in the OPF file for KF8 and MOBI? | DHahn | Kindle Formats | 3 | 04-17-2012 04:06 AM |
ePub OPF file error | soulartist | ePub | 4 | 10-03-2011 05:09 PM |
OPF file OPS/package.opf is missing | Run2Eat | ePub | 2 | 05-31-2011 06:52 PM |