Bug #1605
closed[ux, locale, vcsserver] VCS Server fails to start due to invalid locale
0%
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
Updated by Oliver Strobel almost 10 years ago
- Project changed from RhodeCode Control to RhodeCode CE/EE
Updated by Johannes Bornhold almost 10 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
Updated by Redmine Admin almost 10 years ago
Pull Request https://code.rhodecode.com/rhodecode-momentum/pull-request/885 Opened
Updated by Redmine Admin almost 10 years ago
Pull Request https://code.rhodecode.com/rhodecode-momentum/pull-request/885 Status Change to rejected
Updated by Redmine Admin almost 10 years ago
Pull Request https://code.rhodecode.com/rhodecode-momentum/pull-request/885 Closed
Updated by Redmine Admin over 9 years ago
Pull Request https://code.rhodecode.com/rhodecode-momentum/pull-request/933 Opened
Updated by Redmine Admin over 9 years ago
Pull Request https://code.rhodecode.com/rhodecode-momentum/pull-request/933 Status Change to approved
Updated by Redmine Admin over 9 years ago
Pull Request https://code.rhodecode.com/rhodecode-momentum/pull-request/933 Updated
Updated by Redmine Admin over 9 years ago
Pull Request https://code.rhodecode.com/rhodecode-momentum/pull-request/933 Status Change to approved
Updated by Redmine Admin over 9 years ago
Pull Request https://code.rhodecode.com/rhodecode-momentum/pull-request/933 Merged
Updated by Redmine Admin over 9 years ago
Pull Request https://code.rhodecode.com/rhodecode-momentum/pull-request/933 Closed
Updated by Johannes Bornhold over 9 years ago
- Target version changed from 28 to Backlog
Cleaning up "Refinement" and throwing everything out into the backlog.
Updated by Johannes Bornhold over 9 years ago
- Status changed from New to Closed
- Target version deleted (
Backlog)
Solved by now, also see https://rhodecode.tenderapp.com/help/discussions/dedicated-support/334-ongoing-locale-issues-in-vcsserver
First release with the fix will be 3.4.0
Updated by Marcin Kuzminski [CTO] over 8 years ago
- Private changed from Yes to No