Closed Bug 1608660 Opened 4 years ago Closed 4 years ago

[sync] L10n files not imported

Categories

(Webtools Graveyard :: Pontoon, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mathjazz, Assigned: mathjazz)

Details

Attachments

(2 files)

Attached file log.txt

Sync failed to import translations during the Fluent migration ran on Fri, 10 Jan 2020:

What happened?

  • Line 229 in the log properly identified the migrated file in the list of changed paths in repository (and Pontoon) with their corresponding locales:
Jan 10 11:10:49 mozilla-pontoon app/worker.1
Changed files in Firefox repository and Pontoon:
{u'browser/browser/browser.ftl': [<Locale: Acholi>, <Locale: Afrikaans>...]}
  • The following line (230) OTOH no longer listed the file among relative paths that need to be synced:
Jan 10 11:10:51 mozilla-pontoon app/worker.1
Changed files in Firefox repository: []

What needs to be fixed?

  1. Prevent multiple sync tasks to run concurrently for the same project. We actually have a mechanism in place to do that (see RuntimeError line 735 of the log), but separately for each of the two sync tasks. On a long term, we should join both tasks into one, which would not only fix this bug, but also bug 1383271 and bug 1406374, and make our code nicer. On a short term, we should use the same lock for both sync tasks of the project.

  2. We should also look into reverting local changes again and see if we can do that without removing the directory.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Assignee: nobody → m
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: