Phoenix - GridCustTable

Hi,

This one crashes on me without traceback.

If I set a debug breakpoint in CustomDataTable.GetValue, e.g. on line 58 return '' then it runs, but sometimes crashes on resizing with the exception:

File "H:\devProjectsT\Phoenix\demo\GridCustTable.py", line 167, in <module>
   app.MainLoop()
File "c:\Python33\Lib\site-packages\wx-3.0.0-msw-phoenix\wx\core.py", line 1873, in MainLoop
   rv = wx.PyApp.MainLoop(self)

wx._core.wxAssertionError: C++ assertion "Assert failure" failed at ..\..\src\msw\app.cpp(1047) in wxApp::OnExceptionInMainLoop(): unexpected MessageBox() return code

Hi,

GridHugeTable crashes too, maybe something with GridTableBase

Werner

Same on Py27 and Py33

Werner

···

On 22/01/2014 16:41, Werner wrote:

Hi,

GridHugeTable crashes too, maybe something with GridTableBase

Werner wrote:

Hi,

GridHugeTable crashes too, maybe something with GridTableBase

I ran into this a couple days ago as well, it was an issue related to not handling ownership transfer based on the flag passed to SetTable, so the table was destroyed too soon, and the grid destroyed it too.

I've committed the fix so it should be in tonight's build.

···

--
Robin Dunn
Software Craftsman