View Single Post
Old 07-20-2012, 06:37 PM   #1
DaddyO57
Junior Member
DaddyO57 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2012
Device: ZiiO 10"
500 Internal Server Error accessing content server Calibre 0.8.8

I was hoping that someone could help me interpret this error message-

500 Internal Server Error

The server encountered an unexpected condition which prevented it from fulfilling the request.

Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/cherrypy/_cprequest.py", line 606, in respond
cherrypy.response.body = self.handler()
File "/usr/lib/pymodules/python2.7/cherrypy/_cpdispatch.py", line 25, in __call__
return self.callable(*self.args, **self.kwargs)
File "/usr/lib/calibre/calibre/library/server/utils.py", line 51, in do
ans = func(*args, **kwargs)
File "/usr/lib/calibre/calibre/library/server/content.py", line 144, in index
return self.browse_catalog()
File "/usr/lib/calibre/calibre/library/server/browse.py", line 205, in do
ans = func(self, *args, **kwargs)
File "/usr/lib/calibre/calibre/library/server/browse.py", line 565, in browse_catalog
ans = self.browse_toplevel()
File "/usr/lib/calibre/calibre/library/server/browse.py", line 392, in browse_toplevel
return self.browse_template('name').format(title='',
File "/usr/lib/calibre/calibre/library/server/browse.py", line 277, in browse_template
ans = ans.replace('{prefix}', self.opts.url_prefix)
TypeError: coercing to Unicode: need string or buffer, NoneType found


Initially I synced my Ziio 7" to my desktop that is running Firefox 1.0 for Linux Mint using an earlier build of Calibre that would not allow me to add books to my library (the first time I have ever experienced a problem with Calibre). When I checked my package manager, I found that Calibre 0.8.8 was available and installed that version correcting the error regarding adding books. I don't remember if I was still able to access the content server at that point.

At this time I tried to sync a 2nd ZiiO, a 10 inch version and that is when I found that I could not access the content server. The same problem occurred when I tried accessing using the other ZiiO.

I am including the error log for today-

[20/Jul/2012:13:39:10] ENGINE Bus STARTING
[20/Jul/2012:13:39:10] ENGINE Started monitor thread '_TimeoutMonitor'.
[20/Jul/2012:13:39:10] ENGINE Serving on 0.0.0.0:8080
[20/Jul/2012:13:39:10] Failed to start BonJour:
[20/Jul/2012:13:39:10] Traceback (most recent call last):
File "/usr/lib/calibre/calibre/library/server/base.py", line 78, in start
self.port, {'path':self.prefix+'/stanza'})
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

[20/Jul/2012:13:39:10] ENGINE Bus STARTED
[20/Jul/2012:14:11:09] HTTP Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/cherrypy/_cprequest.py", line 606, in respond
cherrypy.response.body = self.handler()
File "/usr/lib/pymodules/python2.7/cherrypy/_cpdispatch.py", line 25, in __call__
return self.callable(*self.args, **self.kwargs)
File "/usr/lib/calibre/calibre/library/server/utils.py", line 51, in do
ans = func(*args, **kwargs)
File "/usr/lib/calibre/calibre/library/server/content.py", line 144, in index
return self.browse_catalog()
File "/usr/lib/calibre/calibre/library/server/browse.py", line 205, in do
ans = func(self, *args, **kwargs)
File "/usr/lib/calibre/calibre/library/server/browse.py", line 565, in browse_catalog
ans = self.browse_toplevel()
File "/usr/lib/calibre/calibre/library/server/browse.py", line 392, in browse_toplevel
return self.browse_template('name').format(title='',
File "/usr/lib/calibre/calibre/library/server/browse.py", line 277, in browse_template
ans = ans.replace('{prefix}', self.opts.url_prefix)
TypeError: coercing to Unicode: need string or buffer, NoneType found

[20/Jul/2012:14:17:17] HTTP Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/cherrypy/_cprequest.py", line 606, in respond
cherrypy.response.body = self.handler()
File "/usr/lib/pymodules/python2.7/cherrypy/_cpdispatch.py", line 25, in __call__
return self.callable(*self.args, **self.kwargs)
File "/usr/lib/calibre/calibre/library/server/utils.py", line 51, in do
ans = func(*args, **kwargs)
File "/usr/lib/calibre/calibre/library/server/content.py", line 144, in index
return self.browse_catalog()
File "/usr/lib/calibre/calibre/library/server/browse.py", line 205, in do
ans = func(self, *args, **kwargs)
File "/usr/lib/calibre/calibre/library/server/browse.py", line 565, in browse_catalog
ans = self.browse_toplevel()
File "/usr/lib/calibre/calibre/library/server/browse.py", line 392, in browse_toplevel
return self.browse_template('name').format(title='',
File "/usr/lib/calibre/calibre/library/server/browse.py", line 277, in browse_template
ans = ans.replace('{prefix}', self.opts.url_prefix)
TypeError: coercing to Unicode: need string or buffer, NoneType found

[20/Jul/2012:14:30:49] ENGINE Bus STOPPING
[20/Jul/2012:14:30:49] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 8080)) shut down
[20/Jul/2012:14:30:49] ENGINE Stopped thread '_TimeoutMonitor'.
[20/Jul/2012:14:30:49] ENGINE Bus STOPPED
[20/Jul/2012:14:30:49] ENGINE Bus EXITING
[20/Jul/2012:14:30:49] ENGINE Bus EXITED
[20/Jul/2012:14:30:50] ENGINE Waiting for child threads to terminate...

If anyone could help me out with this I would sure appreciate it. I can still connect witht he USB cable but it sure was fun to be able to sit in my recliner and access books from my computer downstairs.

Last edited by DaddyO57; 07-20-2012 at 06:40 PM. Reason: typos
DaddyO57 is offline   Reply With Quote