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

"ordinal not in range" error displayed after installing doc management

By
Richelle Laurent
on 5/16/13, 11:39 AM 1,723 views

Hello everyone,

trying to install document management and management system on a Centos 6.3. / OpenERP 7.0. After some tests and modification on my environment, the following message appears after restarting openerp-service :

Traceback (most recent call last): File "/usr/lib64/python2.6/logging/__init__.py", line 776, in emit msg = self.format(record) File "/usr/lib64/python2.6/logging/__init__.py", line 654, in format return fmt.format(record) File "/usr/lib/python2.6/site-packages/openerp-7.0_20130413_232416-py2.6.egg/openerp/netsvc.py", line 145, in format return logging.Formatter.format(self, record) File "/usr/lib64/python2.6/logging/__init__.py", line 439, in format s = self._fmt % record.__dict__ UnicodeDecodeError: 'ascii' codec can't decode byte 0x80 in position 38: ordinal not in range(128)

Any idea of what is causing this problem ?

Kind regards,

Laurent R.

1

Cyril Gaspard (GEM)

--Cyril Gaspard (GEM)--
4136
| 5 6 8
Paris, France
--Cyril Gaspard (GEM)--

Forum contributor since 2008

Cyril Gaspard (GEM)
On 5/19/13, 11:12 AM

Hi,

does posgresql use utf8 as default encoding, does your server locale uses utf8 encodeing ?

Bye

0

patrick

--patrick--
1958
| 5 4 7
Baarn, Netherlands
--patrick--
patrick
On 5/16/13, 12:00 PM

Message is about the conversion of Unicode to Ascii text. So you might have used ü somewhere, and the ascii code is not available. Another issue might be the usage of special characters, like &.

In order to find the cause, you have to get back to a clean install, than install your modules one by one (if possible).

If the amount of code is not TOO much, you might want to read through your various .XML files, where you define your own data.

0
Richelle Laurent
On 5/16/13, 12:07 PM

Thanks Patrick I'm a true newbie with OpenERP and Python. Any idea how to track the "Faulty" data ?

Regards,

Laurent R.

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

0 follower(s)

Stats

Asked: 5/16/13, 11:39 AM
Seen: 1723 times
Last updated: 3/16/15, 8:10 AM