Odoo Help

Welcome!

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.

0

When i RESTART OPENERP SERVER IN UBUNTU I GOT THIS ERROR ValueError: expected only letters, got 'utf-8'...NEED A HELP [Closed]

By
Odoo
on 7/18/14, 7:33 AM 1,033 views

The Question has been closed for reason: duplicate question

by
Odoo
on 11/24/2014 23:58:18

Traceback (most recent call last):
  File "/opt/openerp7/openerp-server", line 2, in <module>
    import openerp
  File "/opt/openerp7/openerp/__init__.py", line 39, in <module>
    import addons
  File "/opt/openerp7/openerp/addons/__init__.py", line 38, in <module>
    from openerp.modules import get_module_resource, get_module_path
  File "/opt/openerp7/openerp/modules/__init__.py", line 27, in <module>
    from . import db, graph, loading, migration, module, registry
  File "/opt/openerp7/openerp/modules/graph.py", line 32, in <module>
    import openerp.osv as osv
  File "/opt/openerp7/openerp/osv/__init__.py", line 22, in <module>
    import osv
  File "/opt/openerp7/openerp/osv/osv.py", line 30, in <module>
    import orm
  File "/opt/openerp7/openerp/osv/orm.py", line 44, in <module>
    import babel.dates
  File "/usr/lib/python2.6/site-packages/babel/dates.py", line 34, in <module>
    LC_TIME = default_locale('LC_TIME')
  File "/usr/lib/python2.6/site-packages/babel/core.py", line 642, in default_locale
    return '_'.join(filter(None, parse_locale(locale)))
  File "/usr/lib/python2.6/site-packages/babel/core.py", line 763, in parse_locale
    raise ValueError('expected only letters, got %r' % lang)
ValueError: expected only letters, got 'utf-8'

 

Why?...........

 

Update Babel to 1.3 and it fix it.

Cristian Salamea
on 11/24/14, 11:30 PM
1
ken
On 7/18/14, 8:08 AM

Have you got any module with special characters?

0
Michael St-Georges
On 7/19/14, 12:54 PM

The default locale seems to be wrong. Verify your configuration file and fix the default locale.

where is this configuration file and default locale

Odoo
on 7/23/14, 5:31 AM

The configuration file location depends on your exact setup. It usually is specified by the -c switch when starting openerpd.

Michael St-Georges
on 7/23/14, 5:05 PM

About This Community

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

Question tools

2 follower(s)

Stats

Asked: 7/18/14, 7:33 AM
Seen: 1033 times
Last updated: 3/16/15, 8:10 AM