ADO and Makepy

Alv Mart alvmart at terra.es
Wed Nov 12 16:50:54 EST 2003


Hi,

I ran makepy for ADO. After I installed a new version of python I have this
error:

Do you know why could I have this error?

 >>> from ADODB import Connection,Recordset

>>> conn = Connection()


Traceback (most recent call last):

  File "<interactive input>", line 1, in ?

  File "C:\Python2\lib\site-packages\win32com\client\__init__.py", line 479,
in __init__

    if oobj is None: oobj = pythoncom.new(self.CLSID)

TypeError: Only strings and iids can be converted to a CLSID.

I have run makepy again but it does not work

egards







More information about the Python-list mailing list