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

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

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

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

碰到重建索引问题的解决



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



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



  • 赞.... 鼓掌..<br /><br />推荐 给贴子加上相应的关键词以便检索.  <br />BTW, 嘛样的操作会出现这样的错误?



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



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



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


登录后回复
 

与 Odoo 中文社区 的连接断开,我们正在尝试重连,请耐心等待