FYI: Conflict Between Python1.5.2b2 and win32all-123

Jonathan Polley polley at netins.net
Mon Apr 5 20:46:11 EDT 1999


I have installed Python 1.5.2b2 then installed win32all-123.  When I invoke
IDLE with a file name on the commandline, I get the following error:

Traceback (innermost last):
  File "C:\Program Files\Python\Pythonwin\pywin\framework\scriptutils.py",
line 236, in RunScript
    exec codeObject in __main__.__dict__
  File "C:\PROGRA~1\PYTHON\TOOLS\IDLE\idle.py", line 3, in ?
    PyShell.main()
  File "C:\PROGRA~1\PYTHON\TOOLS\IDLE\PyShell.py", line 780, in main
    aPath = os.path.abspath(os.path.dirname(filename))
  File "C:\Program Files\Python\Lib\ntpath.py", line 398, in abspath
    return win32api.GetFullPathName(path)
api_error: (161, 'GetFullPathName', 'The specified path is invalid.')


If I remove pythonwin, the error goes away.  Since I don't plan on running
IDLE with files as arguments, the current behavior is not an issue for me. 
I have noticed that there is a 124 version on Marks Hammond's web site and
will see if the problem exists with that update.

Jon Polley
polley at netins.net




More information about the Python-list mailing list