[GRASS-dev] crash in most recent wxgrass?
Michael Barton
michael.barton at asu.edu
Sat Jul 28 20:41:54 EDT 2007
Self.width should be the canvas width and should not be 0.
Michael
On 7/27/07 9:35 PM, "Glynn Clements" <glynn at gclements.plus.com> wrote:
>
> 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?
__________________________________________
Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University
phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton
More information about the grass-dev
mailing list