[python-win32] Possible trouble with pywin23-216 on python 3.2

Vernon Cole vernondcole at gmail.com
Thu Mar 3 06:15:10 CET 2011


Attempting to install using the binary installer, the installer gets to
"postinstall script finished", but the display window says:
v v v v v v v v
Copied pythoncom32.dll to C:\Windows\system32\pythoncom32.dll
Copied pythoncomloader32.dll to C:\Windows\system32\pythoncomloader32.dll
Copied pywintypes32.dll to C:\Windows\system32\pywintypes32.dll
FAILED to register the Python COM objects
-> Software\Python\PythonCore\3.2\Help[None]=None
-> Software\Python\PythonCore\3.2\Help\Pythonwin
Reference[None]='C:\\Python32\\Lib\\site-packages\\PyWin32.chm'
Pythonwin has been registered in context menu
Shortcut for Pythonwin created
Shortcut to documentation created
Traceback (most recent call last):
  File "<string>", line 372, in install
  File "<string>", line 170, in RegisterCOMObjects
  File "C:\Python32\lib\site-packages\win32com\server\register.py", line 47
    except win32api.error, (code, fn, msg):
                         ^
SyntaxError: invalid syntax
Traceback (most recent call last):
  File "<string>", line 604, in <module>
  File "<string>", line 471, in install
  File "C:\Python32\lib\site-packages\win32com\client\__init__.py", line 424
    except pythoncom.com_error, details:
                              ^
SyntaxError: invalid syntax
^ ^ ^ ^ ^ ^

When the adodbapi test is run, it gives:
v v v v v v
C:\hg\adodbapi\testP3k>c:\python32\python.exe testadodbapi.py
Traceback (most recent call last):
  File "testadodbapi.py", line 28, in <module>
    import win32com.client
  File "c:\python32\lib\site-packages\win32com\client\__init__.py", line 424
    except pythoncom.com_error, details:
                              ^
SyntaxError: invalid syntax
^ ^ ^ ^ ^ ^ ^ ^ ^
Which sounds oddly familiar.
This is on Windows Vista Home Basic.
--
Vernon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20110302/865ab5dd/attachment.html>


More information about the python-win32 mailing list