Issue #766 resolved

Trunk of 13 Jan 2008 won't run behind mod_python

guest
created an issue

Traceback when starting engine:

{{{

!python

[13/Jan/2008:21:45:41] Traceback (most recent call last): File "/usr/pkg/lib/python2.4/site-packages/cherrypy/_cpmodpy.py", line 120, in handler File "/usr/pkg/lib/python2.4/site-packages/cherrypy/_cpmodpy.py", line 93, in setup File "/usr/pkg/lib/python2.4/site-packages/cherrypy/restsrv/wspbus.py", line 166, in start File "/usr/pkg/lib/python2.4/site-packages/cherrypy/restsrv/wspbus.py", line 145, in publish File "/usr/pkg/lib/python2.4/site-packages/cherrypy/restsrv/plugins.py", line 348, in start UnboundLocalError: local variable 'threadname' referenced before assignment }}}

At line 348 in restserv.plugins.Monitor.start 'threadname' has not been initialised. Line 342 initialising 'threadnam' should be moved before line 341 (works for me).

Comments (3)

  1. Log in to comment