[pywin32-bugs] [ pywin32-Bugs-944506 ] PythonWin Menus don't work
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2004-05-12 16:14:06
|
Bugs item #944506, was opened at 2004-04-29 08:27 Message generated for change (Comment added) made by ramrom You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=944506&group_id=78018 Category: pythonwin Group: None Status: Open Resolution: None Priority: 5 Submitted By: bob gailer (ramrom) Assigned to: Nobody/Anonymous (nobody) Summary: PythonWin Menus don't work Initial Comment: Platform Windows 2000 Advanced Server. New install of Python 2.3.3 and Win23all 201.1. Start PythonWin. The IDE menus drop down, but nothing happens when an item is selected. Toolbar buttons do nothing. ---------------------------------------------------------------------- >Comment By: bob gailer (ramrom) Date: 2004-05-12 10:14 Message: Logged In: YES user_id=587593 Just checked; 176 Toolbar Default-Bar keys in the registry. Am getting in habit of deleting these keys and changing Toolbar Default-Summary-> bars to 0. I'd like to understand the registry api so I can write a scipt to make the above changes automatically. Please explain the registry api. ---------------------------------------------------------------------- Comment By: bob gailer (ramrom) Date: 2004-05-12 07:43 Message: Logged In: YES user_id=587593 The # of Toolbar Default-Bar keys in the registry is growing again, but at a lot slower rate. They seem to fall into 2 sets based on the key names inside. This suggests that we need to keep just 2 of these around. True? ---------------------------------------------------------------------- Comment By: bob gailer (ramrom) Date: 2004-05-11 13:28 Message: Logged In: YES user_id=587593 I commented out line 467 - tb.dialog.SaveState() and now the registry does not grow. Of course I now don't have any memory of debugger changes. I wonder about line 466 - if tb.dialog is not None: ??? should it be - if tb.dialog is None: ??? ---------------------------------------------------------------------- Comment By: bob gailer (ramrom) Date: 2004-05-11 08:19 Message: Logged In: YES user_id=587593 Appears that commenting 461 in debugger is not the right thing to do, as the registry keys are still accumulating. What debugger code needs fixing to stop the above? ---------------------------------------------------------------------- Comment By: bob gailer (ramrom) Date: 2004-05-03 08:44 Message: Logged In: YES user_id=587593 So now I see line 461 frame.SaveBarState("ToolbarDebugging"). Is there a better fix than just commenting this? ---------------------------------------------------------------------- Comment By: bob gailer (ramrom) Date: 2004-05-03 08:41 Message: Logged In: YES user_id=587593 Nuking the HKEY_CURRENT_USER\Software\Python 2.3\Python for Win32 key solved it! Regarding the idea of commenting line 462 in Pythonwin\pywin\debugger.py. That line reads: # Hide the debuger toolbars (as they wont normally form part of the main toolbar state. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2004-05-02 20:33 Message: Logged In: YES user_id=14198 This sounds like it might be the same as https://sourceforge.net/tracker/index.php?func=detail&aid=849191&group_id=78018&atid=551954 Nuking the HKEY_CURRENT_USER\Software\Python 2.3\Python for Win32 key might solve it. ---------------------------------------------------------------------- Comment By: bob gailer (ramrom) Date: 2004-05-02 13:13 Message: Logged In: YES user_id=587593 I can enter python expressions and statements and they work as expected. Is that what you mean by commands? Other bizarre things happen at the same time: the Task Manager won't start. If I start the Task Manager first, then PythonWin, some of the Task Manager Menus don't work. The Task Manager shows over 5000 USER objects in use by pythonwin.exe; on another machine where things are OK there are 75 USER Objects. Similar problems have surafced in the past on other machines. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2004-05-01 20:08 Message: Logged In: YES user_id=14198 How bizarre! Never heard anything like this before! Does the rest of Pythonwin work? ie, can you enter commands at the interactive window? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=944506&group_id=78018 |