TypeError raised by rosetta-poimport.py script

Bug #872335 reported by Diogo Matsubara
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Critical
Curtis Hovey

Bug Description

OOPS-2103POI1

 Traceback (most recent call last):
  Module lp.translations.scripts.po_import, line 189, in main
    self._importEntry(entry)
  Module lp.translations.scripts.po_import, line 134, in _importEntry
    (mail_subject, mail_body) = target.importFromQueue(entry, self.logger)
  Module lp.translations.model.pofile, line 1123, in importFromQueue
    pomessage)
TypeError: %d format: a number is required, not NoneType

<oops-message-0>: %d format: a number is required, not NoneType -- Finnish (fi) translation of evolution in Ubuntu Oneiric package "evolution" (id 5525150)
path: /srv/launchpad.net/production/launchpad/cronscripts/rosetta-poimport.py
script_name: rosetta-poimport

Related branches

William Grant (wgrant)
tags: added: lp-translations rosetta-imports
Revision history for this message
Curtis Hovey (sinzui) wrote :

The TypeError happens when the script is trying to log an error. All the data is sanitised except for the call to potmsgset.getSequence(self.potemplate) to get the sequence. This can be None if theTTI is incomplete. We just want to ensure the data is sane enough so that we can log the error.

Curtis Hovey (sinzui)
Changed in launchpad:
assignee: nobody → Curtis Hovey (sinzui)
status: Triaged → In Progress
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
tags: added: qa-untestable
removed: qa-needstesting
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.