Bug 1205837
| Summary: | [abrt] dnf: local.py:103:config:KeyError: u'repodir' | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | George Nikandrov <gnikandrov+fedora> | ||||||||
| Component: | dnf | Assignee: | Packaging Maintenance Team <packaging-team-maint> | ||||||||
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
| Severity: | unspecified | Docs Contact: | |||||||||
| Priority: | unspecified | ||||||||||
| Version: | 22 | CC: | jsilhan, mluscon, packaging-team-maint, pnemade, rholy, tim.lauridsen | ||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | x86_64 | ||||||||||
| OS: | Unspecified | ||||||||||
| URL: | https://retrace.fedoraproject.org/faf/reports/bthash/16fc148c47aceba918251420965395ffa322c3c4 | ||||||||||
| Whiteboard: | abrt_hash:50180b415763aee08b54a6919667d6bb88883735 | ||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2015-04-03 13:32:44 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 1006405 [details]
File: backtrace
Created attachment 1006406 [details]
File: dso_list
Created attachment 1006407 [details]
File: environ
*** This bug has been marked as a duplicate of bug 1208614 *** |
Description of problem: Running dnf with 'local' plugin fails when 'enabled = false' is specified in /etc/dnf/plugins/local.conf Version-Release number of selected component: dnf-0.6.4-2.fc22 Additional info: reporter: libreport-2.5.0 cmdline: /usr/bin/python -OO /usr/bin/dnf list *plugins* executable: /usr/bin/dnf kernel: 4.0.0-0.rc4.git0.1.fc22.x86_64 runlevel: N 5 type: Python uid: 0 Truncated backtrace: local.py:103:config:KeyError: u'repodir' 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 182, 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 1003, in configure self.base.plugins.run_config() File "/usr/lib/python2.7/site-packages/dnf/plugin.py", line 82, in fn dnf.util.mapall(operator.methodcaller(method), self.plugins) File "/usr/lib/python2.7/site-packages/dnf/util.py", line 157, in mapall return list(map(fn, *seq)) File "/usr/lib/python2.7/site-packages/dnf-plugins/local.py", line 103, in config local_repo.baseurl = "file://{}".format(self.main["repodir"]) KeyError: u'repodir' Local variables in innermost frame: local_repo: <Repo _local> parser: <dnf.plugin.dynamic.local.LocalConfParse object at 0x7f306e5e2b90> self: <dnf.plugin.dynamic.local.Local object at 0x7f306e5e2850> conf: <iniparse.compat.ConfigParser object at 0x7f306e5e2950>