求助'utf8' codec can't decode bytes in position 14-16: invalid data
-
我安装的openerp版本是5.0.6,操作系统是centos 5.4,在REPORTS里点生成报表,就出现错误'utf8' codec can't decode bytes in position 14-16: invalid data,
日志内容:
[16/Feb/2011:11:13:32] HTTP Traceback (most recent call last):
File "/usr/local/lib/python2.5/site-packages/CherryPy-3.1.2-py2.5.egg/cherrypy/_cprequest.py", line 606, in respond
cherrypy.response.body = self.handler()
File "/usr/local/lib/python2.5/site-packages/CherryPy-3.1.2-py2.5.egg/cherrypy/cpdispatch.py", line 25, in call
return self.callable(*self.args, **self.kwargs)
File "/usr/local/lib/python2.5/site-packages/openerp_web-5.0.6-py2.5.egg/openerp/controllers/base.py", line 122, in wrapper
return fn(*args, **kw)
File "/usr/local/lib/python2.5/site-packages/openerp_web-5.0.6-py2.5.egg/openerp/tools/expose.py", line 204, in func_wrapper
res = func(*args, **kw)
File "/usr/local/lib/python2.5/site-packages/openerp_web-5.0.6-py2.5.egg/openerp/controllers/form.py", line 872, in action
action = rpc.session.execute('object', 'execute', action_type, 'read', act_id, False, rpc.session.context)
File "/usr/local/lib/python2.5/site-packages/openerp_web-5.0.6-py2.5.egg/openerp/rpc.py", line 350, in execute
return self.gateway.execute(obj, method, *args)
File "/usr/local/lib/python2.5/site-packages/openerp_web-5.0.6-py2.5.egg/openerp/rpc.py", line 154, in execute
return self.__execute(obj, method, args)
File "/usr/local/lib/python2.5/site-packages/openerp_web-5.0.6-py2.5.egg/openerp/rpc.py", line 143, in __execute
raise common.error(('Application Error!'), str(e))
File "/usr/local/lib/python2.5/site-packages/openerp_web-5.0.6-py2.5.egg/openerp/common.py", line 72, in error
raise TinyError(message=msg, title=title or _("Error"))
TinyError: 'utf8' codec can't decode bytes in position 14-16: invalid data