c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #08160
[Bug 610883] Re: v6 employee/employees timesheet Dataerror
Hi
I deleted all the pyo and pyc on the server.
I Downloaded the last sources
I modified in server\bin\addons\base\ir\ir_translation.py
Create a new db in UTF8...and it works.
But if in the project's name, there is a é, è, à,....
I have an ascii error :
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1831 : ordinal not in range(128)
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/610883
Title:
v6 employee/employees timesheet Dataerror
Status in OpenObject Server:
Fix Released
Bug description:
menus :
human resources>reporting>timesheet>employee timesheet
human resources>reporting>timesheet>employees timesheet
same error for this 2 submenus :
Environment Information :
System : Windows-32bit-SP2
OS Name : nt
Operating System Release :
Operating System Version : 32bit
Operating System Architecture : 32bit
Operating System Locale : fr_FR.cp1252
Python Version : 2.5.4
OpenERP-Client Version : 6.0dev
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
File "netsvc.pyo", line 401, in dispatch
File "service\web_services.pyo", line 584, in dispatch
File "osv\osv.pyo", line 57, in wrapper
File "osv\osv.pyo", line 133, in execute
File "osv\osv.pyo", line 123, in execute_cr
File "d:\OpenERP AllInOne\Server\addons\base_calendar\base_calendar.py", line 1755, in get
File "d:\OpenERP AllInOne\Server\addons\base\ir\ir_values.py", line 221, in get
File "d:\OpenERP AllInOne\Server\addons\base\ir\ir_values.py", line 221, in <lambda>
File "d:\OpenERP AllInOne\Server\addons\base\ir\ir_values.py", line 207, in _result_get
File "d:\OpenERP AllInOne\Server\addons\hr\hr_department.py", line 102, in read
File "osv\orm.pyo", line 2805, in read
File "osv\orm.pyo", line 2941, in _read_flat
File "osv\fields.pyo", line 695, in get
File "d:\OpenERP AllInOne\Server\addons\base\ir\ir_actions.py", line 172, in _search_view
File "osv\orm.pyo", line 1136, in fields_get
File "tools\misc.pyo", line 802, in cached_result
File "d:\OpenERP AllInOne\Server\addons\base\ir\ir_translation.py", line 136, in _get_source
File "sql_db.pyo", line 74, in wrapper
File "sql_db.pyo", line 119, in execute
DataError: invalid byte sequence for encoding "UTF8": 0xe97672
HINT: This error can also happen if the byte sequence does not match the encoding expected by the server, which is controlled by "client_encoding".