[GRASS-dev] [GRASS GIS] #540: wxGUI - Map Display only in the task bar

#540: wxGUI - Map Display only in the task bar
------------------------------+---------------------------------------------
Reporter: hellik | Owner: grass-dev@lists.osgeo.org
     Type: defect | Status: new
Priority: major | Milestone: 6.5.0
Component: wxGUI | Version: svn-develbranch6
Keywords: wx-GUI, task bar | Platform: MSWindows Vista
      Cpu: Unspecified |
------------------------------+---------------------------------------------
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.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

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

best regards
Helmut

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/540&gt;
GRASS GIS <http://grass.osgeo.org>

#540: wxGUI - Map Display only in the task bar
------------------------------+---------------------------------------------
  Reporter: hellik | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: major | Milestone: 6.5.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords: wx-GUI, task bar
  Platform: MSWindows Vista | Cpu: Unspecified
------------------------------+---------------------------------------------
Comment (by hellik):

sorry, i saw it to late:

maybe related to

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

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/540#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#540: wxGUI - Map Display only in the task bar
------------------------------+---------------------------------------------
  Reporter: hellik | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: major | Milestone: 6.5.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords: wx-GUI, task bar
  Platform: MSWindows Vista | Cpu: Unspecified
------------------------------+---------------------------------------------
Comment (by hellik):

Replying to [ticket:540 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.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
>
> 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

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/540#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#540: wxGUI - Map Display only in the task bar
------------------------------+---------------------------------------------
  Reporter: hellik | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: major | Milestone: 6.5.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords: wx-GUI, task bar
  Platform: MSWindows Vista | Cpu: Unspecified
------------------------------+---------------------------------------------
Comment (by hellik):

grass6_devel self compiled in the osgeo4w-stack on WinVista
rev39094

no such behaviour in rev39094

best regards
helli

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/540#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>

#540: wxGUI - Map Display only in the task bar
------------------------------+---------------------------------------------
  Reporter: hellik | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: closed
  Priority: major | Milestone: 6.5.0
Component: wxGUI | Version: svn-develbranch6
Resolution: fixed | Keywords: wx-GUI, task bar
  Platform: MSWindows Vista | Cpu: Unspecified
------------------------------+---------------------------------------------
Changes (by cmbarton):

* cc: cnielsen (added)
  * status: new => closed
  * resolution: => fixed

Comment:

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

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/540#comment:4&gt;
GRASS GIS <http://grass.osgeo.org>