[pywin32-bugs] [ pywin32-Bugs-3296287 ] Browse PythonPath fails
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2011-07-12 20:16:59
|
Bugs item #3296287, was opened at 2011-05-02 10:16 Message generated for change (Comment added) made by rupole You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3296287&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: pythonwin Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Richard Stockford (stockford) Assigned to: Nobody/Anonymous (nobody) Summary: Browse PythonPath fails Initial Comment: On a new Vista machine, I installed Py 3.2 and pywin32-216.win-amd64-py3.2 with no errors. PyWin works, but Tools\Browse PythonPath fails as follows: >>> Failed to execute command: from pywin.tools import browseProjects;browseProjects.Browse() Traceback (most recent call last): File "C:\Python32\Lib\site-packages\pythonwin\pywin\framework\toolmenu.py", line 103, in HandleToolCommand exec("%s\n" % pyCmd) File "<string>", line 1, in <module> File "C:\Python32\Lib\site-packages\pythonwin\pywin\tools\browseProjects.py", line 254, in DockablePathBrowser bar.CreateWindow(win32ui.GetMainFrame(), DockableBrowserCreator, "Path Browser", 0x8e0a) File "C:\Python32\Lib\site-packages\pythonwin\pywin\docking\DockingBar.py", line 74, in CreateWindow self.dialog = childCreator(*(self,) + childCreatorArgs) File "C:\Python32\Lib\site-packages\pythonwin\pywin\tools\browseProjects.py", line 248, in DockableBrowserCreator list = hl.HierInit (parent, control) File "C:\Python32\Lib\site-packages\pythonwin\pywin\tools\hierlist.py", line 102, in HierInit self.AcceptRoot(self.root) File "C:\Python32\Lib\site-packages\pythonwin\pywin\tools\hierlist.py", line 238, in AcceptRoot subItems = self.GetSubList(root) File "C:\Python32\Lib\site-packages\pythonwin\pywin\tools\hierlist.py", line 286, in GetSubList return self.DelegateCall(item.GetSubList) File "C:\Python32\Lib\site-packages\pythonwin\pywin\tools\hierlist.py", line 273, in DelegateCall return fn() File "C:\Python32\Lib\site-packages\pythonwin\pywin\tools\browseProjects.py", line 181, in GetSubList hKey = win32api.RegOpenKey(regutil.GetRootKey(), keyStr) pywintypes.error: (2, 'RegOpenKeyEx', 'The system cannot find the file specified.') >>> Reinstall / repair of Py and PyWin makes no difference. Any advice gratefully received. Interestingly [?] this is almost an exact duplicate of my last post [2271571 of 081112, when the same error occurred on a new XP machine with an earlier version of Py, 2.5.2. I never did fix this and used the default path for everything. ---------------------------------------------------------------------- >Comment By: Roger Upole (rupole) Date: 2011-07-12 15:16 Message: regutil.GetRootKey always return HKLM, but it should be looking in HKCU when installed per-user. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3296287&group_id=78018 |