← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 610883] Re: v6 employee/employees timesheet Dataerror

 

oups,
perhaps try this, forget to say you to update the module after deleted files .pyc or .pyo, backup the database and server folder first, cause to valid update of sources you must restart and update modules

did you have installed postgresql in utf8 encoding ?

try to create a new database too and test (after deleting .pyc .pyo,
restart, update modules)

try to use my modification in
server\bin\addons\base\ir\ir_translation.py"  (delete file .pyc .pyo,
restart server)

-(lang or '', tt, tools.ustr(name), source))
+(lang or '', tt, tools.ustr(name), tools.ustr(source)))

try to do a complete fresh install and new database (backup what you do
before, folders and database)

if you want to use installer for the server, save your openerp-
server.conf, install, overwrite the conf file restart server (no need to
install postgresql and dependencies)

-- 
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".