![]() |
#1 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jan 2024
Device: Kindle standard
|
error metawidget file object has no attribute ''opf file''
Hello everyone,
I am trying to convert an EPUB to PDF in the Calibre app. But I get this error How can I fix it? I have already installed the Kepub Output and Metareader plugins. calibre 7.3 embedded-python: True Windows-10-10.0.22000-SP0 Windows ('64bit', 'WindowsPE') ('Windows', '10', '10.0.22000') Python 3.11.5 Windows: ('10', '10.0.22000', 'SP0', 'Multiprocessor Free') Interface language: it Successfully initialized third party plugins: Highlights to Obsidian (1, 4, 1) && KePub Metadata Reader (3, 4, 3) && KePub Output (3, 6, 6) Traceback (most recent call last): File "calibre\gui2\convert\single.py", line 288, in accept AttributeError: 'MetadataWidget' object has no attribute 'opf_file' |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,027
Karma: 27109258
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
what are you doing to coonvert this file? What steps are you taking?
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jan 2024
Device: Kindle standard
|
|
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,027
Karma: 27109258
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I dont see how you could possibly be getting that error with those steps. https://www.mobileread.com/forums/sh...d.php?t=186697
|
![]() |
![]() |
![]() |
#5 | |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jan 2024
Device: Kindle standard
|
Quote:
Can you explain it please? I Don't understand what is the solution? |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 43,536
Karma: 165170836
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
What errors do you see if you open the ePub in calibre's e-book editor? I would suggest installing the epubcheck plugin for the editor and using that as well as the built-in bugcheck.
Alternately, save a backup copy of your epub and do an epub to epub conversion to see if that fixes your issues. If you clicked on the link supplied by Kovid, it lists the steps needed to report conversion issues. In this case, I would suggest that your "epub" is not a valid epub since no opf file is found. The path to the .opf file must be specified in the container.xml file in the META-INF directory in the .zip container (an ePub is a renamed .zip file). Sample container.xml file below (the path to the .opf file is bolded): Code:
<?xml version="1.0" encoding="UTF-8"?> <container version="1.0" xmlns="urn:oasis:names:tc:opendocument:xmlns:container"> <rootfiles> <rootfile full-path="OEBPS/content.opf" media-type="application/oebps-package+xml"/> </rootfiles> </container> |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
'Caser' object has no attribute 'hasSelectedText' error in 5.39 | mbovenka | Calibre | 4 | 03-20-2022 12:06 PM |
ePub3 to Mobi Error - Error(prcgen):E21027: Epub file has more than one opf file | dtsmith | Kindle Formats | 4 | 01-30-2018 11:20 AM |
Conversion Error: 'Item' object has no attribute 'xpath' | xallios | Conversion | 6 | 11-23-2017 05:46 AM |
Kobo - OPF file Error | RZetlin | Calibre | 6 | 06-11-2014 05:49 PM |
ePub OPF file error | soulartist | ePub | 4 | 10-03-2011 05:09 PM |