[GRASS-dev] [GRASS GIS] #1257: Georectifier is broken

GRASS GIS trac at osgeo.org
Thu Jan 13 18:11:26 EST 2011


#1257: Georectifier is broken
--------------------------+-------------------------------------------------
 Reporter:  cmbarton      |       Owner:  grass-dev@…              
     Type:  defect        |      Status:  new                      
 Priority:  major         |   Milestone:  6.5.0                    
Component:  wxGUI         |     Version:  unspecified              
 Keywords:  georectifier  |    Platform:  Unspecified              
      Cpu:  Unspecified   |  
--------------------------+-------------------------------------------------
 The georectifier is broken in the most recent svn versions of GRASS 6.5
 and 7 (maybe earlier ones too, but I don't know).

 Starting up the wizard works fine all the way to the end when it is
 supposed to launch the interface for setting and managing GCP's. This
 generates an error:


 {{{
 Traceback (most recent call last):
   File "/Applications/GRASS/GRASS-6.5.app/Contents/MacOS/etc
 /wxpython/wxgui.py", line 253, in OnGCPManager

 gcpmanager.GCPWizard(self)
   File "/Applications/GRASS/GRASS-6.5.app/Contents/MacOS/etc
 /wxpython/gui_modules/gcpmanager.py", line 237, in __init__

 Map=self.SrcMap, lmgr=self.parent)
   File "/Applications/GRASS/GRASS-6.5.app/Contents/MacOS/etc
 /wxpython/gui_modules/gcpmanager.py", line 870, in __init__

 self.OnZoomToMap(None)
   File "/Applications/GRASS/GRASS-6.5.app/Contents/MacOS/etc
 /wxpython/gui_modules/gcpmapdisp.py", line 1030, in
 OnZoomToMap

 self.MapWindow.ZoomToMap(layers =
 self.Map.GetListOfLayers())
   File "/Applications/GRASS/GRASS-6.5.app/Contents/MacOS/etc
 /wxpython/gui_modules/mapdisp_window.py", line 2773, in
 ZoomToMap

 self.UpdateMap()
   File "/Applications/GRASS/GRASS-6.5.app/Contents/MacOS/etc
 /wxpython/gui_modules/mapdisp_window.py", line 773, in
 UpdateMap

 windres = windres)
   File "/Applications/GRASS/GRASS-6.5.app/Contents/MacOS/etc
 /wxpython/gui_modules/render.py", line 866, in Render

 os.environ["GRASS_REGION"] = self.SetRegion(windres)
   File "/Applications/GRASS/GRASS-6.5.app/Contents/MacOS/etc
 /wxpython/gui_modules/render.py", line 698, in SetRegion

 region = self.AdjustRegion()
   File "/Applications/GRASS/GRASS-6.5.app/Contents/MacOS/etc
 /wxpython/gui_modules/render.py", line 492, in AdjustRegion

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

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



More information about the grass-dev mailing list