Hi all,
I’m trying to build the embedded wxPython sample on Ubuntu Gutsy amd64.
Had a variety of troubles using the distribution .deb files, so I just downloaded
wxPython-src-2.8.7.2-pre20080310 and followed the instructions in
"Building wxPython 2.8 for Development and Testing.
Embedded finally builds, but throws a run time error:
wxPython-src-2.8.7.2.pre20080310/wxPython/samples/embedded$ ./embedded
[Debug] 06:51:35 PM: …/src/generic/splitter.cpp(742): assert “window1 && window2” failed in DoSplit(): can not split with NULL window(s)
Probably something simple, but my skills are not up to
debugging a combined C++ and python application at this time.
source and lib are unmodified, built today.
Ok, got a backtrace from the assert popup dialog:
ASSERT INFO:
…/src/generic/splitter.cpp(742): assert “window1 && window2” failed in DoSplit(): can not split with NULL window(s)
BACKTRACE:
[1] wxSplitterWindow::DoSplit(wxSplitMode, wxWindow*, wxWindow*, int)
[2] wxSplitterWindow::SplitHorizontally(wxWindow*, wxWindow*, int)
[3] MyFrame() /home/dradick/RPMS/wxGTK-2.8.7/wxPython-src-2.8.7.2.pre20080310/wxPython/samples/embedded/embedded.cpp:166
[4] MyApp::OnInit() /home/dradick/RPMS/wxGTK-2.8.7/wxPython-src-2.8.7.2.pre20080310/wxPython/samples/embedded/embedded.cpp:76
Any help, please?
-Don