[GRASS-user] OSX Yosemite - GRASS 6.4 stopped working

Hi all

I’m running OS X Yosemite Beta, and my GRASS install just stopped working. It was running fine until last week, but now I can’t open it, with the following error msg:

Last login: Mon Sep 1 11:37:04 on ttys002
‘/Applications/GRASS-6.4.app/Contents/Resources/Scripts/GRASS.scptContents/MacOS/grass.sh’; exit
GuanoBookPro:~ guano$ ‘/Applications/GRASS-6.4.app/Contents/Resources/Scripts/GRASS.scptContents/MacOS/grass.sh’; exit
-bash: /Applications/GRASS-6.4.app/Contents/Resources/Scripts/GRASS.scptContents/MacOS/grass.sh: No such file or directory
logout

[Process completed]

The same happens with GRASS-7

I don’t recall updating anything (maybe some automatic update happened in the background), and I already tried to reinstall GRASS.

Trying to run grass.sh from /Applications/GRASS-6.4.app/Contents/MacOS/ will not work as well, first with a Gis_set Error about the splash screen (should a missing splash screen gif cause an error on startup??), and after it, with a python error:

Starting GRASS …
Traceback (most recent call last):
File “./etc/wxpython/gis_set.py”, line 1003, in
GRASSStartUp = StartUp(0)
File “/Applications/GRASS-6.4.app/Contents/MacOS/etc/python/wx/_core.py”, line 8631, in init
self._BootstrapApp()
File “/Applications/GRASS-6.4.app/Contents/MacOS/etc/python/wx/_core.py”, line 8196, in _BootstrapApp
return core.PyApp__BootstrapApp(*args, **kwargs)
File “./etc/wxpython/gis_set.py”, line 978, in OnInit
StartUp = GRASSStartup()
File “./etc/wxpython/gis_set.py”, line 95, in init
versionFile = open(os.path.join(globalvar.ETCDIR, “VERSIONNUMBER”))
IOError: [Errno 2] No such file or directory: ‘./etc/VERSIONNUMBER’
Error in GUI startup. If necessary, please
report this error to the GRASS developers.
Switching to text mode now.
Hit RETURN to continue…

So, I went and reinstall wxpython, but again with no success.

any help at this point is very much welcome

best

Carlos

Prof. Carlos Henrique Grohmann
Institute of Energy and Environment - Univ. of São Paulo, Brazil

  • Digital Terrain Analysis | GIS | Remote Sensing -

http://carlosgrohmann.com
http://orcid.org/0000-0001-5073-5572


Can’t stop the signal.

Carlos,

I have seen the same thing; here is what I figured-out as a brute force work-around:

(1) in the TERM window that pops-up do Control-C

(2) copy and paste: /Applications/GRASS-6.4.app/Contents/Resources/Scripts/GRASS.scptContents/MacOS/grass.sh (or the GRASS 7 equivalent)

(3)

This works every time I get this + it seems to temporarily ‘fix’ the problem…

Cheers!

Tom

···

On Mon, Sep 1, 2014 at 11:00 AM, Carlos Grohmann <carlos.grohmann@gmail.com> wrote:

Hi all

I’m running OS X Yosemite Beta, and my GRASS install just stopped working. It was running fine until last week, but now I can’t open it, with the following error msg:

Last login: Mon Sep 1 11:37:04 on ttys002
‘/Applications/GRASS-6.4.app/Contents/Resources/Scripts/GRASS.scptContents/MacOS/grass.sh’; exit
GuanoBookPro:~ guano$ ‘/Applications/GRASS-6.4.app/Contents/Resources/Scripts/GRASS.scptContents/MacOS/grass.sh’; exit
-bash: /Applications/GRASS-6.4.app/Contents/Resources/Scripts/GRASS.scptContents/MacOS/grass.sh: No such file or directory
logout

[Process completed]

The same happens with GRASS-7

I don’t recall updating anything (maybe some automatic update happened in the background), and I already tried to reinstall GRASS.

Trying to run grass.sh from /Applications/GRASS-6.4.app/Contents/MacOS/ will not work as well, first with a Gis_set Error about the splash screen (should a missing splash screen gif cause an error on startup??), and after it, with a python error:

Starting GRASS …
Traceback (most recent call last):
File “./etc/wxpython/gis_set.py”, line 1003, in
GRASSStartUp = StartUp(0)
File “/Applications/GRASS-6.4.app/Contents/MacOS/etc/python/wx/_core.py”, line 8631, in init
self._BootstrapApp()
File “/Applications/GRASS-6.4.app/Contents/MacOS/etc/python/wx/_core.py”, line 8196, in _BootstrapApp
return core.PyApp__BootstrapApp(*args, **kwargs)
File “./etc/wxpython/gis_set.py”, line 978, in OnInit
StartUp = GRASSStartup()
File “./etc/wxpython/gis_set.py”, line 95, in init
versionFile = open(os.path.join(globalvar.ETCDIR, “VERSIONNUMBER”))
IOError: [Errno 2] No such file or directory: ‘./etc/VERSIONNUMBER’
Error in GUI startup. If necessary, please
report this error to the GRASS developers.
Switching to text mode now.
Hit RETURN to continue…

