On Sep 6, 9:58 pm, weheh <richard_gor...@verizon.net> wrote:
> I'm getting the following error message from the code that used to
> work a few weeks ago and haven't changed:
>
>   File "C:\Program Files\Python25\Lib\site-packages\win32com\client
> \dynamic.py", line 84, in _GetGoodDispatch
>     IDispatch = pythoncom.CoCreateInstance(IDispatch, None, clsctx,
> pythoncom.IID_IDispatch)
> com_error: (-2147221008, 'CoInitialize has not been called.', None,
> None)
>
> I looked up the com error and found numerous threads that deal with
> it. Here's one:
>
> http://www.cherrypy.org/wiki/UsingCOMObjects
>
> It appears that something has been upgraded and that com threads need
> to be initialized within web2py.

Reply via email to