Odoo中文社区可以通过以下两个域名访问:shine-it.net , odoo.net.cn

由于系统升迁的原因,本论坛部分较早期的内容存在格式和链接损坏失效的问题,并非本论坛系统本身的缺陷,望谅解

本社区没有维护任何QQ群讨论组,任何与本社区同名的QQ群讨论组的言论与本社区无关!

开发人员可以登录gitter讨论组: http://gitter.im/odoo-china/Talk, 需要github账号

如果您登录系统碰到问题,请在微信公众号留言:

求助'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


Log in to reply