Crash in +translate because brittle POMsgSet.active_texts assumes POFile.pluralforms is an int.

Bug #32249 reported by Andy Apdhani
4
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Medium
Carlos Perelló Marín

Bug Description

Oops

Sorry, something just went wrong in Launchpad.

Please report this as a bug, after checking that it isn’t reported already.

The reference for this error is OOPS-52D112. Please include it in your bug report or email.

Thanks for helping improve Launchpad, and sorry for the inconvenience.

Revision history for this message
Christian Reis (kiko) wrote :

  Module canonical.launchpad.browser.pomsgset, line 134, in translation_range
    self._prepare_translations()
  Module canonical.launchpad.browser.pomsgset, line 164, in _prepare_translations
    self.translations = self.context.active_texts
  Module canonical.launchpad.database.pomsgset, line 41, in active_texts
    return [None] * self.pofile.pluralforms
TypeError: can't multiply sequence by non-i

Changed in launchpad:
assignee: nobody → carlos
status: Unconfirmed → Confirmed
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.