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 08-21-2011, 06:14 PM   #1
gregoryx
Junior Member
gregoryx began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Aug 2011
Device: Nook / Nookie
Calibre Server runs on command line, fails in GUI

Used to work fine. Not sure if its stopped when I did an update or what. Tried all different ports - all ports that show as free in netstat and TCPVIEW; some that show free using the calibre-debug.

Works great if I just leave the command window open... but seems a crappy way to get around the problem.

I'll let the logs tell the story. It's a simple one.

From the calibre / Preferences / Sharing tab, hit "Start Server" and get:
Code:
[21/Aug/2011:15:09:30] ENGINE Bus STARTING
[21/Aug/2011:15:09:30] ENGINE Started monitor thread '_TimeoutMonitor'.
[21/Aug/2011:15:09:40] ENGINE Error in 'start' listener <bound method Server.start of <cherrypy._cpserver.Server object at 0x03982B10>>
Traceback (most recent call last):
  File "site-packages\cherrypy\process\wspbus.py", line 147, in publish
  File "site-packages\cherrypy\_cpserver.py", line 90, in start
  File "site-packages\cherrypy\process\servers.py", line 53, in start
  File "site-packages\cherrypy\process\servers.py", line 251, in wait_for_free_port
IOError: Port 9999 not free on '0.0.0.0'

[21/Aug/2011:15:09:41] ENGINE Shutting down due to error in start listener:
Traceback (most recent call last):
  File "site-packages\cherrypy\process\wspbus.py", line 184, in start
  File "site-packages\cherrypy\process\wspbus.py", line 147, in publish
  File "site-packages\cherrypy\_cpserver.py", line 90, in start
  File "site-packages\cherrypy\process\servers.py", line 53, in start
  File "site-packages\cherrypy\process\servers.py", line 251, in wait_for_free_port
IOError: Port 9999 not free on '0.0.0.0'

[21/Aug/2011:15:09:41] ENGINE Bus STOPPING
[21/Aug/2011:15:09:41] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 9999)) already shut down
[21/Aug/2011:15:09:41] ENGINE Stopped thread '_TimeoutMonitor'.
[21/Aug/2011:15:09:41] ENGINE Bus STOPPED
[21/Aug/2011:15:09:41] ENGINE Bus EXITING
[21/Aug/2011:15:09:41] ENGINE Bus EXITED
[21/Aug/2011:15:09:41]  Trying to bind to single interface: 192.168.253.11
[21/Aug/2011:15:09:41] ENGINE Bus STARTING
[21/Aug/2011:15:09:41] ENGINE Started monitor thread '_TimeoutMonitor'.
[21/Aug/2011:15:09:51] ENGINE Error in 'start' listener <bound method Server.start of <cherrypy._cpserver.Server object at 0x03982B10>>
Traceback (most recent call last):
  File "site-packages\cherrypy\process\wspbus.py", line 147, in publish
  File "site-packages\cherrypy\_cpserver.py", line 90, in start
  File "site-packages\cherrypy\process\servers.py", line 53, in start
  File "site-packages\cherrypy\process\servers.py", line 251, in wait_for_free_port
IOError: Port 9999 not free on '192.168.253.11'

[21/Aug/2011:15:09:52] ENGINE Shutting down due to error in start listener:
Traceback (most recent call last):
  File "site-packages\cherrypy\process\wspbus.py", line 184, in start
  File "site-packages\cherrypy\process\wspbus.py", line 147, in publish
  File "site-packages\cherrypy\_cpserver.py", line 90, in start
  File "site-packages\cherrypy\process\servers.py", line 53, in start
  File "site-packages\cherrypy\process\servers.py", line 251, in wait_for_free_port
IOError: Port 9999 not free on '192.168.253.11'
type calibre-server -p 9999 from the command line and get:

Code:
[21/Aug/2011:15:09:52] ENGINE Bus STOPPING
[21/Aug/2011:15:09:52] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('192.168.253.11', 9999)) already shut down
[21/Aug/2011:15:09:52] ENGINE Stopped thread '_TimeoutMonitor'.
[21/Aug/2011:15:09:52] ENGINE Bus STOPPED
[21/Aug/2011:15:09:52] ENGINE Bus EXITING
[21/Aug/2011:15:09:52] ENGINE Bus EXITED
[21/Aug/2011:15:10:41] ENGINE Bus STARTING
[21/Aug/2011:15:10:41] ENGINE Started monitor thread '_TimeoutMonitor'.
[21/Aug/2011:15:10:42] ENGINE Serving on 0.0.0.0:9999
[21/Aug/2011:15:10:42] ENGINE Bus STARTED
gregoryx is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre Command Line Conversion bmwr1200c Calibre 1 08-10-2011 07:04 PM
Autotagging with Calibre (command line) erion Calibre 11 08-28-2010 01:33 PM
Problem updating metadata (using mobi2mobi command line and gui) whitearrow Kindle Formats 3 12-05-2009 07:07 PM
command line vs GUI (PDF->MOBI for K2) tlc Calibre 12 02-24-2009 06:20 PM
calibre command line utilities and calibre defaults astrodad Calibre 2 08-07-2008 03:27 PM


All times are GMT -4. The time now is 05:36 PM.


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