Red Hat Bugzilla – Bug 1151740
dnf base api should not use errorSummary from dnf.cli.BaseCli
Last modified: 2014-12-13 04:53:53 EST
Description of problem:
If there is some kind of error in the transaction dnf.Base.do_transaction will call self.errorSummary, that is only defined in dnf.cli.BaseCli
So an dnf api user will get a traceback like this.
File "/usr/lib/python3.4/site-packages/dnfdaemon/server/init.py", line 531, in run_transaction
File "/usr/lib/python3.4/site-packages/dnf/base.py", line 542, in do_transaction
AttributeError: 'DnfBase' object has no attribute 'errorSummary'
Version-Release number of selected component (if applicable):
Steps to Reproduce:
No traceback, use an exception
Thanks for report.
Fixed in the upstream.
dnf-0.6.3-2.fc21,dnf-plugins-core-0.1.4-1.fc21,hawkey-0.5.2-1.fc21 has been submitted as an update for Fedora 21.
Package dnf-0.6.3-2.fc21, hawkey-0.5.2-1.fc21, dnf-plugins-core-0.1.4-1.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dnf-0.6.3-2.fc21 hawkey-0.5.2-1.fc21 dnf-plugins-core-0.1.4-1.fc21'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
dnf-0.6.3-2.fc21, hawkey-0.5.2-1.fc21, dnf-plugins-core-0.1.4-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.