[GRASS-dev] [GRASS GIS] #540: wxGUI - Map Display only in the task bar

GRASS GIS trac at osgeo.org
Sun Mar 29 06:10:06 EDT 2009


#540: wxGUI - Map Display only in the task bar
------------------------------+---------------------------------------------
 Reporter:  hellik            |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect            |      Status:  new                      
 Priority:  major             |   Milestone:  6.5.0                    
Component:  wxGUI             |     Version:  svn-develbranch6         
 Keywords:  wx-GUI, task bar  |    Platform:  MSWindows Vista          
      Cpu:  Unspecified       |  
------------------------------+---------------------------------------------
 GRASS-devel6, build from source rev. 36355

 the starting window is ok, i can choose the nc-dataset

 the Layer Manager appears normally, but the Map display is only in the
 task bar
 and the following erros 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

 if i do the same action in osgeo4w-GRASS64-rc, everything is ok.

 best regards
 Helmut

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


More information about the grass-dev mailing list