Can not change to untranslated view in ncpfs german translation

Bug #5504 reported by Babak Manssouri
4
Affects Status Importance Assigned to Milestone
Launchpad itself
New
Medium
Unassigned

Bug Description

I wanted to translate the last 6 items of the German (de) translation of ncpfs in Ubuntu Dapper package "ncpfs". I tried to change the view of the items in 'untranslated', but after klicking 'change' the error site was displayed.

https://launchpad.net/distros/ubuntu/dapper/+source/ncpfs/+pots/ncpfs/de/+translate

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

    * Module zope.tales.tales, line 698, in evaluate
      return expression(self)
      /srv/launchpad.net/production/launchpad/lib/canonical/launchpad/templates/pofile-translate.pt
      Line 378, Column 28
      Expression: <PythonExpr (messageSet.getTranslation(index))>
         - Names:
            {'args': (),
             'context': <POFile at 0x2aa8b796d0>,
             'default': <object object at 0x2a955c01d0>,
             'loop': {},
             'nothing': None,
             'options': {},
             'repeat': {},
             'request': <canonical.launchpad.webapp.servers.LaunchpadBrowserRequest instance URL=https://launchpad.net/distros/ubuntu/dapper/+source/ncpfs/+pots/ncpfs/de/+translate>,
             'template': <zope.app.pagetemplate.viewpagetemplatefile.ViewPageTemplateFile object at 0x2a9efb8710>,
             'usage': <zope.pagetemplate.pagetemplate.TemplateUsage object at 0x8fcf590>,
             'view': <zope.app.pagetemplate.simpleviewclass.SimpleViewClass from /srv/launchpad.net/production/launchpad/lib/canonical/launchpad/templates/pofile-translate.pt object at 0x2aa4d5dd10>,
             'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper object at 0x2aadbe8f50>}
    * Module zope.tales.pythonexpr, line 59, in __call__
      return eval(self._code, vars)
      __traceback_info__: (messageSet.getTranslation(index))
    * Module <string>, line 0, in ?
    * Module canonical.launchpad.browser.pomsgset, line 181, in getTranslation
      return helpers.unix2windows_newlines(translation)
    * Module canonical.launchpad.helpers, line 789, in unix2windows_newlines
      raise ValueError('\'%r\' is already converted' % text)

ValueError: 'u'\r\n___Nachricht vom NetWare-Server: %s\r\n%s\r\n'' is already converted

I think it's a dupe.

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.