Issue #766 resolved

Trunk of 13 Jan 2008 won't run behind mod_python

created an issue

Traceback when starting engine:



[13/Jan/2008:21:45:41] Traceback (most recent call last): File "/usr/pkg/lib/python2.4/site-packages/cherrypy/", line 120, in handler File "/usr/pkg/lib/python2.4/site-packages/cherrypy/", line 93, in setup File "/usr/pkg/lib/python2.4/site-packages/cherrypy/restsrv/", line 166, in start File "/usr/pkg/lib/python2.4/site-packages/cherrypy/restsrv/", line 145, in publish File "/usr/pkg/lib/python2.4/site-packages/cherrypy/restsrv/", 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