I installed wxPython2.6-win32-ansi-2.6.2.1pre.20060102-py23.exe
and then wxPython2.6-win32-docs-demos-2.6.2.1pre.20060102.exe
but when I run the demo, I get:
C:\Program Files\wxPython2.6 Docs and Demos\demo>demo.py
Traceback (most recent call last):
File "C:\Program Files\wxPython2.6 Docs and Demos\demo\demo.py", line 4,
in ?
Main.main()
File "C:\Program Files\wxPython2.6 Docs and Demos\demo\Main.py", line
1750, in
main
app = MyApp(False)
File "C:\Py235\lib\site-packages\wxPython\wx.py", line 1957, in __init__
_wxStart(self.OnInit)
File "C:\Program Files\wxPython2.6 Docs and Demos\demo\Main.py", line
1724, in
OnInit
wx.SystemOptions.SetOptionInt("mac.window-plain-transition", 1)
AttributeError: 'module' object has no attribute 'SystemOptions'
What have I done wrong?
(I'm running w2k, python 2.3.5)
I installed wxPython2.6-win32-ansi-2.6.2.1pre.20060102-py23.exe and then wxPython2.6-win32-docs-demos-2.6.2.1pre.20060102.exe
but when I run the demo, I get:
C:\Program Files\wxPython2.6 Docs and Demos\demo>demo.py
Traceback (most recent call last):
File "C:\Program Files\wxPython2.6 Docs and Demos\demo\demo.py", line 4,
in ?
Main.main()
File "C:\Program Files\wxPython2.6 Docs and Demos\demo\Main.py", line
1750, in
main
app = MyApp(False)
File "C:\Py235\lib\site-packages\wxPython\wx.py", line 1957, in __init__
_wxStart(self.OnInit)
File "C:\Program Files\wxPython2.6 Docs and Demos\demo\Main.py", line
1724, in
OnInit
wx.SystemOptions.SetOptionInt("mac.window-plain-transition", 1)
AttributeError: 'module' object has no attribute 'SystemOptions'
What have I done wrong?
Looks like it is finding an older version of wxPython. (Look at the path name for wx.py above.) You probably need to migrate your old wxPython 2.4 to a directory structure compatible with the multiversion installs, and then double check the contents of your wx.pth file. See http://wiki.wxpython.org/index.cgi/MultiVersionInstalls
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
I installed wxPython2.6-win32-ansi-2.6.2.1pre.20060102-py23.exe and then wxPython2.6-win32-docs-demos-2.6.2.1pre.20060102.exe
BTW, there is another preview build in progress right now. I expect that this will be the last one before the final 2.6.2.1 release so I'd like to ask everybody to please spend some time testing this over the weekend if you are able to. There are undoubtedly still some minor bugs present but I don't think any of them are show stoppers.
For Linux RPM users I've added the ability to the .spec file to turn on enabling the wx.MediaCtrl and also to be able to install to a site-pacakges dir that uses all four components of the version number, so if you are building your own RPM from the SRPM you may want to give one or both of those a try. See the top of the.spec file for details.
This build also includes Chris Barker's latest FloatCanvas, as well as a number of fixes and tweaks all over the place.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!