I am writing my first application, being fascinated about how well everything works... I made my own main frame, with a menu. One menu item opens a new frame containing a wx.grid.Grid with my first self-written wx.grid.PyGridTableBase... everything works fine...
... but then suddenly (appearently after removing some print statements from the source), the same action causes a CRASH. By crash I mean that Windows 2000 says that python.exe has executed an illegal command and will be closed, and that a report is being generated.
What I would need now, is a kind of general check list for such cases. With a list of possible reasons.
Any pointers? Or hints?
Greetings
Luc Saffre
···
--
In theory, there is no difference between theory and practice.
In practice, there is.
I am writing my first application, being fascinated about how well everything works... I made my own main frame, with a menu. One menu item opens a new frame containing a wx.grid.Grid with my first self-written wx.grid.PyGridTableBase... everything works fine...
... but then suddenly (appearently after removing some print statements from the source), the same action causes a CRASH. By crash I mean that Windows 2000 says that python.exe has executed an illegal command and will be closed, and that a report is being generated.
What I would need now, is a kind of general check list for such cases. With a list of possible reasons.
The best thing to do first is to find out where exactly the crash is happening, (via print statements or the debugger,) then you can either ask here about it, or maybe that will give you enough info that you can figure out what the problem is.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!