On February 17, 2006 5:12 pm, Mike Sarahan wrote:
> I just updated, and CP seems to be having problems.  It's tough to tell
> what the problem is, though - no meaningful output in any log files,
> only a traceback to the CTRL-C that I use to kill the server.

I, too, am encountering problems with the latest CP.  Attempting to launch a 
native CP server in development mode results in the following, and the 
toolbox simply refuses to start with even MORE errors:

17/Feb/2006:16:46:09 CONFIG INFO Server parameters:
17/Feb/2006:16:46:09 CONFIG INFO   server.environment: development
17/Feb/2006:16:46:09 CONFIG INFO   server.log_to_screen: True
17/Feb/2006:16:46:09 CONFIG INFO   server.log_file:
17/Feb/2006:16:46:09 CONFIG INFO   server.log_tracebacks: True
17/Feb/2006:16:46:09 CONFIG INFO   server.log_request_headers: True
17/Feb/2006:16:46:09 CONFIG INFO   server.protocol_version: HTTP/1.0
17/Feb/2006:16:46:09 CONFIG INFO   server.socket_host:
17/Feb/2006:16:46:09 CONFIG INFO   server.socket_port: 8080
17/Feb/2006:16:46:09 CONFIG INFO   server.socket_file:
17/Feb/2006:16:46:09 CONFIG INFO   server.reverse_dns: False
17/Feb/2006:16:46:09 CONFIG INFO   server.socket_queue_size: 5
17/Feb/2006:16:46:09 CONFIG INFO   server.thread_pool: 0
17/Feb/2006:16:46:09 HTTP INFO CherryPy shut down
Unhandled exception in thread started by <bound method Server._start of 
<cherrypy._cpserver.Server object at 0x2aaaabd16610>>
Traceback (most recent call last):
  File 
"/usr/lib64/python2.4/site-packages/CherryPy-2.2.0beta-py2.4.egg/cherrypy/_cpserver.py",
 
line 113, in _start
    self.start_http_server()
  File 
"/usr/lib64/python2.4/site-packages/CherryPy-2.2.0beta-py2.4.egg/cherrypy/_cpserver.py",
 
line 159, in start_http_server
    self.httpserver = self.httpserverclass(self.wsgi_app)
TypeError: __init__() takes exactly 1 argument (2 given)
17/Feb/2006:16:46:55 HTTP INFO <Ctrl-C> hit: shutting down autoreloader
17/Feb/2006:16:46:55 HTTP INFO CherryPy shut down
17/Feb/2006:16:46:55 HTTP INFO <Ctrl-C> hit: shutting down autoreloader
17/Feb/2006:16:46:55 HTTP INFO CherryPy shut down

Toolbox:
17/Feb/2006:16:48:22 HTTP INFO CherryPy shut down
Traceback (most recent call last):
  File "/usr/bin/tg-admin", line 7, in ?
    sys.exit(
  File "/home/mbevan/Projects/turbogears/turbogears/command/base.py", line 
269, in main
    command.run()
  File "/home/mbevan/Projects/turbogears/turbogears/command/base.py", line 
235, in run
    cherrypy.server.start_with_callback(self.openbrowser)
  File 
"/usr/lib64/python2.4/site-packages/CherryPy-2.2.0beta-py2.4.egg/cherrypy/_cpserver.py",
 
line 291, in start_with_callback
    self.start(server_class = server_class)
  File 
"/usr/lib64/python2.4/site-packages/CherryPy-2.2.0beta-py2.4.egg/cherrypy/_cpserver.py",
 
line 101, in start
    self._start()
  File 
"/usr/lib64/python2.4/site-packages/CherryPy-2.2.0beta-py2.4.egg/cherrypy/_cpserver.py",
 
line 113, in _start
    self.start_http_server()
  File 
"/usr/lib64/python2.4/site-packages/CherryPy-2.2.0beta-py2.4.egg/cherrypy/_cpserver.py",
 
line 159, in start_http_server
    self.httpserver = self.httpserverclass(self.wsgi_app)
TypeError: __init__() takes exactly 1 argument (2 given)
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib64/python2.4/threading.py", line 442, in __bootstrap
    self.run()
  File "/usr/lib64/python2.4/threading.py", line 422, in run
    self.__target(*self.__args, **self.__kwargs)
  File 
"/usr/lib64/python2.4/site-packages/CherryPy-2.2.0beta-py2.4.egg/cherrypy/_cpserver.py",
 
line 287, in _callback
    self.wait()
  File 
"/usr/lib64/python2.4/site-packages/CherryPy-2.2.0beta-py2.4.egg/cherrypy/_cpserver.py",
 
line 265, in wait
    raise cherrypy.NotReady("The CherryPy server errored", "HTTP")
NotReady: ('The CherryPy server errored', 'HTTP')

Attachment: pgpKnk8ol4NP5.pgp
Description: PGP signature

Reply via email to