Self.width should be the canvas width and should not be 0. Michael
On 7/27/07 9:35 PM, "Glynn Clements" <[EMAIL PROTECTED]> 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 _______________________________________________ grass-dev mailing list [email protected] http://grass.itc.it/mailman/listinfo/grass-dev

