UTF-8 installation problem
Andre is still getting this error with the get-obitools script and I still can't find where that environment variable is set:
Traceback (most recent call last):
File "setup.py", line 39, in <module>
from obidistutils.core import setup
File "distutils.ext/obidistutils/core.py", line 27, in <module>
from obidistutils.command.build_sphinx import build_sphinx
File "distutils.ext/obidistutils/command/build_sphinx.py", line 15, in <module>
from sphinx.setup_command import BuildDoc as ori_build_sphinx
File "/Users/andrianussembiring/Documents/OBITools-1.1.22/lib/python2.7/site-packages/sphinx/setup_command.py", line 23, in <module>
from sphinx.application import Sphinx
File "/Users/andrianussembiring/Documents/OBITools-1.1.22/lib/python2.7/site-packages/sphinx/application.py", line 26, in <module>
from docutils.parsers.rst import convert_directive_function, \
File "/Users/andrianussembiring/Documents/OBITools-1.1.22/lib/python2.7/site-packages/docutils/parsers/rst/__init__.py", line 74, in <module>
import docutils.statemachine
File "/Users/andrianussembiring/Documents/OBITools-1.1.22/lib/python2.7/site-packages/docutils/statemachine.py", line 113, in <module>
from docutils import utils
File "/Users/andrianussembiring/Documents/OBITools-1.1.22/lib/python2.7/site-packages/docutils/utils/__init__.py", line 20, in <module>
import docutils.io
File "/Users/andrianussembiring/Documents/OBITools-1.1.22/lib/python2.7/site-packages/docutils/io.py", line 18, in <module>
from docutils.utils.error_reporting import locale_encoding, ErrorString, ErrorOutput
File "/Users/andrianussembiring/Documents/OBITools-1.1.22/lib/python2.7/site-packages/docutils/utils/error_reporting.py", line 47, in <module>
locale_encoding = locale.getlocale()[1] or locale.getdefaultlocale()[1]
File "/Users/andrianussembiring/Documents/OBITools-1.1.22/lib/python2.7/locale.py", line 543, in getdefaultlocale
return _parse_localename(localename)
File "/Users/andrianussembiring/Documents/OBITools-1.1.22/lib/python2.7/locale.py", line 475, in _parse_localename
raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: UTF-8