On 7/1/14, 9:03 AM, Werner wrote:
Hi John,

On 7/1/2014 16:39, John Fabiani wrote:
On 07/01/2014 07:27 AM, Werner wrote:

...
wx._core.wxAssertionError: C++ assertion "m_created" failed at
..\..\src\generic\grid.cpp(2311) in wxGrid::SetSelectionMode():
Called wxGrid::SetSelectionMode() before calling CreateGrid()

I think/guess that dPemMixin._constructed at some point returns True
if so CreateGrid or SetTable is not yet called on the grid.

If my guess is correct any suggestion on how that could be fixed in
Dabo?

Werner

I have seen the same error for a very long time while running any Dabo
code from within my editor (Wing).  I ignored the message from within
Wing and the code just worked.  So I'm wondering if the exception is
causing the program to actually stop.  Or is this error coming from
your editor?
Using WingIDE too, so it looks like it is the configuration of catching
assert errors in Wing.

Will ignore it for the moment but there should be a way of fixing the
code so that the assert doesn't fire, no?

Hmm, a Wing problem. The root cause could be rooted in some of the way we abstract things, and/or the way we do multiple-inheritance. I don't have any suggestions for getting code that otherwise works running inside of Wing.

Paul


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to