Bug 1087566
| Summary: | [abrt] dnf: logging.py:144:setup:AttributeError: 'module' object has no attribute 'captureWarnings' | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | gala_dragos <gala_dragos> | ||||||
| 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: | 20 | CC: | akozumpl, gala_dragos, packaging-team-maint, pnemade, rholy, tim.lauridsen | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | i686 | ||||||||
| OS: | Unspecified | ||||||||
| URL: | https://retrace.fedoraproject.org/faf/reports/bthash/d2ecab325399fb4d6940b26428be486ec4d6f412 | ||||||||
| Whiteboard: | abrt_hash:6f3ad6d60f46e776db7fa2f7b5301112c5919695 | ||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2014-04-24 10:45:18 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 886176 [details]
File: backtrace
Created attachment 886177 [details]
File: environ
Thanks for reporting, we'll take a look. *** This bug has been marked as a duplicate of bug 1081753 *** |
Version-Release number of selected component: dnf-0.4.19-1.fc20 Additional info: reporter: libreport-2.2.1 cmdline: /usr/bin/python /usr/bin/dnf -v makecache timer executable: /usr/bin/dnf kernel: 3.13.9-200.fc20.i686+PAE runlevel: N 5 type: Python uid: 0 Truncated backtrace: logging.py:144:setup:AttributeError: 'module' object has no attribute 'captureWarnings' Traceback (most recent call last): File "/usr/bin/dnf", line 35, in <module> main.user_main(sys.argv[1:], exit_code=True) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 242, in user_main errcode = main(args) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 75, in main return _main(base, args) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 103, in _main cli.configure(args) File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 1240, in configure self.read_conf_file(opts.conffile, root, releasever, overrides) File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 1343, in read_conf_file self.base.logging.setup_from_dnf_conf(conf) File "/usr/lib/python2.7/site-packages/dnf/logging.py", line 162, in setup_from_dnf_conf return self.setup(verbose_level_r, error_level_r, logdir) File "/usr/lib/python2.7/site-packages/dnf/logging.py", line 45, in swan_song fn(self, *args, **kwargs) File "/usr/lib/python2.7/site-packages/dnf/logging.py", line 144, in setup logging.captureWarnings(True) AttributeError: 'module' object has no attribute 'captureWarnings' Local variables in innermost frame: verbose_level: 10 self: <dnf.logging.Logging object at 0xb5c12bac> logger_dnf: <logging.Logger instance at 0xb603f18c> error_level: 30 handler: <logging.FileHandler instance at 0xb5c1e40c> logdir: '/var/log' logfile: '/var/log/dnf.log'