So, I went and reinstall wxpython, but again with no success.

any help at this point is very much welcome

best

Carlos

Prof. Carlos Henrique Grohmann
Institute of Energy and Environment - Univ. of São Paulo, Brazil

  • Digital Terrain Analysis | GIS | Remote Sensing -

http://carlosgrohmann.com
http://orcid.org/0000-0001-5073-5572


Can’t stop the signal.


grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Thanks Tom,

but I couldn’t replicate your workaround. You mean the term window that opens when GRASS is started “normally” (from dock or Application)?

If so, mine was a bit fast and I couldn’t hit ctrl-C fast enough to stop it

in a normal term window, just pasting the line you provided also returned me the same error as before (No such file or directory)

best

Carlos

···

On Mon, Sep 1, 2014 at 1:48 PM, Thomas Adams <tea3rd@gmail.com> wrote:

Carlos,

I have seen the same thing; here is what I figured-out as a brute force work-around:

(1) in the TERM window that pops-up do Control-C

(2) copy and paste: /Applications/GRASS-6.4.app/Contents/Resources/Scripts/GRASS.scptContents/MacOS/grass.sh (or the GRASS 7 equivalent)

(3)

This works every time I get this + it seems to temporarily ‘fix’ the problem…

Cheers!

Tom

Prof. Carlos Henrique Grohmann
Institute of Energy and Environment - Univ. of São Paulo, Brazil

  • Digital Terrain Analysis | GIS | Remote Sensing -

http://carlosgrohmann.com
http://orcid.org/0000-0001-5073-5572


Can’t stop the signal.

On Mon, Sep 1, 2014 at 11:00 AM, Carlos Grohmann <carlos.grohmann@gmail.com> wrote:

Hi all

I’m running OS X Yosemite Beta, and my GRASS install just stopped working. It was running fine until last week, but now I can’t open it, with the following error msg:

Last login: Mon Sep 1 11:37:04 on ttys002
‘/Applications/GRASS-6.4.app/Contents/Resources/Scripts/GRASS.scptContents/MacOS/grass.sh’; exit
GuanoBookPro:~ guano$ ‘/Applications/GRASS-6.4.app/Contents/Resources/Scripts/GRASS.scptContents/MacOS/grass.sh’; exit
-bash: /Applications/GRASS-6.4.app/Contents/Resources/Scripts/GRASS.scptContents/MacOS/grass.sh: No such file or directory
logout

[Process completed]

The same happens with GRASS-7

I don’t recall updating anything (maybe some automatic update happened in the background), and I already tried to reinstall GRASS.

Trying to run grass.sh from /Applications/GRASS-6.4.app/Contents/MacOS/ will not work as well, first with a Gis_set Error about the splash screen (should a missing splash screen gif cause an error on startup??), and after it, with a python error:

Starting GRASS …
Traceback (most recent call last):
File “./etc/wxpython/gis_set.py”, line 1003, in
GRASSStartUp = StartUp(0)
File “/Applications/GRASS-6.4.app/Contents/MacOS/etc/python/wx/_core.py”, line 8631, in init
self._BootstrapApp()
File “/Applications/GRASS-6.4.app/Contents/MacOS/etc/python/wx/_core.py”, line 8196, in _BootstrapApp
return core.PyApp__BootstrapApp(*args, **kwargs)
File “./etc/wxpython/gis_set.py”, line 978, in OnInit
StartUp = GRASSStartup()
File “./etc/wxpython/gis_set.py”, line 95, in init
versionFile = open(os.path.join(globalvar.ETCDIR, “VERSIONNUMBER”))
IOError: [Errno 2] No such file or directory: ‘./etc/VERSIONNUMBER’
Error in GUI startup. If necessary, please
report this error to the GRASS developers.
Switching to text mode now.
Hit RETURN to continue…

So, I went and reinstall wxpython, but again with no success.

any help at this point is very much welcome

best

Carlos

Prof. Carlos Henrique Grohmann
Institute of Energy and Environment - Univ. of São Paulo, Brazil

  • Digital Terrain Analysis | GIS | Remote Sensing -

http://carlosgrohmann.com
http://orcid.org/0000-0001-5073-5572


Can’t stop the signal.


grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Carlos,

