1. cherrypy
  2. CherryPy
Issue #398 resolved

Incorrect definition of UninitializeCOM() (page http://www.cherrypy.org/wiki/UsingCOMObjects)

created an issue

On page:


Instead of:

def UninitializeCOM(): CoUninitialize()

Should be:

def UninitializeCOM(threadIndex): CoUninitialize()

Otherwise we have this traceback:

2005/11/24 12:42:27 HTTP INFO HTTP Server shut down Traceback (most recent call last): File "something.py", line 136, in ? cherrypy.server.start() File "C:\WebDev\Python24\Lib\site-packages\cherrypy_cpserver.py", line 104, in start self.stop() File "C:\WebDev\Python24\Lib\site-packages\cherrypy_cpserver.py", line 235, in stop func(i) TypeError: UninitializeCOM() takes no arguments (1 given) 2005/11/24 12:42:28 HTTP INFO SystemExit raised: shutting down autoreloader 2005/11/24 12:42:28 HTTP INFO CherryPy shut down

Comments (1)

  1. Log in to comment