Bug 1195269 - Installation - license agreement empty - empty license translations
Summary: Installation - license agreement empty - empty license translations
Status: IN_PROGRESS
: 1198985 (view as bug list)
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: Installation (show other bugs)
Version: Leap 15.4
Hardware: Other Other
: P1 - Urgent : Normal with 8 votes (vote)
Target Milestone: ---
Assignee: Lubos Kocman
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-28 12:32 UTC by Duquaine
Modified: 2022-07-16 12:23 UTC (History)
6 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
screenshot (91.97 KB, image/png)
2022-01-28 12:32 UTC, Duquaine
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Duquaine 2022-01-28 12:32:21 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
Comment 1 Ladislav Slezák 2022-02-08 14:05:07 UTC
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.
Comment 2 Gertjan Lettink 2022-03-04 02:13:39 UTC
Same for NL translation
Comment 3 Ivan Vorstanenko 2022-06-15 19:39:17 UTC
Same for Russian
Comment 4 Ivan Vorstanenko 2022-06-15 19:41:52 UTC
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
Comment 5 Ivan Vorstanenko 2022-06-16 07:40:56 UTC
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?
Comment 6 Ivan Vorstanenko 2022-06-18 10:07:26 UTC
*** Bug 1198985 has been marked as a duplicate of this bug. ***
Comment 7 Ivan Vorstanenko 2022-06-20 09:21:37 UTC
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.
Comment 8 Ivan Vorstanenko 2022-06-23 14:10:53 UTC
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.
Comment 9 Ivan Vorstanenko 2022-06-23 15:13:19 UTC
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.
Comment 10 Ivan Vorstanenko 2022-06-23 20:30:54 UTC
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.
Comment 11 Dominique Leuenberger 2022-06-24 09:00:23 UTC
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)
Comment 12 OBSbugzilla Bot 2022-06-24 10:40:06 UTC
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
Comment 13 Stanislav Brabec 2022-06-24 12:49:45 UTC
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.
Comment 14 Dominique Leuenberger 2022-06-24 13:03:45 UTC
(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.
Comment 15 Stanislav Brabec 2022-06-24 13:33:36 UTC
Dominique Leuenberger: It was answer to comment 8. There were bug 1197965, bug 1194803 and bug 1198259, all unrelated to this problem.
Comment 16 Dominique Leuenberger 2022-06-24 13:40:05 UTC
(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
Comment 17 Ivan Vorstanenko 2022-06-30 12:34:21 UTC
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?
Comment 18 Dominique Leuenberger 2022-06-30 14:49:43 UTC
(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
Comment 19 Swamp Workflow Management 2022-07-10 19:14:45 UTC
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
Comment 20 Ivan Vorstanenko 2022-07-11 10:25:28 UTC
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.
Comment 21 Lubos Kocman 2022-07-11 10:45:48 UTC
Hello team,

the date for the QU1 respin is


Wed, Oct 5th, 2022 Quarterly Update 1
from https://en.opensuse.org/openSUSE:Roadmap
Comment 22 Ivan Vorstanenko 2022-07-16 12:23:44 UTC
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).