[python-win32] Failure in makepy.py
Fitzhugh, Cary
Cary.Fitzhugh at gd-ais.com
Tue Jun 28 16:57:31 CEST 2005
Hi all,
I'm trying to get connected to Rhapsody 6.0 and found the rhapsody.tlb.
If I try to run makepy on it, it gives me a Syntax Error on line 206. I
guess I can paste the info...
python c:\Python24\Lib\site-packages\win32com\client\makepy.py
c:\Rhapsody60\rhapsody.tlb > "c:\Documents and
Settings\cary.fitzhugh\working\xmitomdl"\rhap60.py
Generating to
C:\Python24\lib\site-packages\win32com\gen_py\47DBF9D5-F318-11D2-B825-00
104B3E6572x0x1x0\__init__.py
Building definitions from type library...
Generating...
Importing module
Traceback (most recent call last):
File "c:\Python24\Lib\site-packages\win32com\client\makepy.py", line
370, in ?
rc = main()
File "c:\Python24\Lib\site-packages\win32com\client\makepy.py", line
363, in main
GenerateFromTypeLibSpec(arg, f, verboseLevel = verboseLevel,
bForDemand = bForDemand, bBuildHidden = hiddenSpec)
File "c:\Python24\Lib\site-packages\win32com\client\makepy.py", line
274, in GenerateFromTypeLibSpec
gencache.AddModuleToCache(info.clsid, info.lcid, info.major,
info.minor)
File "C:\Python24\Lib\site-packages\win32com\client\gencache.py", line
555, in
AddModuleToCache
mod = _GetModule(fname)
File "C:\Python24\Lib\site-packages\win32com\client\gencache.py", line
634, in
_GetModule
mod = __import__(mod_name)
File
"C:\Python24\lib\site-packages\win32com\gen_py\47DBF9D5-F318-11D2-B825-0
0104B3E6572x0x1x0\__init__.py", line 206
'{AB75C7F8-145D-439E-B02A-9E40E1807754}' : 'IRPRequirement',
^
SyntaxError: invalid syntax
I'm hoping someone has seen something similar.
Any ideas?
Thanks.
Cary
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-win32/attachments/20050628/02e83304/attachment.htm
More information about the Python-win32
mailing list