Opened 15 years ago

Closed 15 years ago

#624 closed defect (fixed)

grass65 wx-python gui - error loading raster

Reported by: hellik Owned by: grass-dev@…
Priority: normal Milestone: 6.5.0
Component: Default Version: svn-develbranch6
Keywords: Cc:
CPU: Unspecified Platform: MSWindows Vista

Description

fresh svn-checkout at rev37638, self compiled on winvista32 in the osgeo4w-tree

starting grass65 in the nc-data-set, the layer manager-window is ok, the display-window seems to be started, but can't be maximised => following error message:

Traceback (most recent call last):
  File "c:\OSGeo4W\apps\grass\grass-6.5.svn\etc\wxpython\gui
_modules\mapdisp_window.py", line 536, in OnIdle

self.UpdateMap(render=True)
  File "c:\OSGeo4W\apps\grass\grass-6.5.svn\etc\wxpython\gui
_modules\mapdisp_window.py", line 635, in UpdateMap

windres=windres)
  File "c:\OSGeo4W\apps\grass\grass-6.5.svn\etc\wxpython\gui
_modules\render.py", line 915, in Render

os.environ["GRASS_REGION"] = self.SetRegion(windres)
  File "c:\OSGeo4W\apps\grass\grass-6.5.svn\etc\wxpython\gui
_modules\render.py", line 717, in SetRegion

region = self.AdjustRegion()
  File "c:\OSGeo4W\apps\grass\grass-6.5.svn\etc\wxpython\gui
_modules\render.py", line 504, in AdjustRegion

self.region["nsres"] =  mapheight / self.height
ZeroDivisionError
:
float division

Change History (3)

comment:1 by hellik, 15 years ago

if i start display2 and add a raster e.g. aspect, the display2-windows behaves normally

best regards helli

comment:2 by hellik, 15 years ago

grass6_devel self compiled in the osgeo4w-stack on WinVista rev39094

MapDisplay1 is normally starting without any error message

so this report can be closed?

helli

comment:3 by neteler, 15 years ago

Resolution: fixed
Status: newclosed

Seems ok now, closing. Feel free to re-open if needed.

Note: See TracTickets for help on using tickets.