Translations import script on staging fails

Bug #697845 reported by Henning Eggers
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Critical
Henning Eggers

Bug Description

The rosetta-poimport script on staging fails with the following traceback.

Traceback (most recent call last):
  File "/srv/staging.launchpad.net/staging/launchpad/lib/lp/translations/scripts/po_import.py", line 189, in main
    self._importEntry(entry)
  File "/srv/staging.launchpad.net/staging/launchpad/lib/lp/translations/scripts/po_import.py", line 134, in _importEntry
    (mail_subject, mail_body) = target.importFromQueue(entry, self.logger)
  File "/srv/staging.launchpad.net/staging/launchpad/lib/lp/translations/model/potemplate.py", line 901, in importFromQueue
    entry_to_import, logger)
  File "/srv/staging.launchpad.net/staging/launchpad/lib/lp/translations/utilities/translation_import.py", line 359, in importFile
    return file_importer.importFile()
  File "/srv/staging.launchpad.net/staging/launchpad/lib/lp/translations/utilities/translation_import.py", line 557, in importFile
    self.importMessage(message)
  File "/srv/staging.launchpad.net/staging/launchpad/lib/lp/translations/utilities/translation_import.py", line 666, in importMessage
    potmsgset = self.getOrCreatePOTMsgSet(message)
  File "/srv/staging.launchpad.net/staging/launchpad/lib/lp/translations/utilities/translation_import.py", line 416, in getOrCreatePOTMsgSet
    context=message.context))
  File "/srv/staging.launchpad.net/staging/launchpad/lib/lp/translations/model/potemplate.py", line 876, in getOrCreateSharedPOTMsgSet
    singular_text, plural_text, context, sequence=0)
  File "/srv/staging.launchpad.net/staging/launchpad/lib/lp/translations/model/potemplate.py", line 859, in createMessageSetFromText
    " primary msgid and context '%r'" % context)
AssertionError: There is already a message set for this template, file and primary msgid and context 'None'

Related branches

summary: - Import script on staging fails
+ Translations import script on staging fails
description: updated
Revision history for this message
Launchpad QA Bot (lpqabot) wrote : Bug fixed by a commit
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
Revision history for this message
j.c.sackett (jcsackett) wrote :

Marking of bug 611668 qa-ok implies this is qa-ok, as it was to fix the error making 611668 qa-bad.

tags: added: qa-ok
removed: qa-needstesting
Changed in launchpad:
importance: High → Critical
Curtis Hovey (sinzui)
Changed in launchpad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.