List Info

Thread: Cheetah2.0xx and Cherrypy 2.2beta reload problems




Cheetah2.0xx and Cherrypy 2.2beta reload problems
user name
2006-03-06 07:53:44
Hi,
I'm experiencing problems with Cheetah2.0xx and Cherrypy
2.2beta when
in "development mode".  It seems like the
autoreloader can't handle the
behaviour of Cheetah2.  Have anybody else experienced this?

I ave included the traceback below, but the strange this is
that it
varies over time!

Cherrypy version: 2.2.0beta
Cheetah version: 2.0rc6
Cherrypy version: 2.2.0beta
Cheetah version: 2.0rc6
06/Mar/2006:08:52:30 CONFIG INFO Server parameters:
06/Mar/2006:08:52:30 CONFIG INFO   server.environment:
development
06/Mar/2006:08:52:30 CONFIG INFO   server.log_to_screen:
True
06/Mar/2006:08:52:30 CONFIG INFO   server.log_file:
06/Mar/2006:08:52:30 CONFIG INFO   server.log_tracebacks:
True
06/Mar/2006:08:52:30 CONFIG INFO  
server.log_request_headers: True
06/Mar/2006:08:52:30 CONFIG INFO   server.protocol_version:
HTTP/1.0
06/Mar/2006:08:52:30 CONFIG INFO   server.socket_host:
06/Mar/2006:08:52:30 CONFIG INFO   server.socket_port: 8087
06/Mar/2006:08:52:30 CONFIG INFO   server.socket_file:
06/Mar/2006:08:52:30 CONFIG INFO   server.reverse_dns: False
06/Mar/2006:08:52:30 CONFIG INFO   server.socket_queue_size:
5
06/Mar/2006:08:52:30 CONFIG INFO   server.thread_pool: 10
06/Mar/2006:08:52:30 HTTP INFO SystemExit raised: shutting
down
autoreloader
Traceback (most recent call last):
  File "./metroweb.py", line 83, in ?
    start()
  File "./metroweb.py", line 77, in start
    cherrypy.server.start()
  File
"/usr/local/lib/python2.4/site-packages/cherrypy/_cpse
rver.py",
line 93, in start
    self.stop()
  File
"/usr/local/lib/python2.4/site-packages/cherrypy/_cpse
rver.py",
line 219, in stop
    self.stop_http_server()
  File
"/usr/local/lib/python2.4/site-packages/cherrypy/_cpse
rver.py",
line 240, in stop_http_server
    httpstop()
  File
"/usr/local/lib/python2.4/site-packages/cherrypy/_cpws
giserver.py",
line 292, in stop
    self.socket.close()
AttributeError: 'WSGIServer' object has no attribute
'socket'
Exception in thread Thread-2 (most likely raised during
interpreter
shutdown):
Traceback (most recent call last):
  File "/usr/local/lib/python2.4/threading.py",
line 442, in
__bootstrap
  File "/usr/local/lib/python2.4/threading.py",
line 422, in run
  File
"/usr/local/lib/python2.4/site-packages/cherrypy/_cpse
rver.py",
line 165, in _start_http
  File
"/usr/local/lib/python2.4/site-packages/cherrypy/_cpws
giserver.py",
line 238, in start
exceptions.AttributeError: 'NoneType' object has no
attribute
'SOL_SOCKET'
06/Mar/2006:08:52:31 HTTP INFO SystemExit raised: shutting
down
autoreloader
06/Mar/2006:08:52:31 HTTP INFO CherryPy shut down


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at http://
groups.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---

Cheetah2.0xx and Cherrypy 2.2beta reload problems
user name
2006-03-06 17:52:53
the autoreloader cannot handle egg files. Unpack the eggs.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at http://
groups.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )