mod_python, COM, on win2k3 server

drs drs
Sat May 20 22:13:08 CEST 2006

Some details, and this is weirder than I thought.

It is working fine with internet explorer or mozilla as the client, but only 
crashes with Firefox.  Moreover, even while firefox is getting errors, IE 
stilll works fine.

The error I get is:

Mod_python error: "PythonHandler mod_python.publisher"

Traceback (most recent call last):

  File "C:\Python23\Lib\site-packages\mod_python\", line 299, in 
    result = object(req)

  File "C:\Python23\Lib\site-packages\mod_python\", line 213, in 
    published = publish_object(req, object)

  File "C:\Python23\Lib\site-packages\mod_python\", line 410, in 
    return publish_object(req,util.apply_fs_data(object, req.form, req=req))

  File "C:\Python23\Lib\site-packages\mod_python\", line 439, in 
    return object(**args)

  File "E:\http_server\timeslips\", line 84, in index

  File "C:\Python23\lib\site-packages\ecptimeslips\", line 128, 
in make_employee_picker
    rs = win32com.client.Dispatch("ADODB.Recordset")

  File "C:\Python23\Lib\site-packages\win32com\client\", line 95, 
in Dispatch
    dispatch, userName = 

  File "C:\Python23\Lib\site-packages\win32com\client\", line 91, 
in _GetGoodDispatchAndUserName
    return (_GetGoodDispatch(IDispatch, clsctx), userName)

  File "C:\Python23\Lib\site-packages\win32com\client\", line 79, 
in _GetGoodDispatch
    IDispatch = pythoncom.CoCreateInstance(IDispatch, None, clsctx, 

com_error: (-2147221008, 'CoInitialize has not been called.', None, None)


More information about the Python-list mailing list