I just downloaded ActiveState Python 2.2.1 build 222 and
installed it on a Windows95 machine.
Everything seemed to go fine, however I have just noticed that I cannot
use the 'Browse PythonPath' menu item in the PythonWin IDE. The following
error message appears:
>>> Failed to execute command:
from pywin.tools import browseProjects;browseProjects.Browse()
Traceback (most recent call last):
File
"C:\Python22\Lib\site-packages\Pythonwin\pywin\framework\toolmenu.py", line
103, in HandleToolCommand
exec "%s\n" % pyCmd
File "<string>", line 1, in ?
File
"C:\Python22\Lib\site-packages\Pythonwin\pywin\tools\browseProjects.py",
line 248, in DockablePathBrowser
bar.CreateWindow(win32ui.GetMainFrame(), DockableBrowserCreator, "Path
Browser", 0x8e0a)
File
"C:\Python22\Lib\site-packages\Pythonwin\pywin\docking\DockingBar.py", line
71, in CreateWindow
self.dialog = apply(childCreator, (self,) + childCreatorArgs)
File
"C:\Python22\Lib\site-packages\Pythonwin\pywin\tools\browseProjects.py",
line 242, in DockableBrowserCreator
list = hl.HierInit (parent, control)
File "C:\Python22\Lib\site-packages\Pythonwin\pywin\tools\hierlist.py",
line 93, in HierInit
self.AcceptRoot(self.root)
File "C:\Python22\Lib\site-packages\Pythonwin\pywin\tools\hierlist.py",
line 220, in AcceptRoot
subItems = self.GetSubList(root)
File "C:\Python22\Lib\site-packages\Pythonwin\pywin\tools\hierlist.py",
line 268, in GetSubList
return self.DelegateCall(item.GetSubList)
File "C:\Python22\Lib\site-packages\Pythonwin\pywin\tools\hierlist.py",
line 255, in DelegateCall
return fn()
File
"C:\Python22\Lib\site-packages\Pythonwin\pywin\tools\browseProjects.py",
line 175, in GetSubList
hKey = win32api.RegOpenKey(regutil.GetRootKey(), keyStr)
api_error: (2, 'RegOpenKeyEx', 'The system cannot find the file specified.')
>>>
Can I fix this?
Also, I notice in the release notes that
"On Windows95, Python COM integration will not work, because win32com
registration does not work"
Does this mean that I cannot use the COM extensions on my computer?
_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython