Discussion:
PyAssertionError initialising wx.App
Paul Wiseman
2014-09-11 09:53:54 UTC
Permalink
A user is seeing an error launching the app (during wx.App.__init__)

import PythonApp.mainframe_main_new

File "PythonApp/mainframe_main_new.pyc", line 215, in <module>

File "PythonApp/mainframe_main_new.pyc", line 90, in __init__

File "wx/_core.pyc", line 7981, in __init__

File "wx/_core.pyc", line 7555, in _BootstrapApp

File "wx/_core.pyc", line 7990, in OnPreInit

File "wx/_gdi.pyc", line 6277, in _initStockObjects

File "wx/_gdi.pyc", line 6273, in GetFont

wx._core

.

PyAssertionError

:

C++ assertion "status == noErr" failed at
/BUILD/wxPython-src-2.8.12.1/src/mac/carbon/font.cpp(489) in
MacFindFont(): couldn't modify ATSU style

It's running wx 2.8.12.1 (mac, unicode). I've searched around and some
places I've seen that the issue was fixed in 2.8.12.1 and others that
it can be raised if the default font is not installed/enabled, I think
that's lucida grande on mac? I've checked and the user has both the
Times font and Lucida Grande installed and enabled.

Has anyone else come across this issue or any ideas on how to remedy it?

Thanks!
--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Nathan McCorkle
2014-09-11 16:27:52 UTC
Permalink
Post by Paul Wiseman
A user is seeing an error launching the app (during wx.App.__init__)
import PythonApp.mainframe_main_new
File "PythonApp/mainframe_main_new.pyc", line 215, in <module>
File "PythonApp/mainframe_main_new.pyc", line 90, in __init__
Could you post the lines of code surrounding line 90?
--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Paul Wiseman
2014-09-12 11:20:17 UTC
Permalink
Post by Nathan McCorkle
Post by Paul Wiseman
A user is seeing an error launching the app (during wx.App.__init__)
import PythonApp.mainframe_main_new
File "PythonApp/mainframe_main_new.pyc", line 215, in <module>
File "PythonApp/mainframe_main_new.pyc", line 90, in __init__
Could you post the lines of code surrounding line 90?
Sure, it's just the call to App.__init__

88) class MainApp(wx.App):#, wx.lib.mixins.inspection.InspectionMixin):
89) def __init__(self, redirect=False, silent=False):
90) wx.App.__init__(self, redirect=redirect)
91) self.silent = silent
Post by Nathan McCorkle
--
You received this message because you are subscribed to the Google Groups
"wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...