Dear GRASS users, I still can’t run GRASS in my Mac OSX 10.6.7. I noticed two things: ln: /Users/sgsalmo2011/Library/Documentation/Help/GRASS-6.4: No such file or directory ValueError: unknown locale: UTF-8 I think there are errors in GUI. Any assistance will be greatly appreciated. Thank you very much. Sev Please find below the complete error message: Last login: Wed May 11 15:54:24 on ttys000 ‘/Applications/GRASS-6.4.app/Contents/MacOS/grass.sh’; exit Severino-III-Salmos-MacBook-Pro:~ sgsalmo2011$ ‘/Applications/GRASS-6.4.app/Contents/MacOS/grass.sh’; exit Rebuilding Addon HTML manual pages index… ln: /Users/sgsalmo2011/Library/Documentation/Help/GRASS-6.4: No such file or directory Rebuilding Addon menu… Python 2.6.1 found. WELCOME TO GRASS Version 6.4.1 2011 1) Have at your side all available GRASS tutorials 2) When working on your location, the following materials are extremely useful: - A topo map of your area - Current catalog of available computer maps 3) Check the GRASS webpages for feedback mailinglists and more: http://www.grass-gis.org http://grass.osgeo.org Hit RETURN to continue Starting GRASS … Traceback (most recent call last): File “/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py”, line 641, in OnSelectLocation self.listOfLocations[self.lblocations.GetSelection()])) File “/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py”, line 590, in UpdateMapsets self.listOfMapsets = utils.GetListOfMapsets(self.gisdbase, location) File “/Users/Shared/src/GRASS/grass-6.4.1-snow/dist.i386-apple-darwin10.7.0/etc/wxpython/gui_modules/utils.py”, line 629, in GetListOfMapsets File “/Users/Shared/src/GRASS/grass-6.4.1-snow/dist.i386-apple-darwin10.7.0/etc/wxpython/gui_modules/utils.py”, line 651, in EncodeString File “/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/locale.py”, line 459, in getdefaultlocale File “/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/locale.py”, line 391, in _parse_localename ValueError: unknown locale: UTF-8 Traceback (most recent call last): File “/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py”, line 703, in OnBrowse self.OnSetDatabase(event) File “/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py”, line 692, in OnSetDatabase self.OnSelectLocation(None) File “/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py”, line 641, in OnSelectLocation self.listOfLocations[self.lblocations.GetSelection()])) File “/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py”, line 590, in UpdateMapsets self.listOfMapsets = utils.GetListOfMapsets(self.gisdbase, location) File “/Users/Shared/src/GRASS/grass-6.4.1-snow/dist.i386-apple-darwin10.7.0/etc/wxpython/gui_modules/utils.py”, line 629, in GetListOfMapsets File “/Users/Shared/src/GRASS/grass-6.4.1-snow/dist.i386-apple-darwin10.7.0/etc/wxpython/gui_modules/utils.py”, line 651, in EncodeString File “/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/locale.py”, line 459, in getdefaultlocale File “/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/locale.py”, line 391, in _parse_localename ValueError: unknown locale: UTF-8 |
---|
Sev,
Did you download the Mac distribution from here: http://www.kyngchaos.com/software/grass ? Be sure to install all the Frameworks packages first.
Regards,
Tom
···
--
Thomas E Adams
National Weather Service
Ohio River Forecast Center
1901 South State Route 134
Wilmington, OH 45177
EMAIL: [thomas.adams@noaa.gov](mailto:thomas.adams@noaa.gov)
VOICE: 937-383-0528
FAX: 937-383-0033
On May 11, 2011, at 4:04 AM, Severino Salmo wrote:
Dear GRASS users,
I still can’t run GRASS in my Mac OSX 10.6.7. I noticed two things:
ln: /Users/sgsalmo2011/Library/Documentation/Help/GRASS-6.4: No such file or directory
ValueError: unknown locale: UTF-8
I think there are errors in GUI. Any assistance will be greatly appreciated. Thank you very much.
Sev
Please find below the complete error message:
Last login: Wed May 11 15:54:24 on ttys000
‘/Applications/GRASS-6.4.app/Contents/MacOS/grass.sh’; exit
Severino-III-Salmos-MacBook-Pro:~ sgsalmo2011$ ‘/Applications/GRASS-6.4.app/Contents/MacOS/grass.sh’; exit
Rebuilding Addon HTML manual pages index…
ln: /Users/sgsalmo2011/Library/Documentation/Help/GRASS-6.4: No such file or directory
Rebuilding Addon menu…
Python 2.6.1 found.
WELCOME TO GRASS Version 6.4.1 2011
1) Have at your side all available GRASS tutorials
2) When working on your location, the following materials
are extremely useful:
- A topo map of your area
- Current catalog of available computer maps
3) Check the GRASS webpages for feedback mailinglists and more:
http://www.grass-gis.org
http://grass.osgeo.org
Hit RETURN to continue
Starting GRASS …
Traceback (most recent call last):
File “/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py”, line 641, in OnSelectLocation
self.listOfLocations[self.lblocations.GetSelection()]))
File “/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py”, line 590, in UpdateMapsets
self.listOfMapsets = utils.GetListOfMapsets(self.gisdbase, location)
File “/Users/Shared/src/GRASS/grass-6.4.1-snow/dist.i386-apple-darwin10.7.0/etc/wxpython/gui_modules/utils.py”, line 629, in GetListOfMapsets
File “/Users/Shared/src/GRASS/grass-6.4.1-snow/dist.i386-apple-darwin10.7.0/etc/wxpython/gui_modules/utils.py”, line 651, in EncodeString
File “/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/locale.py”, line 459, in getdefaultlocale
File “/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/locale.py”, line 391, in _parse_localename
ValueError: unknown locale: UTF-8
Traceback (most recent call last):
File “/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py”, line 703, in OnBrowse
self.OnSetDatabase(event)
File “/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py”, line 692, in OnSetDatabase
self.OnSelectLocation(None)
File “/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py”, line 641, in OnSelectLocation
self.listOfLocations[self.lblocations.GetSelection()]))
File “/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py”, line 590, in UpdateMapsets
self.listOfMapsets = utils.GetListOfMapsets(self.gisdbase, location)
File “/Users/Shared/src/GRASS/grass-6.4.1-snow/dist.i386-apple-darwin10.7.0/etc/wxpython/gui_modules/utils.py”, line 629, in GetListOfMapsets
File “/Users/Shared/src/GRASS/grass-6.4.1-snow/dist.i386-apple-darwin10.7.0/etc/wxpython/gui_modules/utils.py”, line 651, in EncodeString
File “/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/locale.py”, line 459, in getdefaultlocale
File “/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/locale.py”, line 391, in _parse_localename
ValueError: unknown locale: UTF-8
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
I’m no expert on this kind of thing but it seems there’s a problem?
What do you get from :
echo $LC_ALL
I get
en_US.UTF-8
If that’s not what you see, maybe try setting the locale by:
LC_ALL=en_US.UTF-8
and then start GRASS again.
Also,
echo $LANG
on my set-up gives
en_US.UTF-8
Not sure if the GUI is language sensitive, but it’s something else to try
LAN=en_US.UTF-8
hth
Stu