Unicode stacktrace while create new database with FR language

Bug #325259 reported by Aurélien Dadou (Smile.fr)
2
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Fix Released
Medium
Christophe Simonis (OpenERP)

Bug Description

Tried to create a new database from the client menu : include demo data, language = French
Unicode Stacktrace happens while loading translation files (before loggin in to the new DB)
[Wed Feb 04 2009 12:20:37] INFO:i18n:module base: loading translation file for language fr_FR
Traceback (most recent call last):
  File "/usr/lib/python2.5/logging/__init__.py", line 744, in emit
    msg = self.format(record)
  File "/usr/lib/python2.5/logging/__init__.py", line 630, in format
    return fmt.format(record)
  File "/usr/lib/python2.5/logging/__init__.py", line 421, in format
    s = self._fmt % record.__dict__
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 6: ordinal not in range(128)

Stacktrace not diplayed if choosen language is English.
The DB has been created and we can install profiles, but each time it loads translations, same kind of stacktrace is displayed.

server revision: 1688
addons revision: 2197
client revision: 925

Full server log attached.

Revision history for this message
Aurélien Dadou (Smile.fr) (aurelien-dadou) wrote :
Revision history for this message
Aurélien Dadou (Smile.fr) (aurelien-dadou) wrote :

Both server and client running on ubuntu, LANG=fr_FR.UTF-8

Changed in openobject-server:
status: New → Confirmed
Changed in openobject-server:
importance: Undecided → Low
Revision history for this message
Raphaël Valyi - http://www.akretion.com (rvalyi) wrote :

I totally confirm the bug.

Guys, did you really set that one to low priority?
You must be kidding I think...

All you just have to do is test create a new database with a new profile with French + demo data as said Aurélien. Then watch the logs you'll see those errors.

Hope this helps.

Raphaël Valyi

Changed in openobject-server:
assignee: nobody → kangol
Revision history for this message
Fabien (Open ERP) (fp-tinyerp) wrote :

It seems fixed, I don't have this problem.$
Please reopen if you still have the problem.

Changed in openobject-server:
status: Confirmed → Fix Released
Revision history for this message
Christophe Simonis (OpenERP) (kangol) wrote :

not fixed.

I have a fix but I need to test it on some other plateforms before committing it.

Changed in openobject-server:
status: Fix Released → Confirmed
Changed in openobject-server:
importance: Low → Medium
Changed in openobject-server:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.