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

原论坛用户的基本信息和发帖这里都予以保留,请注意:原论坛用户无需重新注册新用户,但是您的密码需要重置

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

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

碰到重建索引问题的解决



  • 提示:
    2013-05-02 13:12:57,247 4912 ERROR test openerp.osv.osv: Uncau
    ght exception
    Traceback (most recent call last):
      File "C:\GreenOpenERP\openerp\osv\osv.py", line 131, in wrapper
        return f(self, dbname, *args, **kwargs)
      File "C:\GreenOpenERP\openerp\osv\osv.py", line 197, in execute
        res = self.execute_cr(cr, uid, obj, method, *args, **kw)
      File "C:\GreenOpenERP\openerp\osv\osv.py", line 185, in execute_cr
        return getattr(object, method)(cr, uid, *args, **kw)
      File "C:\GreenOpenERP\openerp\addons\hr\hr_department.py", line 94, in read
        res = super(ir_action_window, self).read(cr, uid, select, fields=fields, con
    text=context, load=load)
      File "C:\GreenOpenERP\openerp\osv\orm.py", line 3604, in read
        result = self._read_flat(cr, user, select, fields, context, load)
      File "C:\GreenOpenERP\openerp\osv\orm.py", line 3724, in _read_flat
        res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=
    res)
      File "C:\GreenOpenERP\openerp\osv\fields.py", line 1131, in get
        result = self._fnct(obj, cr, uid, ids, name, self._arg, context)
      File "C:\GreenOpenERP\openerp\addons\base\ir\ir_actions.py", line 211, in _sea
    rch_view
        'search', context=context)
      File "C:\GreenOpenERP\openerp\osv\orm.py", line 2260, in fields_view_get
        xarch, xfields = self.__view_look_dom_arch(cr, user, result['arch'], view_id
    , context=ctx)
      File "C:\GreenOpenERP\openerp\osv\orm.py", line 1913, in __view_look_dom_arch
        fields_def = self.__view_look_dom(cr, user, node, view_id, False, fields, co
    ntext=context)
      File "C:\GreenOpenERP\openerp\osv\orm.py", line 1846, in __view_look_dom
        trans = self.pool.get('ir.translation').get_source(cr, user, context['base
    model_name'], 'view', context['lang'], node.get('string'))
      File "C:\GreenOpenERP\openerp\tools\cache.py", line 18, in lookup
        r = self.lookup(self2, cr, *args)
      File "C:\GreenOpenERP\openerp\tools\cache.py", line 46, in lookup
        value = d[key] = self.method(self2, cr, *args)
      File "C:\GreenOpenERP\openerp\addons\base\ir\ir_translation.py", line 288, in
    _get_source
        cr.execute(query, params)
      File "C:\GreenOpenERP\openerp\sql_db.py", line 161, in wrapper
        return f(self, *args, **kwargs)
      File "C:\GreenOpenERP\openerp\sql_db.py", line 226, in execute
        res = self._obj.execute(query, params)
    InternalError: index "ir_translation_src_hash_idx" contains unexpected zero page
    at block 71
    HINT:  Please REINDEX it.

    以下的解决方法是jeff 给的

    附件图



  • 赞.... 鼓掌..

    推荐 给贴子加上相应的关键词以便检索. 
    BTW, 嘛样的操作会出现这样的错误?



  • 可能是数据没执行完就退出产生的



  • 标记下,解决了我的问题。。。。。



  • 我也碰到这个问题,终于也是解决了。多谢!