| Summary: | [abrt] yumex-dnf: locale.py:595:setlocale:locale.Error: unsupported locale setting | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Rafal Luzynski <digitalfreak> | ||||||
| Component: | yumex-dnf | Assignee: | Björn 'besser82' Esser <besser82> | ||||||
| Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 24 | CC: | tla | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Unspecified | ||||||||
| URL: | https://retrace.fedoraproject.org/faf/reports/bthash/f13ead97ef2386328a606ce8188df3bcc4add744 | ||||||||
| Whiteboard: | abrt_hash:6eb84885c981da189989e656b1a3d019e7c8633b;VARIANT_ID=workstation; | ||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2017-08-08 19:23:14 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Attachments: |
|
||||||||
Created attachment 1209121 [details]
File: backtrace
Created attachment 1209122 [details]
File: environ
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This message is a reminder that Fedora 24 is nearing its end of life. Approximately 2 (two) weeks from now Fedora will stop maintaining and issuing updates for Fedora 24. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '24'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 24 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Fedora 24 changed to end-of-life (EOL) status on 2017-08-08. Fedora 24 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 Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |
Description of problem: I played with different locale settings from command line and used LANG=ja_JA.utf8 which is of course incorrect (correct locale for Japanese is ja_JP.utf8). However, yumex-dnf crashed. What I'd expect it to do is to fallback to C locale, print or display a warning but otherwise work normally. If a new locale appears in future or a user has some incorrect settings yumex-dnf will stop working. Version-Release number of selected component: yumex-dnf-4.3.3-1.fc24 Additional info: reporter: libreport-2.7.2 cmdline: /usr/bin/python3 /usr/bin/yumex-dnf executable: /usr/bin/yumex-dnf kernel: 4.7.5-200.fc24.x86_64 pkg_fingerprint: 73BD E983 81B4 6521 pkg_vendor: Fedora Project runlevel: N 5 type: Python3 uid: 500 Truncated backtrace: locale.py:595:setlocale:locale.Error: unsupported locale setting Traceback (most recent call last): File "/usr/bin/yumex-dnf", line 37, in <module> from yumex import YumexApplication File "/usr/lib/python3.5/site-packages/yumex/__init__.py", line 24, in <module> from yumex.misc import _, CONFIG File "/usr/lib/python3.5/site-packages/yumex/misc.py", line 38, in <module> locale.setlocale(locale.LC_ALL, '') File "/usr/lib64/python3.5/locale.py", line 595, in setlocale return _setlocale(category, locale) locale.Error: unsupported locale setting Local variables in innermost frame: category: 6 locale: ''