Bug 1047617

Summary: malformed format string error prevents OSS repositories from being added via YaST in Dutch locale
Product: [openSUSE] openSUSE Distribution Reporter: heel straf <heelstraf>
Component: TranslationsAssignee: Karl Eichwalder <ke>
Status: RESOLVED WONTFIX QA Contact: Karl Eichwalder <ke>
Severity: Normal    
Priority: P5 - None CC: astieger, epistemepromeneur, fvogt, heelstraf, lnussel, sbrabec
Version: Leap 42.2   
Target Milestone: ---   
Hardware: All   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on: 954505    
Bug Blocks:    
Attachments: save_y2logs

Description heel straf 2017-07-07 04:38:07 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0
Build Identifier: 

Not able to test 42.3 out from the running 42.2
Adding OSS repo fails to load 

Internal error
Details: malformed format string - %L
Caller: /usr/lib64/ruby/gems/2.1.0/gems/fast_gettext-0.9.2/lib/fast_gettext/vendor/string.rb:70:in `%'

Reproducible: Always

Actual Results:  
repostiries OSS don't switch to 42.3
Comment 1 Andreas Stieger 2017-07-07 06:40:10 UTC
Which command or actions do you do exactly yo trigger this error?
Comment 2 Fabian Vogt 2017-07-07 09:41:32 UTC
Sounds like a broken translation to me, can you upload the yast2 logs generated by save_y2logs?
Comment 3 heel straf 2017-07-07 10:57:25 UTC
(In reply to Andreas Stieger from comment #1)
> Which command or actions do you do exactly yo trigger this error?

- Over Yast2 GUI version, adding /changing repositorie OSS
  (other repo's work, like non-OSS, update, nvidia, ....)

- Adding the iso:x86_64-Build0308 is the same error I get.


language= dutch.
Comment 4 heel straf 2017-07-07 10:58:20 UTC
(In reply to Fabian Vogt from comment #2)
> Sounds like a broken translation to me, can you upload the yast2 logs
> generated by save_y2logs?

Yes i can, but it will be tommorow ;-)
Comment 5 heel straf 2017-07-08 05:33:57 UTC
Created attachment 731677 [details]
save_y2logs
Comment 6 heel straf 2017-07-08 07:48:35 UTC
editing /etc/zypp/repos.d/OSS.repo (with kwrite) from 42.2 to 42.3 works, 
Yast GUI load the 42.3 OSS repo
Comment 7 Steffen Winterfeldt 2017-07-11 09:41:50 UTC
'%Licentieovereenkomst van %s'

The bug is in the Leap-42.2 translations of yast-packager.
Comment 8 Karl Eichwalder 2017-07-11 10:54:54 UTC
AFAIK, gettext still does not support ruby.  Thus we cannot check ruby strings in .po files.  This is a rather serious issue and we probably must accept yast crashes for the years to come.  For example, see bug 980329 or bug 954505.
Comment 9 Ludwig Nussel 2017-07-11 11:03:26 UTC
I've increased priority of the latter bug. Not sure if that gets reflected in Trello automatically though.

Karl, for the issue at hand could you just fix the string manually in git?
Comment 10 Steffen Winterfeldt 2017-07-11 11:28:57 UTC
Note this is fixed in 42.3, it just prevents the update to 42.3.
Comment 11 Andreas Stieger 2017-07-11 11:31:00 UTC
removing needinfo, answered in comment #3
Comment 12 Karl Eichwalder 2017-07-11 12:17:07 UTC
(In reply to Ludwig Nussel from comment #9)
> I've increased priority of the latter bug. Not sure if that gets reflected
> in Trello automatically though.

Thanks!

> Karl, for the issue at hand could you just fix the string manually in git?

I just commited
https://github.com/yast/yast-translations/commit/7397263fbd62bc325df95215f8b244a617785ef4

And now we'll probably need a package update?
Comment 13 Ludwig Nussel 2017-07-11 12:49:49 UTC
yes, yast2-trans to openSUSE:Leap:42.2:Update
Comment 14 Andreas Stieger 2017-07-11 13:26:39 UTC
adjusted summary
Comment 15 Episteme PROMENEUR 2017-07-28 16:19:29 UTC
when will you supply the update of 42.2 yast2-trans ?
i can't upgrade from 42.2 to 42.3.
Comment 16 Tomáš Chvátal 2018-04-17 14:13:26 UTC
This is automated batch bugzilla cleanup.

The openSUSE 42.2 changed to end-of-life (EOL [1]) status. As such
it is no longer maintained, which means that it will not receive any
further security or bug fix updates.
As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
openSUSE, or you can still observe it under openSUSE Leap 15.0, please
feel free to reopen this bug against that version (see the "Version"
component in the bug fields), or alternatively open
a new ticket.

Thank you for reporting this bug and we are sorry it could not be fixed
during the lifetime of the release.

[1] https://en.opensuse.org/Lifetime