GDAL
January 26, 2012, 10:51am
1
#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 >
GDAL
January 26, 2012, 10:51am
2
#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, wingrass | Platform: MSWindows XP
Cpu: Unspecified |
----------------------------------------------------+-----------------------
Changes (by martinl):
* keywords: cartographic composer, psmap => cartographic composer,
psmap, wingrass
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1547#comment:1> ;
GRASS GIS <http://grass.osgeo.org >
GDAL
January 26, 2012, 2:18pm
3
#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, wingrass | Platform: MSWindows XP
Cpu: Unspecified |
----------------------------------------------------+-----------------------
Comment(by annakrat):
Please try r50474 (6.4), I am not able to test it on windows.
Anna
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1547#comment:2> ;
GRASS GIS <http://grass.osgeo.org >
GDAL
January 26, 2012, 2:24pm
4
#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, wingrass | Platform: MSWindows XP
Cpu: Unspecified |
----------------------------------------------------+-----------------------
Changes (by martinl):
* cc: martinl (added)
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1547#comment:3> ;
GRASS GIS <http://grass.osgeo.org >
GDAL
January 26, 2012, 2:27pm
5
#1547: wxGUI Cartographic Composer: division by zero
----------------------------------------------------+-----------------------
Reporter: martinl | Owner: grass-dev@…
Type: defect | Status: new
Priority: major | Milestone: 6.5.0
Component: wxGUI | Version: unspecified
Keywords: cartographic composer, psmap, wingrass | Platform: MSWindows XP
Cpu: Unspecified |
----------------------------------------------------+-----------------------
Changes (by martinl):
* milestone: 6.4.2 => 6.5.0
Comment:
Replying to [comment:2 annakrat]:
> Please try r50474 (6.4), I am not able to test it on windows.
seems to work. Before closing this ticket, please backport fix to other
active branches.
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1547#comment:4> ;
GRASS GIS <http://grass.osgeo.org >
GDAL
January 26, 2012, 2:35pm
6
#1547: wxGUI Cartographic Composer: division by zero
---------------------------+------------------------------------------------
Reporter: martinl | Owner: grass-dev@…
Type: defect | Status: closed
Priority: major | Milestone: 6.5.0
Component: wxGUI | Version: unspecified
Resolution: fixed | Keywords: cartographic composer, psmap, wingrass
Platform: MSWindows XP | Cpu: Unspecified
---------------------------+------------------------------------------------
Changes (by annakrat):
* status: new => closed
* resolution: => fixed
Comment:
backported in r50475, r50476
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1547#comment:5> ;
GRASS GIS <http://grass.osgeo.org >
GDAL
January 27, 2012, 6:24pm
7
#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 >
GDAL
January 27, 2012, 6:25pm
8
#1547: wxGUI Cartographic Composer: division by zero
---------------------------+------------------------------------------------
Reporter: martinl | Owner: annakrat
Type: defect | Status: new
Priority: major | Milestone: 6.4.2
Component: wxGUI | Version: unspecified
Resolution: | Keywords: cartographic composer, psmap, wingrass
Platform: MSWindows XP | Cpu: Unspecified
---------------------------+------------------------------------------------
Changes (by martinl):
* cc: martinl (removed)
* cc: grass-dev@… (added)
* owner: grass-dev@… => annakrat
* status: reopened => new
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1547#comment:7> ;
GRASS GIS <http://grass.osgeo.org >
GDAL
January 28, 2012, 9:26am
9
#1547: wxGUI Cartographic Composer: division by zero
---------------------------+------------------------------------------------
Reporter: martinl | Owner: annakrat
Type: defect | Status: new
Priority: major | Milestone: 6.4.2
Component: wxGUI | Version: unspecified
Resolution: | Keywords: cartographic composer, psmap, wingrass
Platform: MSWindows XP | Cpu: Unspecified
---------------------------+------------------------------------------------
Comment(by annakrat):
r50508, could you confirm it before backport?
Thanks,
Anna
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1547#comment:8> ;
GRASS GIS <http://grass.osgeo.org >
GDAL
January 28, 2012, 10:39am
10
#1547: wxGUI Cartographic Composer: division by zero
---------------------------+------------------------------------------------
Reporter: martinl | Owner: annakrat
Type: defect | Status: new
Priority: major | Milestone: 6.4.2
Component: wxGUI | Version: unspecified
Resolution: | Keywords: cartographic composer, psmap, wingrass
Platform: MSWindows XP | Cpu: Unspecified
---------------------------+------------------------------------------------
Comment(by martinl):
Replying to [comment:8 annakrat]:
> r50508, could you confirm it before backport?
seems to work.
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1547#comment:9> ;
GRASS GIS <http://grass.osgeo.org >
GDAL
January 28, 2012, 10:52am
11
#1547: wxGUI Cartographic Composer: division by zero
---------------------------+------------------------------------------------
Reporter: martinl | Owner: annakrat
Type: defect | Status: closed
Priority: major | Milestone: 6.4.2
Component: wxGUI | Version: unspecified
Resolution: fixed | Keywords: cartographic composer, psmap, wingrass
Platform: MSWindows XP | Cpu: Unspecified
---------------------------+------------------------------------------------
Changes (by annakrat):
* status: new => closed
* resolution: => fixed
Comment:
Backported in r50518, r50519.
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1547#comment:10> ;
GRASS GIS <http://grass.osgeo.org >