[python-win32] Pythonwin starts, displays main window, interactive window 'frame', then exits
Matthias Ekman
matthias.ekman at googlemail.com
Mon Dec 29 01:01:01 CET 2008
Mark Hammond schrieb:
> On 29/12/2008 5:50 AM, Matthias Ekman wrote:
>> > Try deleting your "HKEY_CURRENT_USER\Software\Python 2.5" (using
>> > whatever version of Python you are using) key - this may have garbage
>> > which causes MFC to get upset as it starts.
>>
>> deleting "HKEY_CURRENT_USER\Software\Python 2.5" (Python 2.6 in my case)
>> works fine for me ... BUT ... on next start up of pythonwin editor a new
>> entry is created. So do I have to deleate
>> "HKEY_CURRENT_USER\Software\Python 2.5" *everytime* I use pythonwin?
>> There might be a better solution?
>
> Do you have build 212? If so, it is expected the key will be
> re-created, but it should *not* fill with the garbage that caused the
> original problem. Can you tell us what is in that key?
>
> Cheers,
>
> Mark
Hi Mark!
I have built 211.1.
I figured out, that the problem is caused by the DWORD called "bars" in
"HKEY_CURRENT_USER\Software\Python 2.6\Python for
Win32\ToolbarDefault-Summary". The default value of "bars" is 9 (decimal).
Using "Tools --> Browse Path" in PythonWin changes the value to 10
(decimal) and PythonWin won't start up. Setting the value back to 9 ..
and everything works fine again. BUT ... the value is re-created every
time.
cheers,
Matthias
More information about the python-win32
mailing list