Yes, the ‘normal’ GRASS TERM window. My apologies; I did not mean to use Control-C during the GRASS launch, but -AFTER- the error appears. What I sent you was from your original post. Interestingly, when I try to launch GRASS on my Mac, I got the error I often see, but your error message is very different from mine.

You get:

/Applications/GRASS-6.4.app/Contents/Resources/Scripts/GRASS.scptContents/MacOS/grass.sh

The error I get has the path:

/Applications/GRASS-6.4.app/Contents/MacOS/grass.sh

See what happens if you use my path, above. If you have GRASS in your Applications folder, the path I have should work. I have no idea why yours is so different. No wonder GRASS is not launching. BTW, just now, when I used my path above, GRASS just launched just fine for me.

Best,

Tom

···

On Mon, Sep 1, 2014 at 12:54 PM, Carlos Grohmann <carlos.grohmann@gmail.com> wrote:

Thanks Tom,

but I couldn’t replicate your workaround. You mean the term window that opens when GRASS is started “normally” (from dock or Application)?

If so, mine was a bit fast and I couldn’t hit ctrl-C fast enough to stop it

in a normal term window, just pasting the line you provided also returned me the same error as before (No such file or directory)

best

Carlos


grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

On Mon, Sep 1, 2014 at 1:48 PM, Thomas Adams <tea3rd@gmail.com> wrote:

Carlos,

I have seen the same thing; here is what I figured-out as a brute force work-around:

(1) in the TERM window that pops-up do Control-C

(2) copy and paste: /Applications/GRASS-6.4.app/Contents/Resources/Scripts/GRASS.scptContents/MacOS/grass.sh (or the GRASS 7 equivalent)

(3)

This works every time I get this + it seems to temporarily ‘fix’ the problem…

Cheers!

Tom

Prof. Carlos Henrique Grohmann
Institute of Energy and Environment - Univ. of São Paulo, Brazil

  • Digital Terrain Analysis | GIS | Remote Sensing -

http://carlosgrohmann.com
http://orcid.org/0000-0001-5073-5572


Can’t stop the signal.

On Mon, Sep 1, 2014 at 11:00 AM, Carlos Grohmann <carlos.grohmann@gmail.com> wrote:

Hi all

I’m running OS X Yosemite Beta, and my GRASS install just stopped working. It was running fine until last week, but now I can’t open it, with the following error msg:

Last login: Mon Sep 1 11:37:04 on ttys002
‘/Applications/GRASS-6.4.app/Contents/Resources/Scripts/GRASS.scptContents/MacOS/grass.sh’; exit
GuanoBookPro:~ guano$ ‘/Applications/GRASS-6.4.app/Contents/Resources/Scripts/GRASS.scptContents/MacOS/grass.sh’; exit
-bash: /Applications/GRASS-6.4.app/Contents/Resources/Scripts/GRASS.scptContents/MacOS/grass.sh: No such file or directory
logout

[Process completed]

The same happens with GRASS-7

I don’t recall updating anything (maybe some automatic update happened in the background), and I already tried to reinstall GRASS.

Trying to run grass.sh from /Applications/GRASS-6.4.app/Contents/MacOS/ will not work as well, first with a Gis_set Error about the splash screen (should a missing splash screen gif cause an error on startup??), and after it, with a python error:

Starting GRASS …
Traceback (most recent call last):
File “./etc/wxpython/gis_set.py”, line 1003, in
GRASSStartUp = StartUp(0)
File “/Applications/GRASS-6.4.app/Contents/MacOS/etc/python/wx/_core.py”, line 8631, in init
self._BootstrapApp()
File “/Applications/GRASS-6.4.app/Contents/MacOS/etc/python/wx/_core.py”, line 8196, in _BootstrapApp
return core.PyApp__BootstrapApp(*args, **kwargs)
File “./etc/wxpython/gis_set.py”, line 978, in OnInit
StartUp = GRASSStartup()
File “./etc/wxpython/gis_set.py”, line 95, in init
versionFile = open(os.path.join(globalvar.ETCDIR, “VERSIONNUMBER”))
IOError: [Errno 2] No such file or directory: ‘./etc/VERSIONNUMBER’
Error in GUI startup. If necessary, please
report this error to the GRASS developers.
Switching to text mode now.
Hit RETURN to continue…

So, I went and reinstall wxpython, but again with no success.

any help at this point is very much welcome

best

Carlos

Prof. Carlos Henrique Grohmann
Institute of Energy and Environment - Univ. of São Paulo, Brazil

  • Digital Terrain Analysis | GIS | Remote Sensing -

http://carlosgrohmann.com
http://orcid.org/0000-0001-5073-5572


Can’t stop the signal.


grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user