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 self.base.do_transaction(display=display) File "/usr/lib/python3.4/site-packages/dnf/base.py", line 542, in do_transaction self.errorSummary(errstring)) AttributeError: 'DnfBase' object has no attribute 'errorSummary' Version-Release number of selected component (if applicable): 0.6.2 How reproducible: every time Steps to Reproduce: 1. 2. 3. Actual results: Traceback Expected results: No traceback, use an exception Additional info:
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. https://admin.fedoraproject.org/updates/dnf-0.6.3-2.fc21,dnf-plugins-core-0.1.4-1.fc21,hawkey-0.5.2-1.fc21
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: https://admin.fedoraproject.org/updates/FEDORA-2014-16760/dnf-0.6.3-2.fc21,dnf-plugins-core-0.1.4-1.fc21,hawkey-0.5.2-1.fc21 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.