Bug 1244400
| Summary: | [abrt] dnf: compat.py:125:get:NoOptionError: No option u'langpack_locales' in section: u'main' | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | mithrial | ||||||||
| Component: | dnf-langpacks | Assignee: | Parag Nemade <pnemade> | ||||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
| Severity: | unspecified | Docs Contact: | |||||||||
| Priority: | unspecified | ||||||||||
| Version: | 22 | CC: | autarch, bruno, bztdlinux, fedora, jsilhan, mithrial, mluscon, moggers87, mschmidt, packaging-team-maint, pnemade, renault, rholy, shawnx, stefano.manocchio, tim.lauridsen, timothy.m.butterworth, tomek, utilitymail, vmukhame | ||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | x86_64 | ||||||||||
| OS: | Unspecified | ||||||||||
| URL: | https://retrace.fedoraproject.org/faf/reports/bthash/e1b79c4bc3b56ba4e24ce89e8056cf5df13c0409 | ||||||||||
| Whiteboard: | abrt_hash:b3dd2716b0c031e5b4ebb381531113ed4a864055 | ||||||||||
| Fixed In Version: | dnf-langpacks-0.11.1-1.fc22 | Doc Type: | Bug Fix | ||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2015-07-21 08:12:41 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: | |||||||||||
| Attachments: |
|
||||||||||
Created attachment 1053370 [details]
File: backtrace
Created attachment 1053371 [details]
File: dso_list
Created attachment 1053372 [details]
File: environ
*** Bug 1244401 has been marked as a duplicate of this bug. *** dnf-langpacks-0.11.1-1.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/dnf-langpacks-0.11.1-1.fc22 *** Bug 1244417 has been marked as a duplicate of this bug. *** This bug was fixed by this update for me. Another user experienced a similar problem: After to upgrade with "dnf -y upgrade" reporter: libreport-2.6.1 cmdline: /usr/bin/python -OO /bin/dnf -y remove kernel*-4.0.7-300.fc22.x86_64 event_log: 2015-07-19-19:27:22> (« report_uReport » terminé avec succès) executable: /bin/dnf kernel: 4.0.8-300.fc22.x86_64 package: dnf-1.0.1-2.fc22 reason: compat.py:125:get:NoOptionError: No option u'langpack_locales' in section: u'main' runlevel: N 5 type: Python uid: 0 For those unfortunate enough to have gotten this from updates-testing, here's how to fix: wget https://kojipkgs.fedoraproject.org//packages/dnf-langpacks/0.11.1/1.fc22/noarch/dnf-langpacks-0.11.1-1.fc22.noarch.rpm sudo rpm -U dnf-langpacks-0.11.1-1.fc22.noarch.rpm dnf-langpacks-0.11.1-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: I just typed dnf into the console. Doesn't matter if as user or root. Version-Release number of selected component: dnf-1.0.1-2.fc22 Additional info: reporter: libreport-2.6.1 cmdline: /usr/bin/python -OO /usr/bin/dnf search requests executable: /usr/bin/dnf kernel: 4.0.8-300.fc22.x86_64 runlevel: N 5 type: Python uid: 0 Truncated backtrace: compat.py:125:get:NoOptionError: No option u'langpack_locales' in section: u'main' Traceback (most recent call last): File "/usr/bin/dnf", line 36, in <module> main.user_main(sys.argv[1:], exit_code=True) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 185, in user_main errcode = main(args) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 84, in main return _main(base, args) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 115, in _main cli.configure(map(ucd, args)) File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 984, in configure self.base.plugins.run_init(self.base, self) File "/usr/lib/python2.7/site-packages/dnf/plugin.py", line 104, in run_init plugin = p_cls(base, cli) File "/usr/lib/python2.7/site-packages/dnf-plugins/langpacks.py", line 692, in __init__ conflist = config.get('main', 'langpack_locales') File "/usr/lib/python2.7/site-packages/iniparse/compat.py", line 222, in get value = RawConfigParser.get(self, section, option, vars) File "/usr/lib/python2.7/site-packages/iniparse/compat.py", line 125, in get raise NoOptionError(option, section) NoOptionError: No option u'langpack_locales' in section: u'main' Local variables in innermost frame: section: u'main' sec: <iniparse.ini.INISection object at 0x7f6fbe731850> option: u'langpack_locales' vars: None self: <iniparse.compat.ConfigParser object at 0x7f6fbe731610>