Bug 1048402
Summary: | [abrt] dnf: cli.py:1521:search:AttributeError: 'module' object has no attribute 'exception' | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | autarch princeps <autarch> | ||||||
Component: | dnf | Assignee: | Ales Kozumplik <akozumpl> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | urgent | Docs Contact: | |||||||
Priority: | urgent | ||||||||
Version: | 20 | CC: | akozumpl, dominidomini, fedora, jzeleny, lnie, michele, pablo.iranzo, pnemade, rholy, rosset.filipe, sanjay.ankur | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | x86_64 | ||||||||
OS: | Unspecified | ||||||||
URL: | https://retrace.fedoraproject.org/faf/reports/bthash/f35f01774d0254196706036b02d3474a7ebe5afc | ||||||||
Whiteboard: | abrt_hash:7743f4064bea334b21f861bf3417d76d57444932 | ||||||||
Fixed In Version: | dnf-0.4.11-1.fc20 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2014-01-11 08:47:43 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: |
|
Description
autarch princeps
2014-01-03 23:41:19 UTC
Created attachment 845130 [details]
File: backtrace
Created attachment 845131 [details]
File: environ
Also reproducible here: [root@localhost ~]# dnf search libxfconf Warning: No matches found for: libxfconf Traceback (most recent call last): File "/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 240, in user_main errcode = main(args) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 63, in main return _main(base, args) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 122, in _main cli.run() File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 1456, in run return self.command.run(self.base.extcmds) File "/usr/lib/python2.7/site-packages/dnf/cli/commands.py", line 988, in run return self.cli.search(extcmds) File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 1521, in search raise dnf.exception.Error(_('No Matches found')) AttributeError: 'module' object has no attribute 'exception' [root@localhost ~]# rpm -qa |grep dnf dnf-0.4.10-1.fc20.noarch [root@localhost ~]# uname -a Linux localhost.localdomain 3.13.0-0.rc6.git0.2.fc21.x86_64 #1 SMP Tue Dec 31 04:14:44 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux [root@localhost ~]# Ran into this just now: [asinha@ankur-laptop work]$ sudo dnf search "xmlbase" Warning: No matches found for: xmlbase Traceback (most recent call last): File "/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 240, in user_main errcode = main(args) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 63, in main return _main(base, args) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 122, in _main cli.run() File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 1456, in run return self.command.run(self.base.extcmds) File "/usr/lib/python2.7/site-packages/dnf/cli/commands.py", line 988, in run return self.cli.search(extcmds) File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 1521, in search raise dnf.exception.Error(_('No Matches found')) AttributeError: 'module' object has no attribute 'exception' Hey, thanks for the report, I'll take a look. Fixed upstream by ccca105, this will be released in dnf-0.4.11. Another user experienced a similar problem: Latest version of DNF crashes when searching for something which cannot be found. E.g. searching for 'rockbox' by typing $ dnf search rockbox this is always reproducible for me with any random search string that cannot be found. This is reproducible as default user and as root. reporter: libreport-2.1.10 cmdline: /usr/bin/python /usr/bin/dnf search rockbox executable: /usr/bin/dnf kernel: 3.12.6-300.fc20.x86_64 package: dnf-0.4.10-1.fc20 reason: cli.py:1521:search:AttributeError: 'module' object has no attribute 'exception' runlevel: N 5 type: Python uid: 1000 dnf-0.4.11-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/dnf-0.4.11-1.fc20 dnf-0.4.11-1.fc20 works Package dnf-0.4.11-1.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing dnf-0.4.11-1.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-0573/dnf-0.4.11-1.fc20 then log in and leave karma (feedback). dnf-0.4.11-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. |