problem with makepy output

Calishar calishar at *NOSPAM*home.com
Sun Jan 16 17:43:12 EST 2000


Hello again folks,

  Just tried using makepy (from win32all-127) to create a python
module wrapping MS-Excel 2000, it worked fine, I moved the module to a
directory in the python path, and imported it. This was the result.

------------
PythonWin 1.5.2 (#0, Apr 13 1999, 10:51:12) [MSC 32 bit (Intel)] on
win32
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
Portions Copyright 1994-1999 Mark Hammond (MHammond at skippinet.com.au)
>>> import excel5
>>> app=excel5.Application()
Traceback (innermost last):
  File "<interactive input>", line 1, in ?
  File "c:\Program Files\Python\kadabra\excel5.py", line 804, in
__init__
    oobj = pythoncom.new(self.CLSID)
com_error: (-2147221164, 'Class not registered', None, None)
------------

However, the same process worked on MS-Word 2000. Just wondering how I
would start debugging this.

Calishar



More information about the Python-list mailing list