![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jun 2017
Device: Apple iBooks
|
Calibre server 3.0 - Cant read books on web reader
It complains about not finding ~/.cache/calibre/srvb/s/clNmkz/content.opf
This is the relevant log: Code:
calibre server listening on 0.0.0.0:8080 OPDS feeds advertised via BonJour at: 192.168.1.65 port: 8080 calibre server listening on 0.0.0.0:8081 OPDS feeds advertised via BonJour at: 192.168.1.65 port: 8081 calibre server listening on 0.0.0.0:8081 OPDS feeds advertised via BonJour at: 192.168.1.65 port: 8081 The job: Render book 188 (EPUB) failed: Traceback (most recent call last): File "site-packages/calibre/utils/ipc/simple_worker.py", line 286, in main File "site-packages/calibre/srv/render_book.py", line 511, in render File "site-packages/calibre/srv/render_book.py", line 178, in __init__ File "site-packages/calibre/ebooks/oeb/polish/container.py", line 282, in __init__ InvalidBook: Could not locate opf file: u'/Volumes/Home/.cache/calibre/srvb/s/clNmkz/content.opf' The job: Render book 80 (EPUB) failed: Traceback (most recent call last): File "site-packages/calibre/utils/ipc/simple_worker.py", line 286, in main File "site-packages/calibre/srv/render_book.py", line 511, in render File "site-packages/calibre/srv/render_book.py", line 178, in __init__ File "site-packages/calibre/ebooks/oeb/polish/container.py", line 282, in __init__ InvalidBook: Could not locate opf file: u'/Volumes/Home/.cache/calibre/srvb/s/HDZmQn/content.opf'
|
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,195
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
So use a different cache directory, preferably not on ZFS. You can use the CALIBRE_CACHE_DIRECTORY env var to change it.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jun 2017
Device: Apple iBooks
|
That did the trick, thank you.
Reported this behaviour as a bug, can be found at https://bugs.launchpad.net/calibre/+bug/1698441 For the time being, following your advice I created a .desktop file to launch Calibre at "~/.local/share/applications/calibre-gui.desktop" with the following contents: Code:
[Desktop Entry] Version=3.0 Type=Application Name=calibre GenericName=E-book library management Comment=E-book library management: Convert, view, share, catalogue all your e-books TryExec=calibre Exec=env CALIBRE_CACHE_DIRECTORY='/home/YOURUSERNAME/ROUTETONEWCACHEFOLDER' calibre --detach %F Icon=calibre-gui Categories=Office; MimeType=text/fb2+xml;application/x-cbz;application/vnd.openxmlformats-officedocument.wordprocessingml.document;text/html;application/x-mobipocket-ebook;application/ereader;application/x-mobipocket-subscription;application/x-mobi8-ebook;text/rtf;application/x-cbr;application/vnd.ms-word.document.macroenabled.12;application/xhtml+xml;application/x-sony-bbeb;application/oebps-package+xml;application/pdf;application/x-cbc;application/vnd.oasis.opendocument.text;text/plain;image/vnd.djvu;text/x-markdown;application/epub+zip; Last edited by eridani; 06-16-2017 at 03:30 PM. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Porting Calibre's built-in web server to a remote server? | perryja | Related Tools | 6 | 05-02-2013 09:05 AM |
is there a tool to open (read) books from the calibre's content server? | tsolignani | Related Tools | 2 | 04-16-2013 07:14 AM |
calibre-server OPDS catalog - manual move to web server | HaakonME | Related Tools | 5 | 09-21-2012 03:11 AM |
Web interface of Calibre Server | nqk | Related Tools | 4 | 02-18-2012 03:04 AM |
calibre detection on the web server | poldem | Recipes | 2 | 03-26-2011 05:51 PM |