Opened 13 years ago
Closed 13 years ago
#1547 closed defect (fixed)
wxGUI Cartographic Composer: division by zero
| Reported by: | martinl | Owned by: | annakrat |
|---|---|---|---|
| Priority: | major | Milestone: | 6.4.2 |
| Component: | wxGUI | Version: | unspecified |
| Keywords: | cartographic composer, psmap, wingrass | Cc: | grass-dev@… |
| CPU: | Unspecified | Platform: | MSWindows XP |
Description
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
Change History (10)
comment:1 by , 13 years ago
| Keywords: | wingrass added |
|---|
follow-up: 4 comment:2 by , 13 years ago
comment:3 by , 13 years ago
| Cc: | added |
|---|
comment:4 by , 13 years ago
| Milestone: | 6.4.2 → 6.5.0 |
|---|
comment:6 by , 13 years ago
| Milestone: | 6.5.0 → 6.4.2 |
|---|---|
| Resolution: | fixed |
| Status: | closed → reopened |
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
comment:7 by , 13 years ago
| Cc: | added; removed |
|---|---|
| Owner: | changed from to |
| Status: | reopened → new |
comment:9 by , 13 years ago
Note:
See TracTickets
for help on using tickets.

Please try r50474 (6.4), I am not able to test it on windows.
Anna