Comments (3)
Please try to update to the newest nightly version. It should work.
The reason behind it: Calibre-Web trys to detect a "fixed-layout", needed for e.g. comic files in epub format. Your error was an unexpected error in this detection. Find the root cause of it and to deal better with it, it would be of interest for me to have the problematic book (or even better the relevant part of it). After update you should get a message like "Could not parse epub metadata of book xxx". If you could take this book (It's the id calibre-web showing in the link if you open a book), then open the (k)epub file of it with a zipper and send me the container.xml located in the META-INF folder (preferably via email found on my profile page, so nobody else has contact with your private book contents).
from calibre-web.
Thanks for the quick reply! I'll switch to nightly tomorrow and grab the xml.
from calibre-web.
Well... Ark will not let me open the epub, saying: Failed to open archive: Zip archive inconsistent
The Calibre epub editor also fails to open the book, saying
File "calibre/ebooks/oeb/polish/container.py", line 1178, in __init__
File "calibre/utils/zipfile.py", line 1113, in extractall
File "calibre/utils/zipfile.py", line 1097, in extract
File "calibre/utils/zipfile.py", line 1166, in _extract_member
File "calibre/utils/zipfile.py", line 1035, in open
OSError: [Errno 22] Invalid argument
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "calibre/gui2/tweak_book/job.py", line 33, in run
File "calibre/gui2/tweak_book/boss.py", line 82, in get_container
File "calibre/ebooks/oeb/polish/container.py", line 1594, in get_container
File "calibre/ebooks/oeb/polish/container.py", line 1184, in __init__
File "calibre/utils/localunzip.py", line 252, in extractall
File "calibre/utils/localunzip.py", line 234, in _extractall
File "calibre/utils/localunzip.py", line 177, in copy_compressed_file
ValueError: Invalid ZIP file, local header is damaged
I will close the issue as this seems to be an issue with the file, and not calibre-web. Sync is also now working properly as the error is handled gracefully. Thanks again for the quick fix.
from calibre-web.
Related Issues (20)
- Incorrect tags on LubimyCzytac
- Kobo Sync token contents do not follow the expected json schema HOT 1
- Calibre web not working anymore (internal server error) HOT 7
- Using "count()" to determine the total number in `Pagination` HOT 1
- Error calibre-web HOT 2
- docker channel spam attack HOT 1
- Error uploading with ASCII metadatas on PDF HOT 1
- Multiple kindle emails per calibre-web account HOT 2
- Clicking "Books" results in different books listed for different users HOT 1
- FEAT: Add upload from url (instead of from disk) option
- calibre-web app on asus nas HOT 1
- CALIBRE does not convert from EBOOK to PDF (ver 7.7, 64, Calibre ebook management, Windows 11, 64) HOT 4
- Issue setting up gmail in Docker HOT 1
- After installing Calibre-Web, why can I access the IP+port and log in, but the domain name of the reverse proxy can be accessed but I can't log in, and the password is fine. HOT 1
- Calibre-web error 500 repeated even After calibre restart HOT 3
- Calibre-Web v0.6.21 failing to finish authentication with timeout while behind cloudflare HOT 1
- Parsing imported files with structured filenames HOT 1
- Kobo Sync Books Failing To Sync; "No such file or directory:..." | Proxmox, Docker, NAS HOT 4
- Multi volume series hard to distinguish HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from calibre-web.