Hi,
I've started porting the embedded sample to Phoenix. It builds fine
now with Python 2.7 and the program starts, however the embedded shell
doesn't show and I get this error message:
Traceback (most recent call last):
File "<string>", line 6, in makeWindow
File "./embedded_sample.py", line 12, in __init__
pycrust = shell.Shell(self, -1, introText=intro)
File "/usr/local/lib/python2.7/dist-packages/wx/py/shell.py", line
354, in __init__
wx.CallAfter(self.ScrollToLine, 0)
File "/usr/local/lib/python2.7/dist-packages/wx/core.py", line 2875,
in CallAfter
assert app is not None, 'No wx.App created yet'
AssertionError: No wx.App created yet
The patch against the latest non-Phoenix svn version is attached.
Requires manually copying Phoenix/src/wxpy_api.h to
${prefix}/include/wx-2.9/wx/wxPython/wxpy_api.h
Any help would be much appreciated.
C
embedded.patch (1.67 KB)