"Paul McNett" <[EMAIL PROTECTED]> schrieb:
> Sibylle Koczian wrote:
> > Yes, that is right. The dGrid problem starts with revision 4572. 
> 
> Ok, let's find out what line triggers it. Here's your strategy.
> 
> 1) cd dabo;svn up -r 4572
> 
> 2) edit dabo/ui/uiwx/dGrid.py
> 
> 3) find the _paintHeader() method
> 
> 4) at the top of the method, put 'print "_paintHeader() 1"'
> 
> 5) at the bottom of the method, put 'print "_paintHeader() 2"'
> 
> 6) run the dGrid self-test (python dGrid.py)
> 
> 7) did any of those print statements print before crashing? If you got 
> "_paintHeader() 1" but not "_paintHeader() 2" then you know that 
> something in that method is causing the problem. Move each print 
> statement closer to each other by 10 lines, and run again. Do steps 6-7 
> until you've isolated the offending line.
> 

Seems to be line 2290: 
intersect = wx.IntersectRect(updateBox, headerRect)

If I enclose this and only this line between the two print statements,
only the first one is printed, then the application crashes.

Greetings
Sibylle

-- 
Dr. Sibylle Koczian 



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

Reply via email to