Bug 1569009

Summary: ValueError: plural forms expression could be dangerous
Product: [Fedora] Fedora Reporter: Nerijus Baliūnas <nerijus>
Component: virt-viewerAssignee: Daniel Berrangé <berrange>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 28CC: berrange, cfergeau, fidencio, marcandre.lureau
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-03-21 13:43:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nerijus Baliūnas 2018-04-18 13:44:33 UTC
Please see bug 1334960 and bug 1364114.

There is a typo in virt-viewer/po/lt.po (Lithuanian translation):

"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 or n%100>=20) 

should be ("or" is considered to be an identifier by gettext):

"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20)

Please fix Plural-Forms headers (s/or/||/).

Comment 1 Daniel Berrangé 2019-03-21 13:43:56 UTC
Fixed upstream in 

commit cebaaa22ffae6b7548f9ed723e80c80573ad45f2
Author: Daniel P. Berrangé <berrange>
Date:   Thu Mar 7 13:41:39 2019 +0000

    po: fix syntax error in plural forms for lt language
    
    Signed-off-by: Daniel P. Berrangé <berrange>

So subsequent Fedora will get the fix.