On Jul 7, 2011, at 6:09 AM, Jacek Kałucki wrote:

>> segfault/bus error that was being seen when running the Class Designer under 
>> Python 2.7
> 
> BTW, could you be more detailed Ed?
> I'm testing ClassDesigner with dGrid control with Python 2.7
> on Windows platform without your patch and everything works fine.

        There have been a lot of reports of problems with Dabo grids and Python 
2.7; unfortunately, the errors aren't in the code, so there is no traceback, 
just the segfault. I ran a bunch of debugging to locate what part of the code 
was causing it, and it led me to the repeated calls to _getDaboVisibleCols(). 
Eliminating those calls got rid of the segfault on my machine. And since there 
is no need to constantly re-calculate which columns are visible, I switched the 
logic to only calculating them when columns may have changed.

        My tests were OS X only, which is why I wanted people to test this on 
other platforms.



-- Ed Leafe




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://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