Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Locale issue (ValueError: unknown locale: UTF-8) with odoo 8

Ahmed Attar
on 8/10/16, 11:51 AM 154 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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 8/10/16, 11:51 AM
Seen: 154 times
Last updated: 8/10/16, 1:33 PM