[GRASS-dev] [GRASS GIS] #2830: Error zooming in into display

GRASS GIS trac at osgeo.org
Fri May 10 13:29:18 PDT 2019


#2830: Error zooming in into display
---------------------+------------------------------
  Reporter:  andbal  |      Owner:  grass-dev@…
      Type:  defect  |     Status:  new
  Priority:  minor   |  Milestone:  7.6.2
 Component:  wxGUI   |    Version:  unspecified
Resolution:          |   Keywords:  zoom in, display
       CPU:  x86-64  |   Platform:  Linux
---------------------+------------------------------
Changes (by martinl):

 * milestone:  7.2.4 => 7.6.2


Comment:

 In GRASS 7.6.0 failing with

 {{{
 env['GRASS_REGION'] = self.Map.SetRegion(windres)
   File "/usr/lib/grass76/gui/wxpython/core/render.py", line
 1071, in SetRegion

 region = self.AdjustRegion()
   File "/usr/lib/grass76/gui/wxpython/core/render.py", line
 846, in AdjustRegion

 self.region['rows'] = round(mapheight /
 self.region["nsres"])
 ZeroDivisionError
 :
 float division by zero
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/2830#comment:8>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list