[GRASS-dev] [GRASS GIS] #1547: wxGUI Cartographic Composer:
division by zero
GRASS GIS
trac at osgeo.org
Thu Jan 26 05:51:43 EST 2012
#1547: wxGUI Cartographic Composer: division by zero
------------------------------------------+---------------------------------
Reporter: martinl | Owner: grass-dev@…
Type: defect | Status: new
Priority: major | Milestone: 6.4.2
Component: wxGUI | Version: unspecified
Keywords: cartographic composer, psmap | Platform: MSWindows XP
Cpu: Unspecified |
------------------------------------------+---------------------------------
When starting Cartographic Composer in winGRASS (ie. without preview
functionality) I am getting this error
{{{
raceback (most recent call last):
File "C:\Program Files (x86)\GRASS
6.4.2svn\etc\wxpython\gui_modules\psmap.py", line 1679, in
OnSize
self.ZoomAll()
File "C:\Program Files (x86)\GRASS
6.4.2svn\etc\wxpython\gui_modules\psmap.py", line 1492, in
ZoomAll
zoomFactor, view = self.ComputeZoom(zoomP)
File "C:\Program Files (x86)\GRASS
6.4.2svn\etc\wxpython\gui_modules\psmap.py", line 1409, in
ComputeZoom
zoomFactor = 1/max(rW/cW, rH/cH)
ZeroDivisionError
:
float division by zero
}}}
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1547>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list