[GRASS-user] Map display does not open at start

Daniel Victoria daniel.victoria at gmail.com
Tue Feb 5 03:16:53 PST 2013


An update on the problem. I installed Grass 7.0svn provided by OSGeo4W and
it's working. Just version 6.4.3RC2 that is having trouble opening the Map
Display Window


On Mon, Feb 4, 2013 at 12:05 PM, Daniel Victoria
<daniel.victoria at gmail.com>wrote:

> I just installed Grass 6.4.3.RC2 from OSGeo4W (win7 here) and when I start
> Grass the Layer Manager opens but the GIS Map Display does not show up.
>
> In the command console I see the folowing message:
>
> -------------------------------
> Traceback (most recent call last):
>   File "C:\OSGeo4W\apps\grass\grass-6.4.3RC2\etc\wxpython\ma
> pdisp\mapwindow.py", line 425, in OnIdle
>
> self.UpdateMap(render = True)
>   File "C:\OSGeo4W\apps\grass\grass-6.4.3RC2\etc\wxpython\ma
> pdisp\mapwindow.py", line 575, in UpdateMap
>
> windres = windres)
>   File "C:\OSGeo4W\apps\grass\grass-6.4.3RC2\etc\wxpython\co
> re\render.py", line 875, in Render
>
> os.environ["GRASS_REGION"] = self.SetRegion(windres)
>   File "C:\OSGeo4W\apps\grass\grass-6.4.3RC2\etc\wxpython\co
> re\render.py", line 702, in SetRegion
>
> region = self.AdjustRegion()
>   File "C:\OSGeo4W\apps\grass\grass-6.4.3RC2\etc\wxpython\co
> re\render.py", line 488, in AdjustRegion
>
> self.region["nsres"] =  mapheight / self.height
> ZeroDivisionError
> :
> float division by zero
> ---------------------------------------------
> If I open a new display it works and I can load image used to create the
> location.
>
> I've deleted and re-created the location several times but nothing changed.
>
> I've seen some bug reports about this error but did not manage to find a
> solution
>
> Here is the output of g.region -p
> -----------------------------------------------
> projection: 1 (UTM)
> zone:       -23
> datum:      wgs84
> ellipsoid:  wgs84
> north:      7548415.00000001
> south:      7338385
> west:       384884.99999999
> east:       623415
> nsres:      30
> ewres:      30
> rows:       7001
> cols:       7951
> cells:      55664951
> ----------------------------------------------------
>
> Cheers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20130205/9fcef553/attachment.html>


More information about the grass-user mailing list