[GRASS-dev] [GRASS GIS] #624: grass65 wx-python gui - error loading raster

GRASS GIS trac at osgeo.org
Sat May 30 19:21:30 EDT 2009


#624: grass65 wx-python gui  - error loading raster
-------------------------+--------------------------------------------------
 Reporter:  hellik       |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect       |      Status:  new                      
 Priority:  normal       |   Milestone:  6.5.0                    
Component:  default      |     Version:  svn-develbranch6         
 Keywords:               |    Platform:  MSWindows Vista          
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------
 fresh svn-checkout at rev37638, self compiled on winvista32 in the
 osgeo4w-tree

 starting grass65 in the nc-data-set, the layer manager-window is ok, the
 display-window seems to be started, but can't be maximised => following
 error message:

 {{{
 Traceback (most recent call last):
   File "c:\OSGeo4W\apps\grass\grass-6.5.svn\etc\wxpython\gui
 _modules\mapdisp_window.py", line 536, in OnIdle

 self.UpdateMap(render=True)
   File "c:\OSGeo4W\apps\grass\grass-6.5.svn\etc\wxpython\gui
 _modules\mapdisp_window.py", line 635, in UpdateMap

 windres=windres)
   File "c:\OSGeo4W\apps\grass\grass-6.5.svn\etc\wxpython\gui
 _modules\render.py", line 915, in Render

 os.environ["GRASS_REGION"] = self.SetRegion(windres)
   File "c:\OSGeo4W\apps\grass\grass-6.5.svn\etc\wxpython\gui
 _modules\render.py", line 717, in SetRegion

 region = self.AdjustRegion()
   File "c:\OSGeo4W\apps\grass\grass-6.5.svn\etc\wxpython\gui
 _modules\render.py", line 504, in AdjustRegion

 self.region["nsres"] =  mapheight / self.height
 ZeroDivisionError
 :
 float division
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/624>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list