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

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

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

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

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

更新应用列表,报错Odoo Server Error



  • 截图
    a003c7c3-3f41-4553-ba56-0dac986c9d7b-图片.png

    详细报错

    Traceback (most recent call last):
    File "/home/cde-fs-server/odoo-dev/odoo-server/odoo/http.py", line 638, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
    File "/home/cde-fs-server/odoo-dev/odoo-server/odoo/http.py", line 675, in dispatch
    result = self._call_function(**self.params)
    File "/home/cde-fs-server/odoo-dev/odoo-server/odoo/http.py", line 331, in _call_function
    return checked_call(self.db, *args, **kwargs)
    File "/home/cde-fs-server/odoo-dev/odoo-server/odoo/service/model.py", line 119, in wrapper
    return f(dbname, *args, **kwargs)
    File "/home/cde-fs-server/odoo-dev/odoo-server/odoo/http.py", line 324, in checked_call
    result = self.endpoint(*a, **kw)
    File "/home/cde-fs-server/odoo-dev/odoo-server/odoo/http.py", line 933, in call
    return self.method(*args, **kw)
    File "/home/cde-fs-server/odoo-dev/odoo-server/odoo/http.py", line 504, in response_wrap
    response = f(*args, **kw)
    File "/home/cde-fs-server/odoo-dev/odoo-server/addons/web/controllers/main.py", line 866, in call_button
    action = self._call_kw(model, method, args, {})
    File "/home/cde-fs-server/odoo-dev/odoo-server/addons/web/controllers/main.py", line 854, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
    File "/home/cde-fs-server/odoo-dev/odoo-server/odoo/api.py", line 681, in call_kw
    return call_kw_multi(method, model, args, kwargs)
    File "/home/cde-fs-server/odoo-dev/odoo-server/odoo/api.py", line 672, in call_kw_multi
    result = method(recs, *args, **kwargs)
    File "/home/cde-fs-server/odoo-dev/odoo-server/odoo/addons/base/module/wizard/base_module_update.py", line 17, in update_module
    updated, added = self.env['ir.module.module'].update_list()
    File "/home/cde-fs-server/odoo-dev/odoo-server/addons/website_theme_install/models/ir_module_module.py", line 19, in update_list
    res = super(IrModuleModule, self).update_list()
    File "/home/cde-fs-server/odoo-dev/odoo-server/odoo/addons/base/module/module.py", line 622, in update_list
    mod.write(updated_values)
    File "/home/cde-fs-server/odoo-dev/odoo-server/odoo/models.py", line 3543, in write
    self._write(old_vals)
    File "/home/cde-fs-server/odoo-dev/odoo-server/odoo/models.py", line 3644, in _write
    tname, 'model', self.env.lang, self.ids, val, src_trans)
    File "/home/cde-fs-server/odoo-dev/odoo-server/odoo/addons/base/ir/ir_translation.py", line 330, in _set_ids
    (value, src, 'translated', lang, tt, name, tuple(ids)))
    File "/home/cde-fs-server/odoo-dev/odoo-server/odoo/sql_db.py", line 141, in wrapper
    return f(self, *args, **kwargs)
    File "/home/cde-fs-server/odoo-dev/odoo-server/odoo/sql_db.py", line 218, in execute
    res = self._obj.execute(query, params)
    DataError: invalid byte sequence for encoding "UTF8": 0xb0

    求大神指点,谢谢谢谢~


  • 管理员

    检查下addons路径下是不是有中文



  • @Joshua 之前按照教程创建了一个空模块(todo),卸载删除后就可以了



  • @Joshua 现在有些其他问题,能请教你吗


  • 管理员

    @mingxing 如果是其他问题建议新开一个帖子



  • @Joshua 开了


Log in to reply