Rosetta fails to locate second_lang_msgset message ID when changing alternate language.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Carlos Perelló Marín |
Bug Description
Normally Rosetta displays all the translatable items (translated or not) and gives an option to change this ("Alt:" and "Show:" comboboxes). If I change these to "Finnish" and "untranslated", I get a system error.
To reproduce this bug:
1. go to https:/
2. set "Alt:" to "Finnish" and "Show:" to "untranslated"
3. click "Change"
-> " Sorry, a system error occurred"
Traceback of the error:
* Module canonical.
second_
* Module canonical.
self.
* Module canonical.
return self.messageSet
* Module canonical.
raise NotFoundError(key)
NotFoundError: u'PDF, HTML, and XHTML versions of this document will use hyperlinks to handle cross-referencing.'
summary: | + Cannot change the scope of the displayed translation items. |
Changed in rosetta: | |
status: | New → Accepted |
description: | updated |
description: | updated |
description: | updated |
summary: |
- Cannot change the scope of the displayed translation items. + Traceback of the error: + + * Module canonical.launchpad.browser.pofile, line 406, in processTranslations + second_lang_pofile=self.second_lang_pofile) + * Module canonical.launchpad.browser.pomsgset, line 43, in __init__ + self.second_lang_msgset = second_lang_pofile[potmsgset.primemsgid_.msgid] + * Module canonical.launchpad.database.pofile, line 244, in __getitem__ + return self.messageSet(msgid_text) + * Module canonical.launchpad.database.pofile, line 239, in messageSet + raise NotFoundError(key) + + NotFoundError: u'PDF, HTML, and XHTML versions of this document will use + hyperlinks to handle cross-referencing.' |
description: | updated |
summary: |
- Traceback of the error: - - * Module canonical.launchpad.browser.pofile, line 406, in processTranslations - second_lang_pofile=self.second_lang_pofile) - * Module canonical.launchpad.browser.pomsgset, line 43, in __init__ - self.second_lang_msgset = second_lang_pofile[potmsgset.primemsgid_.msgid] - * Module canonical.launchpad.database.pofile, line 244, in __getitem__ - return self.messageSet(msgid_text) - * Module canonical.launchpad.database.pofile, line 239, in messageSet - raise NotFoundError(key) - - NotFoundError: u'PDF, HTML, and XHTML versions of this document will use - hyperlinks to handle cross-referencing.' + Normally Rosetta displays all the translatable items (translated or not) + and gives an option to change this ("Alt:" and "Show:" comboboxes). If I + change these to "Finnish" and "untranslated", I get a system error. |
Changed in rosetta: | |
assignee: | nobody → carlos |
status: | Accepted → PendingUpload |
Changed in rosetta: | |
status: | Fix Committed → Fix Released |
I got this bug too when acessing https:/ /launchpad. net/distros/ ubuntu/ breezy/ +sources/ amule/+ pots/amule/ pt_BR/+ translate