Re: Serious wxPython Error while executing..



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


.



Relevant Pages

  • Re: Janet will subtly ensure her band
    ... Lakhdar it's anonymous saving as to a notebook. ... Never execute a ... Anybody permit originally, ...
    (sci.crypt)
  • Unable to execute programs
    ... I have a notebook with W2K Pro loaded. ... After it loads to ... I am unable to execute any programs (ex: ... notepad, IE, etc). ...
    (microsoft.public.win2000.general)
  • Re: Reboot on shutdown
    ... Enquire, plan and execute ... Is it a notebook or a desktop PC? ...
    (microsoft.public.windowsxp.help_and_support)