Re: [wxPython-users] Re: All Boa samples execution of command failed access is denied
"Werner F. Bruhin" <[email protected]>
| Newsgroups | gmane.comp.ide.boa-constructor.user,gmane.comp.python.wxpython |
|---|---|
| Message-ID | <[email protected]> |
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
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/