Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
13124 Vizualizări

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

Imagine profil
Abandonează
Cel mai bun răspuns

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!!


Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
2
ian. 20
15226
16
aug. 19
10183
1
ian. 19
5444
5
iun. 18
10843
3
feb. 18
2468