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

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

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

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

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

OpenERP V6.1在登录后不能设置公司图形标志


  • Banned

    OpenERP V6.1在登录后不能设置公司图形标志,保存标志时出错信息如下:
    Your version of OpenERP is unsupported. Support & maintenance services are available here: OpenERP Entreprise.

    OpenERP Server Error

    Client Traceback (most recent call last):
      File "/usr/local/lib/python2.6/dist-packages/openerp-6.1dev_20120116_020001-py2.6.egg/openerp/addons/web/common/http.py", line 176, in dispatch
        response["result"] = method(controller, self, **self.params)
      File "/usr/local/lib/python2.6/dist-packages/openerp-6.1dev_20120116_020001-py2.6.egg/openerp/addons/web/controllers/main.py", line 826, in save
        r = m.write([id], data, req.session.eval_context(req.context))
      File "/usr/local/lib/python2.6/dist-packages/openerp-6.1dev_20120116_020001-py2.6.egg/openerp/addons/web/common/openerplib/main.py", line 250, in proxy
        args, kw)
      File "/usr/local/lib/python2.6/dist-packages/openerp-6.1dev_20120116_020001-py2.6.egg/openerp/addons/web/common/openerplib/main.py", line 117, in proxy
        result = self.connector.send(self.service_name, method, *args)
      File "/usr/local/lib/python2.6/dist-packages/openerp-6.1dev_20120116_020001-py2.6.egg/openerp/addons/web/common/http.py", line 579, in send
        raise fault


    Server Traceback (most recent call last):
      File "/usr/local/lib/python2.6/dist-packages/openerp-6.1dev_20120116_020001-py2.6.egg/openerp/addons/web/common/http.py", line 560, in send
        result = openerp.netsvc.dispatch_rpc(service_name, method, args)
      File "/home/zhf/OpenERP/openerp-6.1dev/openerp/netsvc.py", line 325, in dispatch_rpc
        result = ExportService.getService(service_name).dispatch(method, params)
      File "/home/zhf/OpenERP/openerp-6.1dev/openerp/service/web_services.py", line 580, in dispatch
        res = fn(db, uid, *params)
      File "/home/zhf/OpenERP/openerp-6.1dev/openerp/osv/osv.py", line 166, in execute_kw
        return self.execute(db, uid, obj, method, *args, **kw or {})
      File "/home/zhf/OpenERP/openerp-6.1dev/openerp/osv/osv.py", line 120, in wrapper
        return f(self, dbname, *args, **kwargs)
      File "/home/zhf/OpenERP/openerp-6.1dev/openerp/osv/osv.py", line 175, in execute
        res = self.execute_cr(cr, uid, obj, method, *args, **kw)
      File "/home/zhf/OpenERP/openerp-6.1dev/openerp/osv/osv.py", line 163, in execute_cr
        return getattr(object, method)(cr, uid, *args, **kw)
      File "/usr/local/lib/python2.6/dist-packages/openerp-6.1dev_20120116_020001-py2.6.egg/openerp/addons/base/res/res_company.py", line 241, in write
        return super(res_company, self).write(cr, *args, **argv)
      File "/home/zhf/OpenERP/openerp-6.1dev/openerp/osv/orm.py", line 3883, in write
        'where id IN %s', upd1 + [sub_ids])
      File "/home/zhf/OpenERP/openerp-6.1dev/openerp/sql_db.py", line 153, in wrapper
        return f(self, *args, **kwargs)
      File "/home/zhf/OpenERP/openerp-6.1dev/openerp/sql_db.py", line 215, in execute
        res = self._obj.execute(query, params)
    TypeError: can't escape non-string object

    此问题求解决。


  • Banned

    如果公司图形标志存在服务器目录中,那可能是源码的目录权限问题,我是源码运行的。
    但如果图形标志存在数据库中,那可能就是Bug了。




  • Banned

    这个Bug在正式版中已经解决了。


Log in to reply