Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 09-11-2016, 12:05 AM   #1
lmamakos
Member
lmamakos began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Dec 2009
Device: PRS-600
calibre 2.67 on OSX 10.11.5/10.11.6 content server failing

I noticed recently that the content server isn't working correctly; I think this started coincident with the new version I installed.

When I connect with Calibre Companion, I'm not able to retrieve any of the list of books.

Looking at the Error log: inside of the preferences panel, I see this:

Quote:

[11/Sep/2016:00:02:03] HTTP Traceback (most recent call last):
File "site-packages/cherrypy/_cprequest.py", line 656, in respond
File "site-packages/cherrypy/lib/encoding.py", line 188, in __call__
File "site-packages/cherrypy/_cpdispatch.py", line 34, in __call__
File "site-packages/calibre/library/server/utils.py", line 54, in do
File "site-packages/calibre/library/server/opds.py", line 488, in opds_navcatalog
File "site-packages/calibre/library/server/opds.py", line 423, in get_opds_all_books
File "site-packages/calibre/library/server/opds.py", line 389, in get_opds_acquisition_feed
File "site-packages/calibre/library/server/opds.py", line 326, in __init__
File "site-packages/calibre/library/server/opds.py", line 209, in ACQUISITION_ENTRY
UnboundLocalError: local variable 'mi' referenced before assignment
which appears suspicious.. Taking a quick look inside the application wrapper didn't reveal anything specific due to the compiled python files vs. source code.

I tried applying the pending OSX update from 10.11.5 to 10.11.6 to see if that (or a reboot) might help, but it doesn't appear to.

This seems specific to using Calibre Companion... in the Access Log, I see:
Quote:
10.200.253.24 - - [11/Sep/2016:00:01:55] "GET / HTTP/1.1" 200 6461 "" "Apache-HttpClient/UNAVAILABLE (java 1.5)"
10.200.253.24 - - [11/Sep/2016:00:01:55] "GET /opds HTTP/1.1" 200 3715 "" "Apache-HttpClient/UNAVAILABLE (java 1.5)"
10.200.253.24 - - [11/Sep/2016:00:02:03] "GET /opds/navcatalog/4f6e6577657374 HTTP/1.1" 500 805 "" "Apache-HttpClient/UNAVAILABLE (java 1.5)"
Now, I'm not sure if there is an issue with Calibre Companion making unwarranted assumptions, but I think that the cherrypi web server shouldn't be throwing an error like the one in the log when handed a bogus URL..

Just pointing a web browser to the content server directly seems to yield the expected result.
lmamakos is offline   Reply With Quote
Old 09-11-2016, 03:12 AM   #2
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
This is a bug (regression) in calibre 2.67 and has nothing specific to do with CC. Any OPDS client will trip over the same problem.

For more information see https://bugs.launchpad.net/calibre/+bug/1621642 and https://github.com/kovidgoyal/calibr...3bdcbd87c9cab7.
chaley is offline   Reply With Quote
Advert
Old 09-11-2016, 09:47 AM   #3
lmamakos
Member
lmamakos began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Dec 2009
Device: PRS-600
Thanks for the pointer to the bug report, and sorry that I missed searching over there first.
lmamakos is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
calibre-sync: Automatically download books from your Calibre Content Server onto Kobo mishagale Related Tools 14 05-13-2019 05:18 PM
Calibre Content Server and Windows Home Server 2011 HughMcC Calibre 8 10-01-2014 07:26 AM
Calibre Sync finding wireless server but failing to complete handshake sgtrock Devices 1 03-01-2014 02:39 PM
Calibre-Server: no pages found (404) in OSX cdaller Calibre 7 04-06-2013 03:40 PM
500 Internal Server Error accessing content server Calibre 0.8.8 DaddyO57 Calibre 1 07-20-2012 06:08 PM


All times are GMT -4. The time now is 12:06 AM.


MobileRead.com is a privately owned, operated and funded community.