Comments (6)
@perler Need more information. Are you using the Docker image? If not whats the exact command you are using to start the app?
from calibre-web.
no it's debian 7 (kind of, actually openmediavault.org) and the command is:
cd /opt/calibre-web
python /opt/calibre-web/cps.py &
from calibre-web.
@perler Added a fix in 46c83bb. Please try again with the current HEAD.
from calibre-web.
not yet, but the error is different:
[2016-06-17 20:23:12,177] {/opt/calibre-web/vendor/flask/app.py:1423} ERROR - Exception on /read/2871 [GET]
Traceback (most recent call last):
File "/opt/calibre-web/vendor/flask/app.py", line 1817, in wsgi_app
response = self.full_dispatch_request()
File "/opt/calibre-web/vendor/flask/app.py", line 1477, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/opt/calibre-web/vendor/flask/app.py", line 1381, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/opt/calibre-web/vendor/flask/app.py", line 1475, in full_dispatch_request
rv = self.dispatch_request()
File "/opt/calibre-web/vendor/flask/app.py", line 1461, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/opt/calibre-web/vendor/flask_login.py", line 717, in decorated_view
return func(*args, **kwargs)
File "/opt/calibre-web/cps/web.py", line 503, in read_book
zfile = zipfile.ZipFile(os.path.join(config.DB_ROOT, book.path, data.name) + ".epub")
File "/usr/lib/python2.7/zipfile.py", line 714, in __init__
self._GetContents()
File "/usr/lib/python2.7/zipfile.py", line 748, in _GetContents
self._RealGetContents()
File "/usr/lib/python2.7/zipfile.py", line 759, in _RealGetContents
endrec = _EndRecData(fp)
File "/usr/lib/python2.7/zipfile.py", line 238, in _EndRecData
endrec = list(struct.unpack(structEndArchive, recData))
error: unpack requires a string argument of length 22
from calibre-web.
@perler Does this happen with all your books or just some? Looks like the epub file is corrupted.
from calibre-web.
ah, good question. only with one single book and now even this book doesn't crash the reader. so you can close the issue. (but a lot of books are empty (display nothing) I will open another issue for this.
from calibre-web.
Related Issues (20)
- BUG: Line breaks are broken on Caliblur! Dark Theme !!
- [Request] Sort by date added also for shelves
- Can't open file formats tab HOT 1
- Content Security Policy doesn't contain font-src blob: HOT 1
- Rebuild the Index/Database HOT 1
- Epubs become corrupted during upload HOT 1
- Read in Browser -- doesn't load the embed font in epub!!! HOT 3
- Need assistance setting up Gmail oAuth HOT 1
- Thank You HOT 1
- Following current reading
- Bug in Caliblur dark theme HOT 2
- Leading spaces are not being trimed on the Publisher & Identifiers field. HOT 3
- 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
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.