[GRASS-dev] Re: [GRASS GIS] #1547: wxGUI Cartographic Composer: division by zero

GRASS GIS trac at osgeo.org
Fri Jan 27 13:24:57 EST 2012


#1547: wxGUI Cartographic Composer: division by zero
---------------------------+------------------------------------------------
  Reporter:  martinl       |       Owner:  grass-dev@…                           
      Type:  defect        |      Status:  reopened                              
  Priority:  major         |   Milestone:  6.4.2                                 
 Component:  wxGUI         |     Version:  unspecified                           
Resolution:                |    Keywords:  cartographic composer, psmap, wingrass
  Platform:  MSWindows XP  |         Cpu:  Unspecified                           
---------------------------+------------------------------------------------
Changes (by martinl):

  * status:  closed => reopened
  * resolution:  fixed =>
  * milestone:  6.5.0 => 6.4.2


Comment:

 Similar error
 {{{
 Traceback (most recent call last):
   File "C:\OSGeo4W_dev\apps\grass\grass-6.4.2svn\etc\wxpytho
 n\gui_modules\psmap.py", line 1682, in OnSize

 self.ZoomAll()
   File "C:\OSGeo4W_dev\apps\grass\grass-6.4.2svn\etc\wxpytho
 n\gui_modules\psmap.py", line 1495, in ZoomAll

 zoomFactor, view = self.ComputeZoom(zoomP)
   File "C:\OSGeo4W_dev\apps\grass\grass-6.4.2svn\etc\wxpytho
 n\gui_modules\psmap.py", line 1422, in ComputeZoom

 if rW/rH > cW/cH:
 ZeroDivisionError
 :
 float division by zero
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1547#comment:6>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list