Monday, March 16, 2009

Solution of Python is installed but not executing

PROBLEM:-

python is installed(ActivePython)but fail to start when executing.and error is like this,


On failing startup PythonWin (2.6.1.1) gives the following info:

Problem signature:
Problem Event Name: APPCRASH
Application Name: Pythonwin.exe
Application Version: 0.0.0.0
Application Timestamp: 4939a87d
Fault Module Name: mfc90.dll
Fault Module Version: 9.0.21022.8
Fault Module Timestamp: 47316016
Exception Code: c0000005
Exception Offset: 0004453f
OS Version: 6.0.6001.2.1.0.256.4
Locale ID: 1035
Additional Information 1: 2795
Additional Information 2: e7b3c8fd00d80656b5c44506742e8ab9
Additional Information 3: 92f4
Additional Information 4: 877b55c7ae806e613e04d568a662cda7
For every new user account the behaviour is similar, at first program runs ok but not after browsing the PythonPath.

Simple uninstalling+installing does not remove the problem, but if one deletes the Python-related registry entries for current user after uninstall, PythonWin starts again.


SOLUTION :-

Having run out of ideas, I changed the name of scintilla.dll to scintilla.dll.hold and ran Pythonwin.exe. It generated some errors, but didn't fail to open. It wouldn't open any files due to the lack of scintilla.dll.

However, when I subsequently renamed scintilla.dll.hold back to scintilla.dll - pythonwin started working again.

Author : Anuj Patel

Blog : http://goldenpackagebyanuj.blogspot.in/