Opened 15 years ago

Closed 15 years ago

#540 closed defect (fixed)

wxGUI - Map Display only in the task bar

Reported by: hellik Owned by: grass-dev@…
Priority: major Milestone: 6.5.0
Component: wxGUI Version: svn-develbranch6
Keywords: wx-GUI, task bar Cc: cnielsen
CPU: Unspecified Platform: MSWindows Vista

Description

GRASS-devel6, build from source rev. 36355

the starting window is ok, i can choose the nc-dataset

the Layer Manager appears normally, but the Map display is only in the task bar and the following erros 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.environGRASS_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.regionnsres = mapheight / self.height ZeroDivisionError : float division

if i do the same action in osgeo4w-GRASS64-rc, everything is ok.

best regards Helmut

Change History (4)

comment:1 by hellik, 15 years ago

sorry, i saw it to late:

maybe related to

http://trac.osgeo.org/grass/ticket/539

in reply to:  description comment:2 by hellik, 15 years ago

Replying to hellik:

GRASS-devel6, build from source rev. 36355

the starting window is ok, i can choose the nc-dataset

the Layer Manager appears normally, but the Map display is only in the task bar and the following erros 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.environGRASS_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.regionnsres = mapheight / self.height ZeroDivisionError : float division

if i do the same action in osgeo4w-GRASS64-rc, everything is ok.

best regards Helmut

also in the actual grass6.4svn of Osgeo4W in Win Vista

Best regards Helmut

comment:3 by hellik, 15 years ago

grass6_devel self compiled in the osgeo4w-stack on WinVista rev39094

no such behaviour in rev39094

best regards helli

comment:4 by cmbarton, 15 years ago

Cc: cnielsen added
Resolution: fixed
Status: newclosed

This is no longer happening on Colin Nielsen's WinGRASS binaries in either XP or Vista in 6.4RC5 recently built. Has anyone else reported it? I'm closing, but it can be reopened if it turns out that it is showing up under some particular circumstances.

Michael

Note: See TracTickets for help on using tickets.