← Back to team overview

openstack team mailing list archive

locale problem with devstack

 

Hi,

I am newcomer to Openstack, trying to run DevStack on Ubuntu 12.04. After
fresh download, here is error that stack.sh gives me:

...
+ sudo PIP_DOWNLOAD_CACHE=/var/cache/pip HTTP_PROXY= HTTPS_PROXY= NO_PROXY=
/usr/bin/pip install --use-mirrors -r
python_keystoneclient.egg-info/requires.txt
Requirement already satisfied (use --upgrade to upgrade): iso8601>=0.1.4 in
/usr/lib/python2.7/dist-packages (from -r
python_keystoneclient.egg-info/requires.txt (line 1))
Requirement already satisfied (use --upgrade to upgrade): prettytable in
/usr/local/lib/python2.7/dist-packages (from -r
python_keystoneclient.egg-info/requires.txt (line 2))
Requirement already satisfied (use --upgrade to upgrade):
requests>=0.8.8,<1.0 in /usr/local/lib/python2.7/dist-packages (from -r
python_keystoneclient.egg-info/requires.txt (line 3))
Requirement already satisfied (use --upgrade to upgrade): simplejson in
/usr/lib/python2.7/dist-packages (from -r
python_keystoneclient.egg-info/requires.txt (line 4))
Cleaning up...
+ sudo HTTP_PROXY= HTTPS_PROXY= NO_PROXY= python setup.py develop
Traceback (most recent call last):
  File "setup.py", line 37, in <module>
    cmdclass=setup.get_cmdclass(),
  File
"/opt/stack/python-keystoneclient/keystoneclient/openstack/common/setup.py",
line 276, in get_cmdclass
    from sphinx.setup_command import BuildDoc
  File "/usr/lib/python2.7/dist-packages/sphinx/setup_command.py", line 20,
in <module>
    from sphinx.application import Sphinx
  File "/usr/lib/python2.7/dist-packages/sphinx/application.py", line 21,
in <module>
    from docutils.parsers.rst import convert_directive_function, \
  File "/usr/lib/python2.7/dist-packages/docutils/parsers/rst/__init__.py",
line 74, in <module>
    import docutils.statemachine
  File "/usr/lib/python2.7/dist-packages/docutils/statemachine.py", line
113, in <module>
    from docutils.error_reporting import ErrorOutput
  File "/usr/lib/python2.7/dist-packages/docutils/error_reporting.py", line
47, in <module>
    locale_encoding = locale.getlocale()[1] or locale.getdefaultlocale()[1]
  File "/usr/lib/python2.7/locale.py", line 503, in getdefaultlocale
    return _parse_localename(localename)
  File "/usr/lib/python2.7/locale.py", line 435, in _parse_localename
    raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: UTF-8
++ failed
++ local r=1
+++ jobs -p
++ kill
++ set +o xtrace

Any idea what it might be and how to run it ? Thanks in advance...

Follow ups