← Back to team overview

openerp-india team mailing list archive

[Bug 1047129] [NEW] loading a translation file fails if it contains no translations

 

Public bug reported:

Create a translation file for a module, containing just :

# Translation of OpenERP Server.
# This file contains the translation of the following modules:
#   * account

Try to load this file with --load-language :

→ Traceback

  File "/home/dadafkas/projets/anybox/hg/openerp.anybox.fr/parts/openerp-6.1-20120905-232133/openerp/tools/translate.py", line 324, in next
    line = self.lines.pop(0).strip()
IndexError: pop from empty list

** Affects: openobject-server
     Importance: Undecided
         Status: New

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

Title:
  loading a translation file fails if it contains no translations

Status in OpenERP Server:
  New

Bug description:
  Create a translation file for a module, containing just :

  # Translation of OpenERP Server.
  # This file contains the translation of the following modules:
  #   * account

  Try to load this file with --load-language :

  → Traceback

    File "/home/dadafkas/projets/anybox/hg/openerp.anybox.fr/parts/openerp-6.1-20120905-232133/openerp/tools/translate.py", line 324, in next
      line = self.lines.pop(0).strip()
  IndexError: pop from empty list

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


Follow ups

References