Python version 2.4.1.
Pythonwin version 203.
Below is the traceback seen in PythonWin.
The error can be worked around by going to the
mentioned line and changing the code to fit the list in
one line (like xxx = [IVSSVersion,])
With Python 2.3.3. and PythonWin 203 for 2.3 it worked
fine.
Traceback (most recent call last):
File "C:\Python24\Lib\site-
packages\pythonwin\pywin\framework\editor\vss.py",
line 65, in CheckoutFile
mod = win32com.client.gencache.EnsureModule
('{783CD4E0-9D54-11CF-B8EE-00608CC9A71F}', 0, 5, 0)
File "C:\Python24\Lib\site-
packages\win32com\client\gencache.py", line 407, in
EnsureModule
module = GetModuleForTypelib(typelibCLSID, tlbAttr
[1], tlbAttr[3], tlbAttr[4])
File "C:\Python24\Lib\site-
packages\win32com\client\gencache.py", line 258, in
GetModuleForTypelib
mod = _GetModule(modName)
File "C:\Python24\Lib\site-
packages\win32com\client\gencache.py", line 629, in
_GetModule
mod = __import__(mod_name)
File "C:\Python24\lib\site-
packages\win32com\gen_py\783CD4E0-9D54-11CF-
B8EE-00608CC9A71Fx0x5x1.py", line 679
IVSSVersion,
]
^
SyntaxError: invalid syntax
Logged In: YES
user_id=1254016
It is reproducible on three machines: Windows 2000,
Windows XP Professional, Windows XP Home