← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Hi, when I remove the extra-addons path in config file, I have always an
error when I try to synchronize translation :

Same Bug but error come from another module... so I suppose there is an
issue in server


 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', 'test'), ('lang', u'fr_FR'), ('name', u'ir.module.module,description'), ('source', u"\nSwiss localisation :\n - DTA generation for a lot of payment types\n - BVR management (number generation, report, etc..)\n - Import account move from the bank file (like v11 etc..)\n - Simplify the way you handle the bank statement for reconciliation\n - Swiws account chart that add also tax template definition\n\n------------------------------------------------------------------------\n\nModule incluant la localisation Suisse de TinyERP revu et corrig\xe9 par Camptocamp. Cette nouvelle version\ncomprend la gestion et l'\xe9missionde BVR, le paiement \xe9lectronique via DTA (pour les banques, le syst\xe8me postal est en d\xe9veloppement),\nl'import du relev\xe9 de compte depuis la banque de mani\xe8re automatis\xe9e, le plan de compte Swiws.\nDe plus, nous avons int\xe9gr\xe9 la d\xe9finition de toutes les banques Suisses(adresse, swift et clearing).\n\n--------------------------------------------------------------------------\nTODO :\n- Implement bvr import partial reconciliation\n- Replace wizard by osv_memory when possible\n- Add mising HELP\n- Finish code comment\n- Improve demo data\n\n\n"), ('types', u'model'))

-- 
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:
  Invalid

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