This sounds like a bug in Python 2.4 and you are using ActivePython.  The
recent pywin32 builds have a work-around for this problem, but ActivePython
was built before this was in place.
 
Mark

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Fitzhugh, Cary
Sent: Wednesday, 29 June 2005 12:58 AM
To: python-win32@python.org
Subject: [python-win32] Failure in makepy.py



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-00104B
3E6572x0x1x0\__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-00104
B3E6572x0x1x0\__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

<<attachment: winmail.dat>>

_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to