[GRASS-web] "ERROR: unknown locale: UTF-8"

Michael Barton Michael.Barton at asu.edu
Sat Jan 20 11:34:03 PST 2018


Some of this could be updated if the new bundled apps works out. Here are some comments.

1. Should not happen with new apps with bundle dependencies. But we are still testing.
2. This is taken care of in the new apps. GRASS is 100% 64bit, and using 64bit wxPython 3. GRASS_PYTHON and GRASS_WXPYTHON are set in the startup. I can speak to macports though. Might be an issue for people who compile GRASS.
3. Maybe still valid. I updated the new apps yesterday to include the compilers. But it may still need some command line tools. Someone without the command line tools should test.
4. This should not be a problem with the new apps. Automatically launches the terminal for me.
5. Internationalization is not handled the same way on a Mac as it is on Linux, although these system variables are recognized. I compiled the new apps with gettext. So it would be good to hear from colleagues who have their computers set to another language on this. I've never set these variables and have never run into this error.
6. This is probably still valid, though the start up scripts of the new apps should prevent this from happening.
7. This is only relevant for people who compile GRASS

Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University

voice:  480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671 (SHESC),  480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu















On Jan 20, 2018, at 7:18 AM, Markus Neteler <neteler at osgeo.org<mailto:neteler at osgeo.org>> wrote:

Michael,

do you have a comment on this?
Anything to fix in the related Wiki page:
https://urldefense.proofpoint.com/v2/url?u=https-3A__grasswiki.osgeo.org_wiki_MacOSX-5FGRASS-5Ferrors&d=DwIFaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=VxK1XqijVpKIwJN0Ko4Dh70k0KeWuVbEi3ZQbvzb5YE&s=MupNjtRMrmUXbh68DBQsQ7qebTMBD-J32eJ_A_mEI08&e=

thanks
Markus

On Fri, Jan 19, 2018 at 7:05 PM, Matthias Görlach
<matthias.goerlach at t-online.de> wrote:
Wiki suggestion:

You need to add these two lines

export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8

to the file ".bash_profile" in your HOME directory.....


didnt work for me (still same ERROR....).

Put the export...directly into the Grass.sh at the following point:

....
# rebuild addon html index and gui menus
"$app_dir/Contents/MacOS/build_html_user_index.sh" "$GISBASE"
"$app_dir/Contents/MacOS/build_gui_user_menu.sh"

#utf-8 ERROR fix, editig this into .bash_profile didnt help
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8

# user fontcap files
....

That did the trick

Best

M

--
Matthias Görlach
Ebertstr. 4
07743 Jena

*49-0171 1988809


_______________________________________________
grass-web mailing list
grass-web at lists.osgeo.org
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.osgeo.org_mailman_listinfo_grass-2Dweb&d=DwIFaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=VxK1XqijVpKIwJN0Ko4Dh70k0KeWuVbEi3ZQbvzb5YE&s=62A_qo6PF9YIj7AZsPx37URFpLtL3wnYWdyFraDicHU&e=



--
Markus Neteler, PhD
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.mundialis.de&d=DwIFaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=VxK1XqijVpKIwJN0Ko4Dh70k0KeWuVbEi3ZQbvzb5YE&s=ibpLeeatB0NLjH_NSZc_RDd6NHtJZyzyzm_ewS0IgvM&e= - free data with free software
https://urldefense.proofpoint.com/v2/url?u=http-3A__grass.osgeo.org&d=DwIFaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=VxK1XqijVpKIwJN0Ko4Dh70k0KeWuVbEi3ZQbvzb5YE&s=1kX01Mds5U-8IUjFqS4hcG0WScriOzyb0qfpGfmr59A&e=
https://urldefense.proofpoint.com/v2/url?u=http-3A__courses.neteler.org_blog&d=DwIFaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=VxK1XqijVpKIwJN0Ko4Dh70k0KeWuVbEi3ZQbvzb5YE&s=0bHw6-YViqsWdHh_WgLq9pgFPGxa4cvu1OigsRHEZBI&e=

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-web/attachments/20180120/66a5cc62/attachment-0001.html>


More information about the grass-web mailing list