← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 701883] Re: [RC] Synchronize translation error

 

It's not an error from the server sorry.

I suppose the probleme come from account_chart_update module in extra-
addons

-- 
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/701883

Title:
  [RC] Synchronize translation error

Status in OpenObject Server:
  New

Bug description:
  Hi,

  I create a new db in english, with only the base module. Then I synchronize translations
  When I synchronize translations, I have this error : 

  File "/home/laurent/workspace/OpenerpTrunkServer/bin/addons/base/ir/ir_translation.py", line 186, in create
      self._get_source.clear_cache(cursor.dbname, user, trans_obj['name'], trans_obj['type'], trans_obj['lang'], source=trans_obj['src'])
    File "/home/laurent/workspace/OpenerpTrunkServer/bin/tools/misc.py", line 777, in clear
      self.cache.pop(key)
    File "/home/laurent/workspace/OpenerpTrunkServer/bin/tools/func.py", line 89, in wrapper
      return func(self, *args, **kwargs)
    File "/home/laurent/workspace/OpenerpTrunkServer/bin/tools/lru.py", line 112, in pop
      v=self[key]
    File "/home/laurent/workspace/OpenerpTrunkServer/bin/tools/func.py", line 89, in wrapper
      return func(self, *args, **kwargs)
    File "/home/laurent/workspace/OpenerpTrunkServer/bin/tools/lru.py", line 37, in __getitem__
      a = self.d[obj].me
  KeyError: (('dbname', 'translations1'), ('lang', u'en_US'), ('name', u'ir.module.module,description'), ('source', u'\nAdds a wizard to update a company account chart from a chart template.\n\nThis is a pretty useful tool to update OpenERP instalations after tax reforms\non the oficial charts of accounts, or to apply fixes performed on the chart\ntemplate.\n\nThe wizard:\n\n- Allows the user to compare a chart and a template showing differences\n    on accounts, taxes, tax codes and fiscal positions.\n- It may create the new account, taxes, tax codes and fiscal positions detected\n    on the template.\n- It can also update (overwrite) the accounts, taxes, tax codes and fiscal\n    positions that got modified on the template.\n\nThe wizard lets the user select what kind of objects must be checked/updated,\nand whether old records must be checked for changes and updated.\nIt will display all the accounts to be created / updated with some information\nabout the detected differences, and allow the user to exclude records\nindividually.\nAny problem found while updating will be shown on the last step.\n\nAuthors:\n    Jordi Esteve (Zikzakmedia) <jesteve@xxxxxxxxxxxxxxx>\n    Borja L\xf3pez Soil\xe1n (Pexego) <borjals@xxxxxxxxx>\n'), ('types', u'model'))





References