I've uninstalled and reinstalled Pythonwin and indeed after
installation the pyc is present and when Pythonwin runs the first time
it overrides it. I've saved the original intpyapp.pyc and when I use
it Pythonwin runs without a problem. I've compared the "working" pyc
with the "non-working" one and
No, It doesn't crash if I import it from the python console.
I ran python.exe -v (after replacing the file with the original pyc
that does work - the one that was generated in the installation) and
indeed it recompiles because of a bad timestamp. Following are the
relevant lines from the verbose o
This is the comparison of the two files (starting at offset 0):
-
L0 B3 F2 0D 0A 94 BF 29 42 63 00 00 00 00 00 00 00 ³ò.."¿)Bc...
R0 B3 F2 0D 0A A4 CD 29 42 63 00 00 00 00 00 00 00 ³ò..¤Í)Bc...
L - the working version
R - the
I've uninstalled and reinstalled Pythonwin and indeed after
installation the pyc is present and when Pythonwin runs the first time
it overrides it. I've saved the original intpyapp.pyc and when I use
it Pythonwin runs without a problem. I've compared the "working" pyc
with the "non-working" one and
I've installed Python 2.5 for all users using the python-2.5.msi
installer. I've also searched for python25.dll and there is only one
copy of it (in C:\WINDOWS\system32\python25.dll).
Obviously, something is wrong in my XP environment, maybe a dll with
the wrong version (mfc?). Can this be related
I've installed Python 2.5 and PythonWin (pywin32-210.win32-py2.5) on
my new XP machine. The first time I run PythonWin after installation
it runs normally but if I close it and try to run it again it crashes
("PyWin32 has encountered a problem and needs to close") every time.
After some investigat