Font error on Mac OS X (couldn't modify ATSU style)

One of the user of my software reported this error:

(‘Darwin’, 10.7.0’, ‘Darwin Kernel Version 10.7.0: RELEASE_I386’, ‘i386’, ‘i386’)
wxPython2.8-osx-unicode-py2.6

----- Details -----
Traceback (most recent call last): File “core/wxx/lib/buttons.pyc”, line 121, in DoGetBestSize
File “core/wxx/lib/buttons.pyc”, line 477, in _GetLabelSize
File “wx/_core.pyc”, line 8513, in GetLabel
wx._core.PyAssertionError: C++ assertion “status == noErr” failed at /BUILD/wxPython-src-2.8.11.0/src/mac/carbon/font.cpp(489) in MacFindFont(): couldn’t modify ATSU style

Google is giving me some information about this bug but nothing helpful, including this one on trac:
http://trac.wxwidgets.org/ticket/8697

Here buttons.pyc is copied into application structure. It’s the same /lib/buttons.pyc.
Any pointers?

Prashant

Is the user able to try running it under OSX 10.6 instead of 10.7?

···

On 4/15/11 8:05 PM, King wrote:

One of the user of my software reported this error:

('Darwin', 10.7.0', 'Darwin Kernel Version 10.7.0: RELEASE_I386',
'i386', 'i386')
wxPython2.8-osx-unicode-py2.6
<http://downloads.sourceforge.net/wxpython/wxPython2.8-osx-unicode-2.8.11.0-universal-py2.6.dmg&gt;

----- Details -----
Traceback (most recent call last): File "core/wxx/lib/buttons.pyc", line
121, in DoGetBestSize
File "core/wxx/lib/buttons.pyc", line 477, in _GetLabelSize
File "wx/_core.pyc", line 8513, in GetLabel
wx._core.PyAssertionError: C++ assertion "status == noErr" failed at
/BUILD/wxPython-src-2.8.11.0/src/mac/carbon/font.cpp(489) in
MacFindFont(): couldn't modify ATSU style

Google is giving me some information about this bug but nothing helpful,
including this one on trac:
wxTrac has been migrated to GitHub Issues - wxWidgets

Here buttons.pyc is copied into application structure. It's the same
/lib/buttons.pyc.
Any pointers?

--
Robin Dunn
Software Craftsman

tell your user that he/she doesn't have some basic fonts installed...
usually if they check in Font Book (a mac application that comes with
os x), they'll see a missing Times, or maybe a disabled Times.
reinstalling the fonts properly will fix this problem.

-Mike

···

On Sat, Apr 16, 2011 at 1:25 PM, King <animator333@gmail.com> wrote:

I am on 10.5 Leopard (Intel) and there is no such problem.
If you have access to 10.6 or 10.7 then please download the app and check.
http://pantheon-studios.in/shaderbox/

Prashant

--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en