← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 600318] Re: btree error when try to resynchronize translations

 

Hello Julian,

Can you tell me if this occurs with the existence of wiki module?

We have got this issue fixed on stable(so in trunk too) already.

Can we discuss more about this issue?

Probable reasons :  
Wiki summary of type fields.text has select=1, so btree index linked to it.
Wiki History has the same issue.

Thanks.


** Changed in: openobject-addons
       Status: New => Fix Released

** Changed in: openobject-addons
     Assignee: SKH(OpenERP) (skh-openerp) => (unassigned)

-- 
btree error when try to resynchronize translations
https://bugs.launchpad.net/bugs/600318
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: Fix Released

Bug description:
I receive this error when i try to resynchronize translations in Spanish / Español:

Environment Information : 
System : Linux-2.6.24-27-generic-i686-with-debian-lenny-sid
OS Name : posix
Distributor ID:	Ubuntu
Description:	Ubuntu 8.04.4 LTS
Release:	8.04
Codename:	hardy
Operating System Release : 2.6.24-27-generic
Operating System Version : #1 SMP Wed Mar 24 10:04:52 UTC 2010
Operating System Architecture : 32bit
Operating System Locale : es_CO.UTF8
Python Version : 2.5.2
OpenERP-Client Version : 5.0.11
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/openerp-server/netsvc.py", line 247, in dispatch
    result = LocalService(service_name)(method, *params)
  File "/usr/lib/python2.5/site-packages/openerp-server/netsvc.py", line 76, in __call__
    return getattr(self, method)(*params)
  File "/usr/lib/python2.5/site-packages/openerp-server/service/web_services.py", line 577, in execute
    res = service.execute(db, uid, object, method, *args)
  File "/usr/lib/python2.5/site-packages/openerp-server/osv/osv.py", line 58, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/openerp-server/osv/osv.py", line 119, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/lib/python2.5/site-packages/openerp-server/osv/osv.py", line 111, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/lib/python2.5/site-packages/openerp-server/addons/base/module/wizard/wizard_update_translations.py", line 50, in act_update
    tools.trans_load_data(cr.dbname, buf, 'csv', this.lang, lang_name=lang_name)
  File "/usr/lib/python2.5/site-packages/openerp-server/tools/translate.py", line 747, in trans_load_data
    trans_obj.create(cr, uid, dic)
  File "/usr/lib/python2.5/site-packages/openerp-server/addons/base/ir/ir_translation.py", line 151, in create
    ids = super(ir_translation, self).create(cursor, user, vals, context=context)
  File "/usr/lib/python2.5/site-packages/openerp-server/osv/orm.py", line 2853, in create
    cr.execute('insert into "'+self._table+'" (id'+upd0+") values ("+str(id_new)+upd1+')', tuple(upd2))
  File "/usr/lib/python2.5/site-packages/openerp-server/sql_db.py", line 77, in wrapper
    return f(self, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/openerp-server/sql_db.py", line 122, in execute
    res = self._obj.execute(query, params)
ProgrammingError: el tamaño de fila de índice 4728 excede el máximo de btree, 2712
HINT:  Valores mayores a 1/3 de la página del buffer no pueden ser indexados.
Considere un índice sobre una función que genere un hash MD5 del valor, o utilice un esquema de indexación de texto completo.