Import problem

Asked by billl

I'm trying to update the french translation of OGMRip but rosetta complains that 15 days 6 hours 3 minutes ago (!!!) the file I uploaded could not be imported because I "did not update the time stamp in its header to state when I added my translations". However, the PO-Revision-Date field is up to date.

How can I fix this ?

Thanks,

Olivier

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
billl
Solved:
Last query:
Last reply:
Revision history for this message
Данило Шеган (danilo) said :
#1

You probably removed a X-Launchpad-Export-Date field from the PO file you downloaded. Just re-insert it back, and it should all be fine when you try to upload again (it uses the same format as PO-Revision-Date for the date). This usually happens if you use some tools like GTranslator which strip that header out (so it's usually not your fault :).

Note that imports are working pretty well at the moment (there was a problem about a month ago, which we've since fixed, but then had to import thousands of delayed files), and your new upload should be imported in about a day or so.

Revision history for this message
billl (olivier-rolland) said :
#2

I've just try again, but it still doesn't work even though the X-Launchpad-Export-Date field is in the PO file:

msgid ""
msgstr ""
"Project-Id-Version: OGMRip\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2007-12-16 21:43+0100\n"
"PO-Revision-Date: 2007-11-16 22:01+0100\n"
"Last-Translator: Olivier Rolland <email address hidden>\n"
"Language-Team: French <email address hidden>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2007-09-23 15:48+0000\n"
"X-Generator: Launchpad (build Unknown)\n"

Any hint ?

Thanks,

Olivier

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
billl (olivier-rolland) said :
#4

I still need an answer...

Thanks,

Olivier

Revision history for this message
Jeroen T. Vermeulen (jtv) said :
#5

The Janitor does not take holidays... Данило (Danilo) is not available this week, so I've been trying to figure out what's wrong. The import still failed when I restarted it, but not with the "not exported from Launchpad" error. The import failed this time because the revision date given in the import was no newer than the one for the file as it already was in the system.

So could the problem be that the PO-Revision-Date field was not updated to reflect the latest changes, or alternatively, that the file has not changed since the last time it was imported?

Revision history for this message
billl (olivier-rolland) said :
#6

I've just uploaded a new POT file. As soon as it is imported, I'll submit a new PO file and see what happens.

Thanks,

Olivier

Revision history for this message
billl (olivier-rolland) said :
#7

I still have an error:

"On 2007-10-27 08:50+0000 (73 days 16 hours 54 minutes ago), you uploaded
a file with French (fr) translations for ogmrip in OGMRip trunk in
Launchpad.

We were unable to import your translations because you did not update
the time stamp in its header to state when you added your translations.

To fix this problem, please upload the file again, but with the 'PO-
Revision-Date' field updated."

And here is the header of the PO file:

"Project-Id-Version: OGMRip\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-01-06 18:46+0100\n"
"PO-Revision-Date: 2007-11-16 22:01+0100\n"
"Last-Translator: Olivier Rolland <email address hidden>\n"
"Language-Team: French <email address hidden>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2007-09-23 15:48+0000\n"
"X-Generator: Launchpad (build Unknown)\n"

Note that I didn't change anything in the header myself, that I don't use any PO editor except vim, and that I use intltool-update to update the file.

Thanks for your help,

Olivier

Revision history for this message
Jeroen T. Vermeulen (jtv) said :
#8

I think I see it. The previous version of this PO file did not have a PO-Revision-Date, and it's possible that when it comes to comparing dates, that is read as "right now." That way, unless you set a date that's in the future, your new upload will always be considered "older" than the previous version.

If that is so, that's a bug. Could you uploading your PO file with a revision date that's, say, one day in the future? If that works, then we've got a suspect. Please let me know what happens!

Revision history for this message
billl (olivier-rolland) said :
#9

This solved the problem.

Thanks a lot for your help,

Olivier