Translations not imported from upstream

Bug #1730793 reported by Ask Hjorth Larsen
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Translations
Fix Released
High
Unassigned
util-linux (Ubuntu)
Fix Released
High
Unassigned

Bug Description

The listing of Ubuntu source package translations (for Danish) reveals that the last import of translations for util-linux happened in 2011:

https://translations.launchpad.net/ubuntu/artful/+lang/da/+index?batch=300&memo=300&start=300

The Ubuntu source package version is 2.30, which appears to be from 2017 (on my Ubuntu 16.04 it is 2.27 which is also relatively new). Either way it should have imported the translations from 2017. Indeed util-linux has been translated very well in Danish for quite a few years:

https://translationproject.org/domain/util-linux.html

More precisely, 4000 translations are available and they have not been imported for (apparently) 6 years, leaving Danish at the level of 600 strings.

I suspect this is not really an issue with the util-linux source package, but rather with the whole Ubuntu/Launchpad translations workflow. I can see that several packages have similar problems, and that is probably just the tip of the iceberg. Unfortunately I have no clue how to approach that - at least I cannot file a bug report against The Whole Thing. So if someone could speak to someone who could speak to someone who can actually get this to work, it would also be extremely good.

Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Thanks for reporting.

I've added Ubuntu translations as also affected. I'm not too familiar with how translations are imported from upstream, but I suppose they might know more. Possibly this is a bug report which should affect Launchpad itself, but let's wait to hear what the translators project has to say.

Revision history for this message
Vej (vej) wrote :

The language-packages are indeed not set up to sync with the upstream project. I am not an expert about setting these things up, but part of the cause might be, that the automatic import of the Github-Project to the "upstream"-Project here in launchpad () does not work.

I triggered this again and got the following error message:

2017-11-20 09:32:38 INFO Starting job.
2017-11-20 09:32:38 INFO Getting exising bzr branch from central store.
2017-11-20 09:32:39 INFO [chan bzr SocketAsChannelAdapter] Opened sftp connection (server version 3)
2017-11-20 09:32:39 INFO 35 bytes transferred
2017-11-20 09:32:44 INFO [chan bzr SocketAsChannelAdapter] Opened sftp connection (server version 3)
2017-11-20 09:32:45 INFO Importing branch.
2017-11-20 09:32:48 INFO Counting objects: 15036, done. 0
2017-11-20 09:32:56 INFO finding revisions to fetch:generating index 0/15036
2017-11-20 09:33:00 INFO finding revisions to fetch:generating index 0/15036
2017-11-20 09:33:03 INFO finding revisions to fetch 1/4538
2017-11-20 09:33:03 INFO
Traceback (most recent call last):
  File "/srv/importd.launchpad.net/production/launchpad-rev-18505/scripts/code-import-worker.py", line 106, in <module>
    sys.exit(script.main())
  File "/srv/importd.launchpad.net/production/launchpad-rev-18505/scripts/code-import-worker.py", line 101, in main
    return import_worker.run()
  File "/srv/importd.launchpad.net/production/launchpad-rev-18505/lib/lp/codehosting/codeimport/worker.py", line 617, in run
    return self._doImport()
  File "/srv/importd.launchpad.net/production/launchpad-rev-18505/lib/lp/codehosting/codeimport/worker.py", line 820, in _doImport
    inter_branch.fetch(limit=revision_limit)
  File "/srv/importd.launchpad.net/production/launchpad-rev-18505/bzrplugins/git/branch.py", line 722, in fetch
    self.fetch_objects(stop_revision, fetch_tags=fetch_tags, limit=limit)
  File "/srv/importd.launchpad.net/production/launchpad-rev-18505/bzrplugins/git/branch.py", line 745, in fetch_objects
    determine_wants, self.source.mapping, limit=limit)
  File "/srv/importd.launchpad.net/production/launchpad-rev-18505/bzrplugins/git/fetch.py", line 718, in fetch_objects
    limit)
  File "/srv/importd.launchpad.net/production/launchpad-rev-18505/bzrplugins/git/fetch.py", line 484, in import_git_objects
    mapping.revision_id_foreign_to_bzr)
  File "/srv/importd.launchpad.net/production/launchpad-rev-18505/bzrplugins/git/mapping.py", line 334, in import_commit
    raise UnknownCommitExtra(commit, [item[0] for item in commit.extra])
bzrlib.plugins.git.errors.UnknownCommitExtra: Unknown extra fields in <Commit 11dc93b78ad39a7bc0a6ff50194b4e6f084c9291>: ['gpgsig'].
Import failed:
Traceback (most recent call last):
Failure: twisted.internet.error.ProcessTerminated: A process has ended with a probable error condition: process ended with exit code 1.

Now I am wondering who to ask about fixing that. The Launchpad team?

Coverage of this package is very poor except for Bosnian, Swedish, Ukrainian and English.

Best

Vej

Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Hm, that stack trace does seem like it might have something with to do with the issue. I've marked Launchpad as affected, so let's hear what they have to say.

Vej: out of curiosity, how can one trigger an import or find the error message in a log?

Revision history for this message
Ask Hjorth Larsen (askhl) wrote :
Revision history for this message
Ask Hjorth Larsen (askhl) wrote :

The Launchpad developers have not commented.

My suggestion: Disable translations entirely in Launchpad and always import from upstream.

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Thanks for reporting this, Ask. We spotted the problem this morning, and if you check LP now, you'll notice a significant difference.

Changed in util-linux (Ubuntu):
importance: Undecided → High
status: New → Fix Committed
affects: launchpad → ubuntu-docs
no longer affects: ubuntu-docs
Changed in ubuntu-translations:
importance: Undecided → High
Revision history for this message
Sebastien Bacher (seb128) wrote :

The current source translations have been imported in launchpad now and things looks better

Revision history for this message
Ask Hjorth Larsen (askhl) wrote :

Thank you very much.

(It would appear that the util-linux translations have not quite made it yet:

https://translations.launchpad.net/ubuntu/artful/+source/util-linux/+pots/util-linux/da/+details

It is still at 17% at the moment. I assume the new files are in the import queue though which tends to last a day or two, so that's probably fine - it's just that I cannot remember how to see the import queue.)

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

No, they have been imported. Look at bionic. :)

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Btw, this is the URL to the import queue:

https://translations.launchpad.net/ubuntu/bionic/+source/util-linux/+imports

The link, which used to be shown, is not there any longer for some reason.

Revision history for this message
Ask Hjorth Larsen (askhl) wrote :

Right! Excellent. Thank you again.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package util-linux - 2.30.2-0.1ubuntu2

---------------
util-linux (2.30.2-0.1ubuntu2) bionic; urgency=medium

  * No change rebuild to try to resolve an outdated translations issue,
    the package was configured on launchpad to share its strings with an
    upstream vcs but the corresponding import is failing for some years.
    We are trying to go back to use the source package translations
    instead now (lp: #1730793)

 -- Sebastien Bacher <email address hidden> Wed, 07 Feb 2018 12:25:02 +0100

Changed in util-linux (Ubuntu):
status: Fix Committed → Fix Released
Changed in ubuntu-translations:
status: New → 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.