Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 07-20-2012, 05: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 05:40 PM. Reason: typos
DaddyO57 is offline   Reply With Quote
Old 07-20-2012, 06:08 PM   #2
DaddyO57
Junior Member
DaddyO57 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2012
Device: ZiiO 10"
Hold the bus!

I checked out the calibre download page and saw the notice about not using your distro's latest build, so I downloaded the most current version from calibre's website and installed it and it is working fine...including adding books to my library!!!! I did have to remove the password for it to work.
DaddyO57 is offline   Reply With Quote
Advert
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre Content Server and Windows Home Server 2011 HughMcC Calibre 8 10-01-2014 07:26 AM
Calibre 0.8.28 content server error Caleb666 Calibre 1 11-29-2011 03:14 AM
500 Internal Server Error Archon Calibre 2 12-27-2010 09:13 PM
Calibre Content Server error in Ubuntu 10.10 Bodman456 Calibre 1 07-07-2010 03:26 PM
Unable to access feedbooks.com - 500 Internal Server Error werdegast Deals and Resources (No Self-Promotion or Affiliate Links) 6 02-21-2009 11:40 AM


All times are GMT -4. The time now is 07:44 AM.


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