Skip to Content
Menu
This question has been flagged
1 Reply
12287 Views

hi All

I have a problem while installing the ooo 8 on a cents 6.8 server

I installed everything according to a tutorial, one time from github and another from nighty in both cases when I write

/etc/init.d/odoo start


it gives me this

Starting Odoo Server Daemon (odoo-server): [ OK ]

root@vps21029 [~]# Traceback (most recent call last):

File /opt/odoo/openerp-server, line 5, in openerp.cli.main()

File /opt/odoo/openerp/cli/__init__.py, line 68, in main o.run(args)

File /opt/odoo/openerp/cli/server.py, line 180, in run main(args)

File /opt/odoo/openerp/cli/server.py, line 140, in main openerp.tools.config.parse_config(args)

File /opt/odoo/openerp/tools/config.py, line 359, in parse_config openerp.netsvc.init_logger()

File /opt/odoo/openerp/netsvc.py, line 138, in init_logger resetlocale()

File /opt/odoo/openerp/tools/translate.py, line 1110, in resetlocale for ln in get_locales():

File /opt/odoo/openerp/tools/translate.py, line 1078, in get_locales lang = locale.getdefaultlocale()[0]

File /home/odoo/odoo/lib/python2.7/locale.py, line 543, in getdefaultlocale return _parse_localename(localename)

File /home/odoo/odoo/lib/python2.7/locale.py, line 475, in _parse_localename raise

ValueError, unknown locale: %s % localename

ValueError: unknown locale: UTF-8


and stops and I cant access it from any browser

I tried adding value to the default/locale but no use

do you have any idea?

I appreciate your help

Avatar
Discard
Best Answer

Hi,

Please try exporting the below to your ~/.bash_profile. I had a similar problem and solved like this.


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


Cheers!!


Avatar
Discard
Related Posts Replies Views Activity
2
Jan 20
13436
16
Aug 19
8650
1
Jan 19
4314
5
Jun 18
9580
3
Feb 18
1829