[GRASS-dev] crash in most recent wxgrass?

Glynn Clements glynn at gclements.plus.com
Sat Jul 28 00:35:25 EDT 2007


Michael Barton wrote:

> I just updated and recompiled both GRASS 6.3 cvs and wxgrass. When I went to
> start up wxgrass, it crashed with the error below. I wonder if you have any
> thoughts as to what is causing this?

>   File 
> "/Applications/Grass/GRASS-6.3.app/Contents/Resources/etc/wx/gui_modules/ren
> der.py", line 348, in __adjustRegion
>     (self.region['e'] - self.region['w']) / self.width
> ZeroDivisionError: float division

Clearly, self.width is zero.

Maybe this code is being called before the widget has been fully
initialised?

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list