[GRASS-user] Problems with grass for OSX

Ralf Schäfer senator at ecotoxicology.de
Sat Dec 10 02:11:01 EST 2011


Dear Jose,

when did your problem occur? After installation/updating or haphazardly?

I had a similar problem with the Python GUI but after I updated all frameworks it worked fine. In case you use the GRASS version from Kyngchaos can you update the GDAL complete framework, free type and cairo and report whether the error still occurs?

Regards
Ralf



Am 10.12.2011 um 05:20 schrieb grass-user-request at lists.osgeo.org:

> Message: 3
> Date: Fri, 9 Dec 2011 17:04:12 -0200
> From: Jos? Carlos Guerrero Ant?nez <jcgantunez at gmail.com>
> Subject: [GRASS-user] Problems with grass for OSX
> To: grass-user at lists.osgeo.org
> Message-ID:
> 	<CAEO28jeO+PyOtLMWNn8bGnY3S6c-zAxWRwL2L97Y4iryJUMY0A at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> Hi,
> 
> I can not boot properly grass and this is the message that appears in Terminal
> window.
> 
> OSX 10.6.8
> 
> Thanks in advance,
> 
> 
> torre-b-024:~ joseca_IMac$
> '/Applications/GRASS-6.4.app/Contents/MacOS/grass.sh'; exit
> Rebuilding Addon HTML manual pages index...
> 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
>    return _parse_localename(localename)
>  File
> "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/locale.py",
> line 391, in _parse_localename
>    raise ValueError, 'unknown locale: %s' % 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
> 858, in <module>
>    GRASSStartUp = StartUp(0)
>  File
> "/Users/Shared/unix/wxpython-snow/lib/python2.6/site-packages/wx-2.8-mac-unicode/wx/_core.py",
> line 7981, in __init__
>  File
> "/Users/Shared/unix/wxpython-snow/lib/python2.6/site-packages/wx-2.8-mac-unicode/wx/_core.py",
> line 7555, in _BootstrapApp
>  File
> "/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py", line
> 843, in OnInit
>    StartUp.OnBrowse(None)
>  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
>    return _parse_localename(localename)
>  File
> "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/locale.py",
> line 391, in _parse_localename
>    raise ValueError, 'unknown locale: %s' % localename
> ValueError: unknown locale: UTF-8
> Error in GUI startup. If necessary, please
> report this error to the GRASS developers.
> Switching to text mode now.
> Hit RETURN to continue...
> 
> 
> 
> -- 
> ################################################################
> Dr. José Carlos Guerrero
> Laboratorio de Desarrollo Sustentable y Gestión Ambiental del Territorio
> (LDSGAT)
> Instituto de Ecología y Ciencias Ambientales (IECA)
> Facultad de Ciencias
> Universidad de la República
> Montevideo-URUGUAY
> ################################################################

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20111210/0aeb5f58/attachment-0001.html


More information about the grass-user mailing list