Re: Serious wxPython Error while executing..
- From: Paul McNett <p@xxxxxxxxxxxx>
- Date: Mon, 30 Oct 2006 19:34:52 -0800
kath wrote:
Hello, sorry about the lengthy message.
I finding difficult to execute this program. The wx.Notebook i created
is coming on the splitted frame(self.p2). How do I that. I am started
to learn wxPython, and when I run the code, the code doesnot close
gracefully, it throughs me an error.
"pythonw.exe has encountered a problem and needs to close. We are
sorry for the inconvenience"
I get a segmentation fault on Linux, after running the script, choosing
"Add new fund" from the menu, and then closing the application. I don't
get the segmentation fault if I merely start the app and close it.
here is the code.... seems a bit lengthy, sorry about that.
Please help me to find my mistake, and how do I go forward resolving
this problem.
You actually have several problems. But, the segmentation fault appears
to be directly related to the fact that you add boxsizer to the border
sizer twice.
Another problem is that you create the notebook every single time, and
add just one page to it, but you probably want just one notebook with
one or more pages.
--
pkm ~ http://paulmcnett.com
.
- References:
- Serious wxPython Error while executing..
- From: kath
- Serious wxPython Error while executing..
- Prev by Date: Adding a comment to an image using PIL
- Next by Date: Re: slice's indices() method
- Previous by thread: Serious wxPython Error while executing..
- Next by thread: Error importing .pyd python extension
- Index(es):
Relevant Pages
|