09-20-2011, 04:44 PM | #1 |
G:RSS-Web Creator
Posts: 93
Karma: 14
Join Date: Aug 2010
Device: Kindle 3, PW, Nexus 4,10
|
Linux Web Interface - No Metadata Sent
Hi all,
I'm running Calibre on a Linux system, and have noticed some odd behavior in the web interface. Is the below normal?
I would have expected downloading from the web interface to serve up the eBook just like if it was delivered over USB or exported, with all the new metadata. Thanks, B. |
09-20-2011, 04:50 PM | #2 |
creator of calibre
Posts: 43,864
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
From the changelog of calibre 0.8.19
Content server: Update metadata when sending MOBI as well as EPUB files |
Advert | |
|
09-20-2011, 04:56 PM | #3 |
G:RSS-Web Creator
Posts: 93
Karma: 14
Join Date: Aug 2010
Device: Kindle 3, PW, Nexus 4,10
|
Doh! It hadn't alerted me for an update in a while apparently. Thanks!
|
09-20-2011, 05:06 PM | #4 |
G:RSS-Web Creator
Posts: 93
Karma: 14
Join Date: Aug 2010
Device: Kindle 3, PW, Nexus 4,10
|
Actually, do you have a repo that you send your latest updates to from an RPM standpoint? I noticed Fedora Updates is at 0.8.0 which is apparently what I'm running. Happy to use the binary install from your website, but just curious.
|
09-20-2011, 05:36 PM | #5 |
creator of calibre
Posts: 43,864
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I do not maintain distro specific packages...that is a good way to commit hara-kiri.
|
Advert | |
|
09-20-2011, 11:26 PM | #6 |
G:RSS-Web Creator
Posts: 93
Karma: 14
Join Date: Aug 2010
Device: Kindle 3, PW, Nexus 4,10
|
Cool, I figured. Actually with the latest version installed using the binary script on your site, I can no longer download MOBI files:
Code:
500 Internal Server Error The server encountered an unexpected condition which prevented it from fulfilling the request. Traceback (most recent call last): File "site-packages/cherrypy/_cprequest.py", line 606, in respond File "site-packages/cherrypy/_cpdispatch.py", line 25, in __call__ File "site-packages/calibre/library/server/utils.py", line 51, in do File "site-packages/calibre/library/server/content.py", line 97, in get File "site-packages/calibre/library/server/content.py", line 221, in get_format File "site-packages/calibre/ebooks/metadata/meta.py", line 132, in set_metadata File "site-packages/calibre/customize/ui.py", line 331, in set_file_type_metadata File "traceback.py", line 232, in print_exc File "traceback.py", line 124, in print_exception File "traceback.py", line 13, in _print IOError: [Errno 5] Input/output error Thanks, B. |
09-20-2011, 11:59 PM | #7 |
creator of calibre
Posts: 43,864
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That error indicates that the server process is unable to output to stderr/stdout. Make sure you have setup those streams correctly. Run the server in a terminal to check. There is a typo that is raising the underlying error as well, which will be fixed in the next release.
Last edited by kovidgoyal; 09-21-2011 at 12:09 AM. |
09-21-2011, 09:43 AM | #8 |
G:RSS-Web Creator
Posts: 93
Karma: 14
Join Date: Aug 2010
Device: Kindle 3, PW, Nexus 4,10
|
Thanks again! Unfortunately this led to not being able to use Calibre unless I had a terminal window open at all times. Here's some additional info if it's helpful to you or anyone else who may be browsing:
The reason Calibre needed terminal was to report an error: Code:
Failed to set metadata for u'Test Book' Traceback (most recent call last): File "site-packages/calibre/customize/ui.py", line 327, in set_file_type_metadata File "site-packages/calibre/customize/builtins.py", line 414, in set_metadata File "site-packages/calibre/ebooks/metadata/epub.py", line 205, in set_metadata File "site-packages/calibre/ebooks/metadata/epub.py", line 111, in __init__ EPubException: not a ZIP .epub OCF container Code:
mkdir /var/log/calibre; chmod a+rwx /var/log/calibre Code:
/usr/bin/calibre Code:
/usr/bin/calibre 1> /var/log/calibre/calibre.log 2>&1 & B. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Web Interface - 'Newest' 0.8.19 not working? | ToeRag | Calibre | 0 | 09-18-2011 09:22 AM |
E-Mail via web interface | nick123 | Calibre | 0 | 03-13-2011 02:32 PM |
Web interface and plugboards | Strupniveral | Calibre | 3 | 10-03-2010 05:22 PM |
Web interface inside calibre | alexxx | Calibre | 1 | 09-01-2010 04:34 AM |
Nokia 770 Linux-based web device | Laurens | Alternative Devices | 20 | 05-27-2005 09:53 AM |