Keep getting this error when trying to edit a re-zipped EPUB, or open the unzipped folder to edit.
calibre, version 8.4.0
Traceback (most recent call last):
File "calibre\gui2\tweak_book\job.py", line 33, in run
File "calibre\gui2\tweak_book\boss.py", line 101, in get_container
File "calibre\ebooks\oeb\polish\container.py", line 1637, in get_container
File "calibre\ebooks\oeb\polish\container.py", line 1226, in __init__
calibre.ebooks.oeb.polish.container.InvalidEpub: META-INF/container.xml contains no link to OPF file
There is an OPF file, and a META-INF file, and the container.xml seems to have a link to the OPF file
XML File
<?xml version="1.0" encoding="UTF-8"?><container xmlns="urn

asis:names:tc

pendocument:xmlns:conta iner" version="1.0">
<rootfiles xmlns="">
<rootfile full-path="OPS/package.opf" media-type="application/oebps-package+xml"/>
</rootfiles>
</container>
How to fix?