Bug 1334960
| Summary: | ValueError: plural forms expression could be dangerous | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Nerijus Baliūnas <nerijus> | ||||||||||||||||||||||||||
| Component: | python-blivet | Assignee: | Samantha N. Bueno <sbueno> | ||||||||||||||||||||||||||
| Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||||||||||||||||||
| Priority: | unspecified | ||||||||||||||||||||||||||||
| Version: | 25 | CC: | anaconda-maint-list, awilliam, blivet-maint-list, g.kaviyarasu, gmarr, jonathan, nerijus, robatino, satellitgo, vanmeeuwen+fedora | ||||||||||||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||||||||||||
| Target Release: | --- | ||||||||||||||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||||||||||||
| Whiteboard: | abrt_hash:4ce8498e0a95be83baa56836001951c7fcb8c277c78995eb709d9124f9cef438; RejectedBlocker AcceptedFreezeException | ||||||||||||||||||||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||||||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||||||||||||
| Last Closed: | 2016-10-11 14:22:03 UTC | Type: | --- | ||||||||||||||||||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||||||||||||||||||
| Documentation: | --- | CRM: | |||||||||||||||||||||||||||
| Verified Versions: | Category: | --- | |||||||||||||||||||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||||||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||||||||||||||
| Embargoed: | |||||||||||||||||||||||||||||
| Bug Depends On: | |||||||||||||||||||||||||||||
| Bug Blocks: | 1230436 | ||||||||||||||||||||||||||||
| Attachments: |
|
||||||||||||||||||||||||||||
Created attachment 1155900 [details]
File: anaconda-tb
Created attachment 1155901 [details]
File: anaconda.log
Created attachment 1155902 [details]
File: dnf.log
Created attachment 1155903 [details]
File: environ
Created attachment 1155904 [details]
File: lsblk_output
Created attachment 1155905 [details]
File: nmcli_dev_list
Created attachment 1155906 [details]
File: os_info
Created attachment 1155907 [details]
File: program.log
Created attachment 1155908 [details]
File: storage.log
Created attachment 1155909 [details]
File: syslog
Created attachment 1155910 [details]
File: ifcfg.log
Created attachment 1155911 [details]
File: packaging.log
Choosing English works OK. Someone with permissions in Zanata needs to fix the Plural-Forms headers (s/or/||/) and push lt.po back to zanata. I tried. Zanata is not cooperating and I cannot find where that gets set on the server side. zanata push --push-type target --lang lt ... [ERROR] Can not find the lt translation for blivet po/lt.po exists, and I get the same error if I add --srcdir ./po/ Will it be fixed, because Final Freeze is coming? Proposed as a Blocker for 24-final by Fedora user nerijus using the blocker tracking app because: Cannot use Lithuanian language in installer. Seems to be quite easy to fix. Discussed during the 2016-05-30 blocker review meeting: [1] Decision was made to not classify this a blocker as the locale that this bug affects is not large enough to block release on. It is however, big enough to warrant a freeze exception. [1] https://meetbot-raw.fedoraproject.org/fedora-blocker-review/2016-05-30/f24-blocker-review.2016-05-30-16.01.txt Proposed as a Freeze Exception for 24-final by Fedora user nerijus using the blocker tracking app because: Lithuanian cannot be used in installer, and it seems to be quite easy to fix. Looks like lt.po is now correct. Uses || instead of 'or' in the Plural-Forms Is there a test iso image which I can test? brian: don't we need a new package build of blivet for this to be 'ON_QA'? Yes, sorry about that. Unfortunately it was not fixed for the final F24 release. yeah, we never did get a new build of blivet, not sure why not :( Works on F25 beta. |
Description of problem: Choose Lithuanian language and choose disks (partitioning). Version-Release number of selected component: anaconda-24.13.4-1 The following was filed automatically by anaconda: anaconda 24.13.4-1 exception report Traceback (most recent call first): File "/usr/lib64/python3.5/gettext.py", line 76, in c2py raise ValueError('plural forms expression could be dangerous') File "/usr/lib64/python3.5/gettext.py", line 297, in _parse self.plural = c2py(plural) File "/usr/lib64/python3.5/gettext.py", line 162, in __init__ self._parse(fp) File "/usr/lib64/python3.5/gettext.py", line 426, in translation t = _translations.setdefault(key, class_(fp)) File "/usr/lib/python3.5/site-packages/blivet/i18n.py", line 37, in _get_translations _cached_translations[lc_messages] = gettext.translation("blivet", fallback=True) File "/usr/lib/python3.5/site-packages/blivet/i18n.py", line 51, in <lambda> _ = lambda x: _get_translations().gettext(x) if x != "" else "" File "/usr/lib/python3.5/site-packages/blivet/size.py", line 107, in _makeSpec word = (_(prefix) + _(suffix)) File "/usr/lib/python3.5/site-packages/blivet/size.py", line 433, in humanReadable return retval_str + " " + _makeSpec(unit.abbr, _BYTES_SYMBOL, xlate, lowercase=False) File "/usr/lib/python3.5/site-packages/blivet/size.py", line 286, in _toString return self.humanReadable() File "/usr/lib/python3.5/site-packages/blivet/size.py", line 289, in __str__ return stringize(self._toString()) File "/usr/lib64/python3.5/site-packages/pyanaconda/ui/gui/spokes/storage.py", line 659, in _add_disk_overview str(disk.size), File "/usr/lib64/python3.5/site-packages/pyanaconda/ui/gui/spokes/storage.py", line 574, in refresh self._add_disk_overview(disk, self.local_disks_box) File "/usr/lib64/python3.5/site-packages/pyanaconda/ui/gui/hubs/__init__.py", line 378, in _on_spoke_clicked spoke.refresh() ValueError: plural forms expression could be dangerous Additional info: addons: com_redhat_kdump cmdline: /usr/bin/python3 /sbin/anaconda cmdline_file: BOOT_IMAGE=/images/pxeboot/vmlinuz inst.stage2=hd:LABEL=Fedora-S-dvd-x86_64-24 quiet dnf.rpm.log: May 10 23:11:21 INFO --- logging initialized --- executable: /sbin/anaconda hashmarkername: anaconda kernel: 4.5.2-302.fc24.x86_64 product: Fedora release: Cannot get release name. reproducible: Not sure how to reproduce the problem type: anaconda version: 24