← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 691188] Re: Problems trying to load ufficial translation

 

Hello Nicola Riolini,

I have tested your scenario but unfortunately I was unable to meet the
error, the new language (Italian) was successfully installed. Please
update your code and also notify us if the issue still exist at your
end.

Thanks.


** Changed in: openobject-client-web
       Status: New => Invalid

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/691188

Title:
  Problems trying to load ufficial translation

Status in OpenObject Web Client:
  Invalid

Bug description:
  Hi, 
trunk installation downloaded with bzr yesterday, ubuntu 10.04
I load Italian language, I try now to "load official translation", I check overwrite box and I get this error:
Thanks 
Bye Nicola

[2010-12-16 17:39:10,729][laserbs60] INFO:i18n:loading /home/administrator/Micronaet/6.0/server/bin/addons/base/i18n/it.po

[2010-12-16 17:39:11,044][laserbs60] ERROR:db.cursor:Programming error: column "parent_left" does not exist

RIGA 1: ...y"   WHERE "name" = E'Wood Suppliers'))) ORDER BY parent_lef...

                                                             ^

, in query SELECT "res_partner_category".id FROM "res_partner_category" WHERE (res_partner_category.active = %s) AND (res_partner_category.id in (( SELECT res_id    FROM ir_translation   WHERE name = %s     AND lang = %s     AND type = %s     AND value = %s) UNION (  SELECT id    FROM "res_partner_category"   WHERE "name" = %s))) ORDER BY parent_left 

[2010-12-16 17:39:11,046][laserbs60] ERROR:web-services:Uncaught exception

Traceback (most recent call last):

  File "/home/administrator/Micronaet/6.0/server/bin/osv/osv.py", line 122, in wrapper

    return f(self, dbname, *args, **kwargs)

  File "/home/administrator/Micronaet/6.0/server/bin/osv/osv.py", line 176, in execute

    res = self.execute_cr(cr, uid, obj, method, *args, **kw)

  File "/home/administrator/Micronaet/6.0/server/bin/osv/osv.py", line 167, in execute_cr

    return getattr(object, method)(cr, uid, *args, **kw)

  File "/home/administrator/Micronaet/6.0/server/bin/addons/base/module/wizard/base_language_install.py", line 51, in lang_install

    modobj.update_translations(cr, uid, mids, lang, context or {})

  File "/home/administrator/Micronaet/6.0/server/bin/addons/base/module/module.py", line 506, in update_translations

    tools.trans_load(cr.dbname, f, lang, verbose=False, context=context)

  File "/home/administrator/Micronaet/6.0/server/bin/tools/translate.py", line 787, in trans_load

    r = trans_load_data(db_name, fileobj, fileformat, lang, strict=strict, verbose=verbose, context=context)

  File "/home/administrator/Micronaet/6.0/server/bin/tools/translate.py", line 906, in trans_load_data

    ids = obj.search(cr, uid, [(field, '=', dic['src'])])

  File "/home/administrator/Micronaet/6.0/server/bin/osv/orm.py", line 1861, in search

    return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)

  File "/home/administrator/Micronaet/6.0/server/bin/osv/orm.py", line 4086, in _search

    cr.execute('SELECT "%s".id FROM ' % self._table + from_clause + where_str + order_by + limit_str + offset_str, where_clause_params)

  File "/home/administrator/Micronaet/6.0/server/bin/sql_db.py", line 76, in wrapper

    return f(self, *args, **kwargs)

  File "/home/administrator/Micronaet/6.0/server/bin/sql_db.py", line 129, in execute

    res = self._obj.execute(query, params)

ProgrammingError: column "parent_left" does not exist

RIGA 1: ...y"   WHERE "name" = E'Wood Suppliers'))) ORDER BY parent_lef...

                                                             ^





References