[GRASS-dev] crash in most recent wxgrass?

Michael Barton michael.barton at asu.edu
Fri Jul 27 11:20:37 EDT 2007


Martin,

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?

Thanks

Michael
__________________________________________
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

========= wxpython error output =============

GRASS 6.3.cvs (spearfish60_test):~ > wxgrass&
[2] 13248
[1]   Done                    wxgrass
GRASS 6.3.cvs (spearfish60_test):~ > Digitization tool is disabled.
Under development...
Traceback (most recent call last):
  File 
"/Applications/Grass/GRASS-6.3.app/Contents/Resources/etc/wx/wxgui.py", line
918, in <module>
    app = GMApp(0)
  File 
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packag
es/wx-2.8-mac-ansi/wx/_core.py", line 7757, in __init__
    self._BootstrapApp()
  File 
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packag
es/wx-2.8-mac-ansi/wx/_core.py", line 7354, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File 
"/Applications/Grass/GRASS-6.3.app/Contents/Resources/etc/wx/wxgui.py", line
900, in OnInit
    mainframe = GMFrame(parent=None, id=wx.ID_ANY, title="")
  File 
"/Applications/Grass/GRASS-6.3.app/Contents/Resources/etc/wx/wxgui.py", line
188, in __init__
    self.NewDisplay()
  File 
"/Applications/Grass/GRASS-6.3.app/Contents/Resources/etc/wx/wxgui.py", line
582, in NewDisplay
    auimgr=self._auimgr)
  File 
"/Applications/Grass/GRASS-6.3.app/Contents/Resources/etc/wx/gui_modules/wxg
ui_utils.py", line 133, in __init__
    Map=self.Map, auimgr=self.auimgr)
  File 
"/Applications/Grass/GRASS-6.3.app/Contents/Resources/etc/wx/gui_modules/map
disp.py", line 1511, in __init__
    self.MapWindow = BufferedWindow(self, id = wx.ID_ANY, Map=self.Map,
tree=self.tree)
  File 
"/Applications/Grass/GRASS-6.3.app/Contents/Resources/etc/wx/gui_modules/map
disp.py", line 216, in __init__
    self.Map.SetRegion() # make sure that extents are updated at init
  File 
"/Applications/Grass/GRASS-6.3.app/Contents/Resources/etc/wx/gui_modules/ren
der.py", line 402, in SetRegion
    self.__adjustRegion()
  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




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20070727/03769868/attachment.html


More information about the grass-dev mailing list