Issue #67 resolved

CherryThreadingMixIn not defined (when trying to enable threading mode)

created an issue

when setting the threading option to 1 I get the following error:

Traceback (most recent call last): File "D:\downloads\cp2\CherryPy-2.0.0a1\cherrypy\tutorial\", line 32, in ? cpg.server.start(configDict=config) File "C:\Python24\Lib\site-packages\", line 67, in start _cphttpserver.start() File "C:\Python24\Lib\site-packages\", line 41, in start class MyCherryHTTPServer(CherryThreadingMixIn,CherryHTTPServer):pass NameError: global name 'CherryThreadingMixIn' is not defined

It seems to be referenced, but never defined.

Comments (4)

  1. Anonymous

    Well, CP2 won't support a threading server (ie: a new thread gets created for each new request) for now... It only supports thread-pooling.

    The right fix for this bug is to remove the "threading", "forking" and "processPool" options from the code.

  2. Log in to comment