Issues with 2.8.0.1 on OS-X

Hi all,

Sorry I didn't test this a couple weeks ago, when I should have, but I"m finally doing it now.

I'm testing on OS-X 10.4.8, Python2.5 (framework build from pythonmac), wxPython 2.8.0.1 unicode build from wxpython.org

1) The stdout/stderr Frame is doing something weird -- the text box is very small, much smaller than the Frame, and not really readable:

>>> import wx
>>> wx.App(1)

Shows the problem.

2) When I try to create a font that doesn't exist, I get an exception -- it used to create whatever it could that was "close" -- at least I think it did. In any case, it didn't raise and exception. I'm pretty sure this doesn't raise an exception on Windows either. Not sure about Linux, these fonts exist there. See the floatcanvas Demo, text test to see the error. Or just run this:

>>> Font = wx.Font(12, wx.DEFAULT, wx.ITALIC, wx.NORMAL, False, "bookman")
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "//Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/wx-2.8-mac-unicode/wx/_gdi.py", line 1917, in __init__
     _gdi_.Font_swiginit(self,_gdi_.new_Font(*args, **kwargs))
wx._core.PyAssertionError: C++ assertion "status == noErr" failed at /BUILD/wxPython-src-2.8.0.1/src/mac/carbon/font.cpp(366) in MacFindFont(): couldn't modify ATSU style

3) I can't find the src.rpm on sourceforge -- is it there?

-Chris

···

--
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@noaa.gov

Kevin Ollivier wrote:

It doesn't match with the wx docs, but in this case, I think asserting is the right move.

I agree. As long as it is intentional, and hopefully documented. And the same on all platforms -- I haven't tested elsewhere yet.

-Chris

···

--
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@noaa.gov