Re: [Boa Constr] [wxPython-users] Re: All Boa samples execution of command failed access is denied
Status: Beta
Brought to you by:
riaan
From: Werner F. B. <wer...@fr...> - 2008-02-14 16:53:56
|
Erik, Erik Vandamme wrote: > Werner, > I uninstalled Boa (because in the doc/help it said that one could > install undre Python25\site-packages.. > Installing it ther gave same result, then I found a directiry > c:\Python25 with just the debugger in it and then copied all Boa stuff > from ..\site-packages Not sure what you are saying here, but as you are getting an exception it looks like the access rights are worked out. > Re-made sure all folderrs/files under c:\Python were not read-only and > then run everythhing sample again > see below for result: > > */Traceback (most recent call last): > File "Everything.py", line 6, in <module> > wxversion.select('2.5') > File "C:\Python25\lib\site-packages\wxversion.py", line 152, in select > raise VersionError("Requested version of wxPython not found") > wxversion.VersionError: Requested version of wxPython not found/* It looks like no one has tried to use this example for some time. To make it compatible with recent versions of wxPython you need to make the following changes: line 6: wxversion.select('2.5') change it to: wxversion.ensureMinimal('2.5') change the "ID=" to "id=" for wx.lib.buttons.GenButton, wx.lib.buttons.GenBitmapButton and wx.lib.buttons.GenToggleButton. I will see that this gets update in the cvs version. Werner |