← Back to team overview

openerp-india team mailing list archive

[Bug 1131706] Re: [6.0] Unable to process report section in po file

 

** Changed in: openobject-server
     Assignee: (unassigned) => OpenERP Publisher's Warranty Team (openerp-opw)

** Tags added: maintenance

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1131706

Title:
  [6.0] Unable to process report section in po file

Status in OpenERP Server:
  New

Bug description:
  Hi all,

  an exception is raised in transalte.py while parsing this section of a
  po file:

  #. module: mrp_project_sale
  #: report:internal
  #: movement:0
  msgid "Expected Shipping Date"
  msgstr "Date d'envoi attendue"

  It seems that report is not accepted. Any fix for this?

  Many thanks for your help


  Traceback (most recent call last):
    File "/opt/Instances/Dev-Base/bin/netsvc.py", line 489, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/opt/Instances/Dev-Base/bin/service/web_services.py", line 599, in dispatch
      res = fn(db, uid, *params)
    File "/opt/Instances/Dev-Base/bin/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/opt/Instances/Dev-Base/bin/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/opt/Instances/Dev-Base/bin/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/opt/Instances/Dev/bin/addons/base/module/wizard/base_module_upgrade.py", line 98, in upgrade_module
      _db, pool = pooler.restart_pool(cr.dbname, update_module=True)
    File "/opt/Instances/Dev-Base/bin/pooler.py", line 60, in restart_pool
      return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
    File "/opt/Instances/Dev-Base/bin/pooler.py", line 39, in get_db_and_pool
      addons.load_modules(db, force_demo, status, update_module)
    File "/opt/Instances/Dev-Base/bin/addons/__init__.py", line 883, in load_modules
      processed_modules.extend(load_module_graph(cr, graph, status, report=report, skip_modules=processed_modules))
    File "/opt/Instances/Dev-Base/bin/addons/__init__.py", line 772, in load_module_graph
      modobj.update_translations(cr, 1, [mid], None, {'overwrite': True})
    File "/opt/Instances/Dev/bin/addons/base/module/module.py", line 518, in update_translations
      tools.trans_load(cr, f, lang, verbose=False, context=context2)
    File "/opt/Instances/Dev-Base/bin/tools/translate.py", line 845, in trans_load
      r = trans_load_data(cr, fileobj, fileformat, lang, verbose=verbose, context=context)
    File "/opt/Instances/Dev-Base/bin/tools/translate.py", line 918, in trans_load_data
      dic['xml_id'] = split_id[1]
  IndexError: list index out of range

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1131706/+subscriptions


References