Bugzilla – Bug 1195269
Installation - license agreement empty - empty license translations
Last modified: 2022-07-16 12:23:44 UTC
Created attachment 855699 [details] screenshot During installation via YaST2 at "Language, Keyboard and License Agreement" page: when selecting Language => French, the License Agreement zone is empty (cfr attached screenshot) Expected : a french translation of the license agreement should be displayed
That problem actually happens for all languages because the translation files in the repository metadata are empty: tar tfvz repodata/931a54d37711099bc7730c98dc4613b79145a218af0befc2364af48faf6e80ea-license.tar.gz -rw-r--r-- root/root 0 2021-08-17 14:00 no-acceptance-needed -rw-r--r-- root/root 0 2021-08-17 14:00 license.ar.txt -rw-r--r-- root/root 0 2021-08-17 14:00 license.ast.txt -rw-r--r-- root/root 0 2021-08-17 14:00 license.ca.txt -rw-r--r-- root/root 0 2021-08-17 14:00 license.cs.txt -rw-r--r-- root/root 0 2021-08-17 14:00 license.da.txt -rw-r--r-- root/root 0 2021-08-17 14:00 license.de.txt -rw-r--r-- root/root 0 2021-08-17 14:00 license.el.txt -rw-r--r-- root/root 0 2021-08-17 14:00 license.es.txt -rw-r--r-- root/root 0 2021-08-17 14:00 license.fa.txt -rw-r--r-- root/root 0 2021-08-17 14:00 license.fr.txt -rw-r--r-- root/root 0 2021-08-17 14:00 license.hi.txt -rw-r--r-- root/root 0 2021-08-17 14:00 license.hu.txt -rw-r--r-- root/root 0 2021-08-17 14:00 license.id.txt -rw-r--r-- root/root 0 2021-08-17 14:00 license.it.txt -rw-r--r-- root/root 0 2021-08-17 14:00 license.ja.txt -rw-r--r-- root/root 0 2021-08-17 14:00 license.kab.txt -rw-r--r-- root/root 0 2021-08-17 14:00 license.ko.txt -rw-r--r-- root/root 0 2021-08-17 14:00 license.nl.txt -rw-r--r-- root/root 0 2021-08-17 14:00 license.nn.txt -rw-r--r-- root/root 0 2021-08-17 14:00 license.pl.txt -rw-r--r-- root/root 0 2021-08-17 14:00 license.pt_BR.txt -rw-r--r-- root/root 0 2021-08-17 14:00 license.pt_PT.txt -rw-r--r-- root/root 0 2021-08-17 14:00 license.ru.txt -rw-r--r-- root/root 0 2021-08-17 14:00 license.si.txt -rw-r--r-- root/root 0 2021-08-17 14:00 license.sv.txt -rw-r--r-- root/root 6259 2021-08-17 14:00 license.txt -rw-r--r-- root/root 0 2021-08-17 14:00 license.uk.txt -rw-r--r-- root/root 0 2021-08-17 14:00 license.zh_CN.txt -rw-r--r-- root/root 0 2021-08-17 14:00 license.zh_TW.txt Only the default license ("license.txt") contains a real text.
Same for NL translation
Same for Russian
But on site, Russian version available... https://ru.opensuse.org/openSUSE:%D0%9B%D0%B8%D1%86%D0%B5%D0%BD%D0%B7%D0%B8%D1%8F
Maybe, I understand, why license files empty. Because in Weplate were errors on the skelcd project. So, I have corrected them. (https://l10n.opensuse.org/projects/skelcd-opensuse/master/ru/) Does this mean that it will be added?
*** Bug 1198985 has been marked as a duplicate of this bug. ***
Stanislav, I think, you can help us to fix this bug. As I understand, bug present due to not same new lines in translation license files on Webplate. On Leap 15.4 license files were updated, according to Webplate. So, we have this issue. But in Tumbleweed ISO didn't update it - number of languages in licence files on Tumbleweed ISO fewer, than in Leap ISO. So, I think that when all translation license files have the same newlines as in the default license file, the error will be fixed.
I create the request (https://build.opensuse.org/request/show/984726) to fix this bug. The problem is missing two required packages (python3 and sqlite3) for successful convert .po files to .txt files. In my fixed packages (https://build.opensuse.org/package/show/home:ivanvorstanenko:branches:openSUSE:Leap:15.4/skelcd-openSUSE) there are no errors during build (https://build.opensuse.org/package/live_build_log/home:ivanvorstanenko:branches:openSUSE:Leap:15.4/skelcd-openSUSE/standard/x86_64) and .rpm packages have all license files. But in main packages (https://build.opensuse.org/package/show/openSUSE:Leap:15.4/skelcd-openSUSE) there are errors in build log that need to install two packages (https://build.opensuse.org/package/live_build_log/openSUSE:Leap:15.4/skelcd-openSUSE/standard/x86_64) and .rpm packages have not license files.
Request above fails. So, I created another request : https://build.opensuse.org/request/show/984732 If you want to check progress of bug fixing, monitor this.
From revision : > the issue in fact is in the package providing po2txt not to require python, the full package, but only relying on the -base package (but sqlite3 is in the full package) So far I don't know how to fix it. Hope, somebody can help us understand the situation or can fix this problem.
Fix needs to go to translate-toolkit: created request id 984846 Request: #984846 maintenance_incident: home:dimstar:branches:openSUSE:Backports:SLE-15-SP4:Update/translate-toolkit@af1d99ccfeeb705e0697905cc9139c7f -> openSUSE:Maintenance (release in openSUSE:Backports:SLE-15-SP4:Update) Message: - We need full python interpreter bsc#1172650, boo#1195269 (backported fix from Factory)
This is an autogenerated message for OBS integration: This bug (1195269) was mentioned in https://build.opensuse.org/request/show/984846 Backports:SLE-15-SP4 / translate-toolkit
There were bugs in the YaST parsing XML files: YaST ignored blank characters before the closing tag, but translation tools included them into the string. It was fixed, and Ladislav Slezak also fixed affected translations. This is a completely different issue and it has nothing to do with Weblate and YaST XML parser.
(In reply to Stanislav Brabec from comment #13) > There were bugs in the YaST parsing XML files: YaST ignored blank characters > before the closing tag, but translation tools included them into the string. > It was fixed, and Ladislav Slezak also fixed affected translations. > > This is a completely different issue and it has nothing to do with Weblate > and YaST XML parser. I'm not exactly sure what you are referring to - but this very bug has been identified to be about missing deps of po2txt (translate-toolkit) - as it does not require 'full python3' (especially python sqlite3 module missing) The same error was fixed on Tumbleweed 2 years ago (see the "See Also" bug reference) The needed fix is submitted in https://build.opensuse.org/request/show/984846 - once this is accepted, skelcd-openSUSE can be rebuilt - with working translations.
Dominique Leuenberger: It was answer to comment 8. There were bug 1197965, bug 1194803 and bug 1198259, all unrelated to this problem.
(In reply to Stanislav Brabec from comment #15) > Dominique Leuenberger: It was answer to comment 8. There were bug 1197965, > bug 1194803 and bug 1198259, all unrelated to this problem. Thanks for clarifying
As I understand, needed package will be added (because request above will be accepted). But, when I try to compile skelcd, the problem exists : https://build.opensuse.org/package/show/home:ivanvorstanenko:branches:openSUSE:Leap:15.4/skelcd-openSUSE - licence.tar.gz in rpm package contains empty license file. I need to wait, right?
(In reply to Ivan Vorstanenko from comment #17) > As I understand, needed package will be added (because request above will be > accepted). > But, when I try to compile skelcd, the problem exists : > https://build.opensuse.org/package/show/home:ivanvorstanenko:branches: > openSUSE:Leap:15.4/skelcd-openSUSE - licence.tar.gz in rpm package contains > empty license file. > > I need to wait, right? The translation-toolkit update has not yet been published in the update channel and as such the fix is not yet available... patience
openSUSE-RU-2022:10051-1: An update that has two recommended fixes can now be installed. Category: recommended (moderate) Bug References: 1172650,1195269 CVE References: JIRA References: Sources used: openSUSE Backports SLE-15-SP4 (src): translate-toolkit-2.5.0-bp154.2.3.1, translate-toolkit-test-2.5.0-bp154.2.3.1
I was checking skelcd-openSUSE package (by adding 15.4 and 15.4:Update repos), and rpm package has fixed. https://build.opensuse.org/package/binaries/home:ivanvorstanenko:branches:openSUSE:Leap:15.4/skelcd-openSUSE/15.4 When is it planned to release ISOs of 15.4.1? As I understand, in ISOs of 15.4.1 license translations will be shown correct.
Hello team, the date for the QU1 respin is Wed, Oct 5th, 2022 Quarterly Update 1 from https://en.opensuse.org/openSUSE:Roadmap
Ok! When you can rebuild skelcd-openSUSE package to completely fix it? And, as I understand, you still need to rebuild ISO images, right? I hope, fixed package can receive, for example, in NET images or in DVD images with Internet (because I don't know full mechanism of loading packages on Installaton/Upgrading options in images).