Hi Robin,
2010/1/12 Robin Dunn:
Hi all,
There's a 2.9.0.1 preview build available for everybody to play with. There
are binaries for Mac and Windows, and a source tarball for everybody else.
Take a look at the new build instructions, they're *lots* simpler than they
used to be.
URL: NameBright - Coming Soon
Changes: NameBright - Coming Soon
There are few issues with the pre-release, namely:
1) DataViewCtrl-related demos do not work:
Traceback (most recent call last):
File "C:\Python25\Lib\site-packages\wx-2.9.0-msw-unicode\wxPython2.9
Docs and Demos\demo\DVC_ListCtrl.py", line 3, in <module>
import wx.dataview as dv
File "C:\Python25\Lib\site-packages\wx-2.9.0-msw-unicode\wx\dataview.py",
line 11, in <module>
import _dataview
ImportError: No module named _dataview
2) The same happens with PropertyGrid:
Traceback (most recent call last):
File "C:\Python25\Lib\site-packages\wx-2.9.0-msw-unicode\wxPython2.9
Docs and Demos\demo\PropertyGrid.py", line 6, in <module>
import wx.propgrid as wxpg
File "C:\Python25\Lib\site-packages\wx-2.9.0-msw-unicode\wx\propgrid.py",
line 9, in <module>
import _propgrid
ImportError: No module named _propgrid
Possibly the _dataview.pyd and _propgrid.pyd have not been generated somehow.
3) The wx.ToolBook demo hangs without displaying anything, and needs
to be killed using the three-fingers salute;
4) The BitmapCombobox demo shows an "Unhandled exception" when
selecting any item in the combobox. Clicking on "Ignore" continues the
program flow normally;
5) The Validator demo - dialog example (and possibly other demos which
use wx.StdDialogButtonSizer) shows a funny alignment of "OK" and
"Cancel" buttons. It might be the platform default behaviour, but the
validator demo dialog looks really weird and out of place to me (see
also the ExpandoTextCtrl Set Max Height dialog);
6) The wx.ListBook partially hides the selected list item at startup
(i.e., at startup the first list item is selected but the list control
is scrolled down so that the first item is almost hidden);
7) I get an assertion error while running the SizedControls demo, and
specifically the first button "Sized Controls Form Dialog". A
screenshot of the error is attached to this e-mail;
8) The "Image.py" demo is missing an image. I get this error:
10:40:29: Error: Can't load image from file 'bitmaps\image.bmp': file
does not exist.
9) The GraphicsContext demo keeps drawing and re-drawing itself
forever until killed;
10) The PlateButton demo flickers like mad when selecting one platebutton;
10) AUI (meaning agw.aui) is broken: this might be due to the new
wx.BoxSizer implementation (although I haven't investigated yet). Is
there any way we might convince wx-devs to implement an old-style
wx.BoxSizer which will bring back the previous behaviour? Something
like wx.ProportionalBoxSizer or wx.OldBoxSizer, whatever. Otherwise I
will need to code one in Python, which will make AUI slower;
11) BalloonTip is broken: again, this may be due to the new sizers
implementation (not sure though);
12) ButtonPanel is broken: while starting the demo, I get an assertion
error regarding wx.StatusBar (attached image);
13) FaltMenu is broken: while hovering on the "Style" top menu I get a
hard crash of Python with the usual Windows message;
14) wx.RegionFromPoints is now expecting 2 inputs, although the second
one is always defaulted to fillStyle=wxODDEVEN_RULE (as per
documentation). I get this error:
Traceback (most recent call last):
File "C:\Python25\Lib\site-packages\wx-2.9.0-msw-unicode\wx\lib\agw\flatnotebook.py",
line 4572, in OnPaint
renderer.DrawTabs(self, dc)
File "C:\Python25\Lib\site-packages\wx-2.9.0-msw-unicode\wx\lib\agw\flatnotebook.py",
line 3033, in DrawTabs
self.DrawTab(pc, dc, posx, i, tabWidth, tabHeight, pc._nTabXButtonStatus)
File "C:\Python25\Lib\site-packages\wx-2.9.0-msw-unicode\wx\lib\agw\flatnotebook.py",
line 3114, in DrawTab
pc._pagesInfoVec[tabIdx].SetRegion(tabPoints)
File "C:\Python25\Lib\site-packages\wx-2.9.0-msw-unicode\wx\lib\agw\flatnotebook.py",
line 1140, in SetRegion
self._region = wx.RegionFromPoints(points)
File "C:\Python25\Lib\site-packages\wx-2.9.0-msw-unicode\wx\_gdi.py",
line 1706, in RegionFromPoints
val = _gdi_.new_RegionFromPoints(*args, **kwargs)
TypeError: new_RegionFromPoints() takes at least 2 arguments (1 given)
c:\python25\lib\site-packages\wx-2.9.0-msw-unicode\wx\_gdi.py(1706)RegionFromPoints()
-> val = _gdi_.new_RegionFromPoints(*args, **kwargs)
In FlatNotebook while attempting to use VC8 style tabs;
15) The GradientButton demo is broken, no image is shown on one of the
gradient buttons (but the image is there, so it may still be some
sizer quirk);
16) I get this error on the ToasterBox demo:
11:00:47: Error: Can't load image from file 'agw/bitmaps/sttfont.png':
file does not exist.
And the general layout of ToasterBox seems broken.
This is all on Windows XP SP2, Python 2.5.4.
I think this is it for the moment. I knew 2.9 was going to break some
parts of AGW but I wasn't expecting such a huge failure everywhere. In
any case, it's not your fault. Thank you for the pre-release and for
the hard work on wxPython!
Andrea.
"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/