ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> activepython
activepython
PythonWin (on Win95) problem with Browse PythonPath
by Blair Hall other posts by this author
May 6 2002 12:55AM messages near this date
view in the new Beta List Site
Need Assistence | makepy & missing interfaces
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
ActivePython@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved