osv.except_osv: utf-8 can not be displayed

Bug #801009 reported by Wolfgang Taferner (TaPo-IT)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo GTK Client (MOVED TO GITHUB)
New
Undecided
Unassigned

Bug Description

The GTK-Client can not display exceptions with utf-8 characters (trunk)

Server side:

[2011-06-23 07:53:59,830][?] DEBUG_RPC:exception:u'warning -- Abh\xe4ngigkeit!\n\nSie k\xf6nnen diesen Zeitstempel nicht delete (id: 248), da dieser mit einer/mehreren Arbeit/Arbeiten (65) verkn\xfcpft ist!\n\nPlease delete the task work first!'
[2011-06-23 07:54:00,024][?] DEBUG_RPC:xmlrpc:"POST /object HTTP/1.1" 200 -

Client side:

ERROR:common.message:Message 1:
Environment Information :
System : Windows-Vista-6.0.6002-SP2
OS Name : nt
Operating System Release : Vista
Operating System Version : 6.0.6002
Operating System Architecture : 32bit
Operating System Locale : de_AT.cp1252
Python Version : 2.7.0
OpenERP-Client Version : 6.1-dev
Last revision No. & ID :1912 launchpad_translations_on_behalf_of_openerp-20110617043407-7scdmehr4mattpai
<type 'exceptions.UnicodeEncodeError'>:'ascii' codec can't encode character u'\xe4' in position 14: ordinal not in range(128)

Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

Hello Wolfgang Taferner,

The problem is already reported thrice:
    * Bug #797690
    * Bug #798750
    * Bug #799645

The problem is supposed to arise from a commit on server at <email address hidden>
which introduced the use of "cgitb" module for formatting the traceback but this modules "text" method is unable to handle the Unicode encoding.

@ community Team: can you please mark it as duplicate of 797690 and change the project to framework.

Thanks,

Revision history for this message
Wolfgang Taferner (TaPo-IT) (w.taferner) wrote :

Hi Naresh,
Sorry for not using Google Index and Site Search for searching all bug descriptions :-)

Thanks for the links ;-)

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.