Project

General

Profile

Actions

Bug #1605

closed

[ux, locale, vcsserver] VCS Server fails to start due to invalid locale

Added by Oliver Strobel about 9 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
17.04.2015
Due date:
% Done:

0%

Estimated time:
Sorting:
Commit Number:
Affected Version:

Description

https://rhodecode.tenderapp.com/help/discussions/support-tickets/984-failure-installing-rc-3x

Traceback (most recent call last):
File "/opt/rhodecode/store/cbkdivr9p6wqvyaqsjjwblr0d9vn28kj-python2.7-RhodeCodeVCSServer-1.1.1/bin/..vcsserver-wrapped-wrapped", line 10, in
load_entry_point('RhodeCodeVCSServer==1.1.1', 'console_scripts', 'vcsserver')()
File "/opt/rhodecode/store/cbkdivr9p6wqvyaqsjjwblr0d9vn28kj-python2.7-RhodeCodeVCSServer-1.1.1/lib/python2.7/site-packages/vcsserver/main.py", line 336, in main
return command.run()
File "/opt/rhodecode/store/cbkdivr9p6wqvyaqsjjwblr0d9vn28kj-python2.7-RhodeCodeVCSServer-1.1.1/lib/python2.7/site-packages/vcsserver/main.py", line 330, in run
app.init()
File "/opt/rhodecode/store/cbkdivr9p6wqvyaqsjjwblr0d9vn28kj-python2.7-RhodeCodeVCSServer-1.1.1/lib/python2.7/site-packages/vcsserver/main.py", line 117, in init
self._configure_locale()
File "/opt/rhodecode/store/cbkdivr9p6wqvyaqsjjwblr0d9vn28kj-python2.7-RhodeCodeVCSServer-1.1.1/lib/python2.7/site-packages/vcsserver/main.py", line 142, in _configure_locale
locale.setlocale(locale.LC_ALL, self.locale)
File "/opt/rhodecode/store/ml27k6lrz2133cjx1xszlyxp2gg62lld-python-2.7.8/lib/python2.7/locale.py", line 579, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting

Root case is going to be an a partial and/or invalid value in the environment for the locale. Having it set like this works; LC_ALL=en_US.UTF-8

We should catch this nicely and suggest the solution of fixing the locale.

PS, Enterprise is also affected by this: https://bugs.rhodecode.com/issues/724

Actions #1

Updated by Oliver Strobel about 9 years ago

  • Project changed from RhodeCode Control to RhodeCode CE/EE
Actions #3

Updated by Johannes Bornhold about 9 years ago

  • Target version set to 28
Actions #4

Updated by Johannes Bornhold about 9 years ago

  • Subject changed from [customer] VCS Server fails to start due to invalid locale to [ux, locale, vcsserver] VCS Server fails to start due to invalid locale
Actions #6

Updated by Redmine Admin about 9 years ago

Actions #9

Updated by Redmine Admin about 9 years ago

Actions #11

Updated by Redmine Admin about 9 years ago

Actions #14

Updated by Johannes Bornhold about 9 years ago

  • Target version changed from 28 to Backlog

Cleaning up "Refinement" and throwing everything out into the backlog.

Actions #15

Updated by Johannes Bornhold almost 9 years ago

  • Status changed from New to Closed
  • Target version deleted (Backlog)
Actions #16

Updated by Marcin Kuzminski [CTO] over 7 years ago

  • Private changed from Yes to No
Actions

Also available in: Atom PDF