Ticket #624 (closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

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:
Platform: MSWindows Vista CPU: Unspecified

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

Changed 4 years ago by hellik

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

best regards helli

Changed 4 years ago by hellik

grass6_devel self compiled in the osgeo4w-stack on WinVista? rev39094

MapDisplay?1 is normally starting without any error message

so this report can be closed?

helli

Changed 3 years ago by neteler

  • status changed from new to closed
  • resolution set to fixed

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

Note: See TracTickets for help on using tickets.