[GRASS-user] Grass-7.0 beta3 fails to launch

Vaclav Petras wenzeslaus at gmail.com
Tue Aug 19 07:00:21 PDT 2014


On Tue, Aug 19, 2014 at 2:58 AM, Sindile Bidla <sindile.bidla at gmail.com>
wrote:

> Dear List
>
> I am using Grass-7.0 beta3 installed via osgeo4w 32bit installer on
> Windows 8 64 bit. I have also installed Grass-7.0 beta3 via the windows
> installer and have the same problem.
>
> I get the error below and not sure what is happening:
>
> Launching <wxpython> GUI in the background, please wait...
> /usr/bin/bash.exe: Command not found
>

Hello, I looked to the source code and I think that there are two problems.
One is that GRASS is using some unreliable method of determining if it is
running as Cygwin application or native one. OSGeo4W and stadalone are both
MS Windows native applications but in your case GRASS thinks that it is
Cygwin one.

The other problem is what caused GRASS to think this. It seems to me you
have CYGWIN variable in your environment. If you remove this variable,
GRASS should start. But note that I don't know why you have CYGWIN in your
environment (it might be needed by some other application).

See more details in the ticket I've created:

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

Thanks for trying OSGeo4W, standalone and 6.4 versions,
Vaclav


> Cleaning up temporary files...
> Done.
>
> Goodbye from GRASS GIS
>
>
> C:\Users\sindile\Desktop>ERROR: Variable 'LOCATION_NAME' not set
> Traceback (most recent call last):
>   File "C:\OSGeo4W\apps\grass\grass-7.0.0beta3\gui\wxpython\wxgui.py",
> line 34,
> in <module>
>     from lmgr.frame import GMFrame
>   File
> "C:\OSGeo4W\apps\grass\grass-7.0.0beta3\gui\wxpython\lmgr\frame.py", line
>  50, in <module>
>     from lmgr.layertree        import LayerTree, LMIcons
>   File
> "C:\OSGeo4W\apps\grass\grass-7.0.0beta3\gui\wxpython\lmgr\layertree.py",
> line 37, in <module>
>     from mapdisp.frame        import MapFrame
>   File
> "C:\OSGeo4W\apps\grass\grass-7.0.0beta3\gui\wxpython\mapdisp\frame.py", l
> ine 66, in <module>
>     class MapFrame(SingleMapFrame):
>   File
> "C:\OSGeo4W\apps\grass\grass-7.0.0beta3\gui\wxpython\mapdisp\frame.py", l
> ine 72, in MapFrame
>     page = None, Map = Map(), auimgr = None, name = 'MapWindow', **kwargs):
>   File
> "C:\OSGeo4W\apps\grass\grass-7.0.0beta3\gui\wxpython\core\render.py", lin
> e 401, in __init__
>     if not self.GetWindow():
>   File
> "C:\OSGeo4W\apps\grass\grass-7.0.0beta3\gui\wxpython\core\render.py", lin
> e 460, in GetWindow
>     filename = os.path.join (env['GISDBASE'],
> KeyError: 'GISDBASE'
>
>
> I also have Grass 6.4.4 installed via osgeo4w and it works fine.
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20140819/7c4a662d/attachment.html>


More information about the grass-user mailing list