Ah well, I guess it will remain a mystery. I'll add something to the readme...
On Mar 27, 2012, at 9:09 AM, Julian Bogdani wrote: > Yes, > I have in Terminal > Settings > Advanced: > Character encoding Unicode (UTF-8) > and "Set locale environment variables on startup" checked > > > ----- > Julian > > http://bradypus.net > > > > > > On 27 Mar 2012, at 16:05 , William Kyngesburye wrote: > >> That's not it then. 10.6.8 here also. >> >> Did you try turning on the Terminal pref to set the locale? >> >> On Mar 27, 2012, at 8:50 AM, Julian Bogdani wrote: >> >>> Mine is 10.6.8 >>> >>> >>> ----- >>> Julian >>> >>> http://bradypus.net >>> >>> >>> >>> >>> >>> On 27 Mar 2012, at 15:47 , William Kyngesburye wrote: >>> >>>> Huh. Well, I did some poking around on the 'net and it looks like it's a >>>> bug in OS X 10.6 Terminal (LC_CTYPE=UTF-8 is wrong). But it's working for >>>> me - maybe it was fixed in an update - what is your system version? >>>> >>>> >>>> On Mar 27, 2012, at 8:27 AM, Julian Bogdani wrote: >>>> >>>>> Hello and thank you for the help. >>>>> I have an English system and checking with env I had correctly >>>>> LC_CTYPE=UTF-8. >>>>> Terminal preferences was correctly set. >>>>> >>>>> Adding export LC_ALL=en_US.UTF-8 did solve the problem. >>>>> >>>>> Thank you >>>>> >>>>> >>>>> ----- >>>>> Julian >>>>> >>>>> http://bradypus.net >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> On 27 Mar 2012, at 15:16 , William Kyngesburye wrote: >>>>> >>>>>> I forgot to add a bash_profile example: >>>>>> >>>>>> export LC_ALL=en_US.UTF-8 >>>>>> >>>>>> substitute your language code for en_US. >>>>>> >>>>>> On Mar 27, 2012, at 8:11 AM, William Kyngesburye wrote: >>>>>> >>>>>>> Hmm, this is becoming quite an issue on non-English systems, I don't >>>>>>> know why it started. Python expects the locale to be in the form >>>>>>> language.encoding. ie english is "en_US.UTF-8". >>>>>>> >>>>>>> Normally the option in the Terminal to set this automatically takes >>>>>>> care of this in the LANG variable, but Python checks LC_CTYPE and >>>>>>> LC_ALL first and somehow one of those is getting set on non-english >>>>>>> systems. >>>>>>> >>>>>>> The fix is to set LC_ALL in your ~/.bash_profile like LANG is set for >>>>>>> your language (turn on the "Set locale env variables on startup" option >>>>>>> in the advanced Settings in Terminal Preferences, then check "env" in a >>>>>>> Terminal). >>>>>>> >>>>>>> Note: the Adobe Unit Types error is harmless noise, you just have a >>>>>>> very old Photoshop installed. >>>>>>> >>>>>>> On Mar 27, 2012, at 2:55 AM, jbogdani wrote: >>>>>>> >>>>>>>> Hello, >>>>>>>> I've a problem with GRASS on Snow Leopard. I've used successfully >>>>>>>> GRASS in >>>>>>>> the past, but it does not start in the GUI mode anymore. I can use it >>>>>>>> throw >>>>>>>> QGIS anyway. >>>>>>>> Here is the error it produces on stratup: >>>>>>>> >>>>>>>> 2012-03-27 09:52:23.326 osascript[534:903] Error loading >>>>>>>> /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe >>>>>>>> Unit >>>>>>>> Types: dlopen(/Library/ScriptingAdditions/Adobe Unit >>>>>>>> Types.osax/Contents/MacOS/Adobe Unit Types, 262): no suitable image >>>>>>>> found. >>>>>>>> Did find: >>>>>>>> /Library/ScriptingAdditions/Adobe Unit >>>>>>>> Types.osax/Contents/MacOS/Adobe Unit >>>>>>>> Types: no matching architecture in universal wrapper >>>>>>>> osascript: OpenScripting.framework - scripting addition >>>>>>>> "/Library/ScriptingAdditions/Adobe Unit Types.osax" declares no >>>>>>>> loadable >>>>>>>> handlers. >>>>>>>> Python 2.6.1 found. >>>>>>>> >>>>>>>> And then, after hitting RETURN: >>>>>>>> Traceback (most recent call last): >>>>>>>> File >>>>>>>> "/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py", >>>>>>>> line 894, 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 865, in OnInit >>>>>>>> StartUp = GRASSStartup() >>>>>>>> File >>>>>>>> "/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py", >>>>>>>> line 57, in __init__ >>>>>>>> self.grassrc = self._readGisRC() >>>>>>>> File >>>>>>>> "/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py", >>>>>>>> line 393, in _readGisRC >>>>>>>> grassrc[key.strip()] = utils.DecodeString(val.strip()) >>>>>>>> File >>>>>>>> "/Users/Shared/src/GRASS/grass-6.4.2-snow/dist.i386-apple-darwin11.3.0/etc/wxpython/gui_modules/utils.py", >>>>>>>> line 667, in DecodeString >>>>>>>> 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... >>>>>>>> >>>>>>>> >>>>>>>> After this I can use GRASS only from terminal.... >>>>>>>> Any help? >>>>>>>> >>>> >>>> ----- >>>> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com> >>>> http://www.kyngchaos.com/ >>>> >>>> "Those people who most want to rule people are, ipso-facto, those least >>>> suited to do it." >>>> >>>> - A rule of the universe, from the HitchHiker's Guide to the Galaxy >>>> >>>> >>> >>> _______________________________________________ >>> grass-user mailing list >>> grass-user@lists.osgeo.org >>> http://lists.osgeo.org/mailman/listinfo/grass-user >> >> ----- >> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com> >> http://www.kyngchaos.com/ >> >> "We are at war with them. Neither in hatred nor revenge and with no >> particular pleasure I shall kill every ___ I can until the war is over. That >> is my duty." >> >> "Don't you even hate 'em?" >> >> "What good would it do if I did? If all the many millions of people of the >> allied nations devoted an entire year exclusively to hating the ____ it >> wouldn't kill one ___ nor shorten the war one day." >> >> <Ha, ha> "And it might give 'em all stomach ulcers." >> >> - Tarzan, on war >> > > _______________________________________________ > grass-user mailing list > grass-user@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/grass-user ----- William Kyngesburye <kyngchaos*at*kyngchaos*dot*com> http://www.kyngchaos.com/ [Trillian] What are you supposed to do WITH a maniacally depressed robot? [Marvin] You think you have problems? What are you supposed to do if you ARE a maniacally depressed robot? No, don't try and answer, I'm 50,000 times more intelligent than you and even I don't know the answer... - HitchHiker's Guide to the Galaxy _______________________________________________ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user