Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odpovědi
5598 Zobrazení

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.

Avatar
Zrušit
Nejlepší odpověď

Hi,

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

Bye

Avatar
Zrušit
Nejlepší odpověď

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.

Avatar
Zrušit
Autor Nejlepší odpověď

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

Regards,

Laurent R.

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
pro 24
9625
3
zář 24
21890
5
pro 24
53204
4
čvc 24
10699
7
srp 23
11117