Rosetta export fails with msgfmt parse error

Bug #2948 reported by Christian Reis
4
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Dafydd Harries

Bug Description

This is the latest failure du jour, happening for wordpress-1.5/ja.mo:

http://librarian.launchpad.net/565008/565041/3M9Tgl1we2eJBPuJsDOsdjjMviG.txt
Traceback (most recent call last):
  File "/srv/launchpad.net/production/launchpad/cronscripts/../lib/canonical/launchpad/scripts/po_export_queue.py", line 240, in process_single_object_request
    url = handler.get_librarian_url()
  File "/srv/launchpad.net/production/launchpad/cronscripts/../lib/canonical/launchpad/scripts/po_export_queue.py", line 109, in get_librarian_url
    mo_contents = self.get_contents()
  File "/srv/launchpad.net/production/launchpad/cronscripts/../lib/canonical/launchpad/scripts/po_export_queue.py", line 99, in get_contents
    return compiler.compile(po_contents)
  File "/srv/launchpad.net/production/launchpad/cronscripts/../lib/canonical/launchpad/components/poexport.py", line 567, in compile
    raise MOCompilationError("PO file compilation failed:\n" + stdout)
MOCompilationError: PO file compilation failed:
<stdin>:4692:13: parse error
/usr/bin/msgfmt: found 1 fatal error

Changed in rosetta:
status: New → Accepted
Revision history for this message
Dafydd Harries (daf) wrote :

In order to debug this, we need to have a copy of the PO file we were trying to compile into a MO file. I'll try and export the PO file myself and see if I can reproduce the problem.

Steve has suggested that we use OOPS files for cronscripts, and that for this particular operation, the PO file that was being compiled could be somehow included with the OOPS.

Changed in rosetta:
assignee: nobody → daf
Revision history for this message
Carlos Perelló Marín (carlos) wrote :

This problem is already fixed, but a cached export was still showing it.

We forced a cache refresh in all pofiles on launchpad and this problem has gone as was already fixed some time ago.

Changed in rosetta:
status: Confirmed → 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.