Steps to Reproduce: 1. start dnfdragora as user; 2. select package to install, and to execute the install; 3. dnfdragora asks for root password, click abort Expected: dialog close and i am back in dnfdragora, nothing changed Happens: dnfdragora quits immediately! In konsole where i started dnfdragora: dnfdaemon client error: g-io-error-quark: GDBus.Error:org.baseurl.DnfSystem.AccessDeniedError: Session is not authorized (36) <_M_> [ui] YUILoader.cc:104 deleteUI(): Shutting down UI Closing dnfdragora <_M_> [ew] YExternalWidgets.cc:116 ~YExternalWidgetsTerminator(): Shutting down mga External Widgets <_M_> [ew] YMGAWidgetExtensionFactory.cc:49 ~YMGAWidgetFactory(): Factory removed
Steps to reproduce as above, but now enter root password and proceed: Messages as per below in konsole, and also in a popup error message and when that message is closed, dnfdragora exits. <WRN> [qt-ui] YQUI.cc:731 qMessageHandler(): <libqt-warning> QXcbConnection: XCB error: 3 (BadWindow), sequence: 1931, resource id: 39846756, major code: 40 (TranslateCoords), minor code: 0 on_TransactionEvent start on_TransactionEvent download dnfdaemon client error: g-io-error-quark: GDBus.Error:org.freedesktop.DBus.Python.TypeError: Traceback (most recent call last): File "/usr/lib64/python3.5/site-packages/dbus/service.py", line 707, in _message_cb retval = candidate_method(self, *args, **keywords) File "/usr/lib/python3.5/site-packages/dnfdaemon/server/__init__.py", line 83, in newFunc rc = func(*args, **kwargs) File "/usr/share/dnfdaemon/dnfdaemon-system", line 537, in RunTransaction result = self.run_transaction() File "/usr/lib/python3.5/site-packages/dnfdaemon/server/__init__.py", line 555, in run_transaction self.base.download_packages(to_dnl, self.base.progress) File "/usr/lib/python3.5/site-packages/dnf/base.py", line 1011, in download_packages progress.start(len(payloads), est_remote_size, total_drpms=total_drpm) TypeError: start() got an unexpected keyword argument 'total_drpms' (36) I set importance high as i think dnfdragora is valuable
Priority: Normal => HighSummary: dnfdragora exits completely if root password dialog is closed => dnfdragora exits with errors when about to abort or begin executing
After having closed the error popup, the same three messages as in comment #0 is output in konsole, then dnfdragora is gone.
Confirmed. It also happens with gtk: dnfdaemon client error occurred: g-io-error-quark: GDBus.Error:org.freedesktop.DBus.Python.TypeError: Traceback (most recent call last): File "/usr/lib64/python3.5/site-packages/dbus/service.py", line 707, in _message_cb retval = candidate_method(self, *args, **keywords) File "/usr/lib/python3.5/site-packages/dnfdaemon/server/__init__.py", line 83, in newFunc rc = func(*args, **kwargs) File "/usr/share/dnfdaemon/dnfdaemon-system", line 537, in RunTransaction result = self.run_transaction() File "/usr/lib/python3.5/site-packages/dnfdaemon/server/__init__.py", line 555, in run_transaction self.base.download_packages(to_dnl, self.base.progress) File "/usr/lib/python3.5/site-packages/dnf/base.py", line 1011, in download_packages progress.start(len(payloads), est_remote_size, total_drpms=total_drpm) TypeError: start() got an unexpected keyword argument 'total_drpms' (36)
Keywords: (none) => NEEDINFOCC: (none) => zen25000
I see NEEDINFO got set. What info is wanted?
CC: (none) => anaselli
progress.start(len(payloads), est_remote_size, total_drpms=total_drpm) Should have fixed by Neal, don't know if dnf or dnfdaemon.
This should have been fixed in dnfdaemon-0.3.18-1.mga6. Please update to that and try again.
Assignee: bugsquad => ngompa13Status: NEW => ASSIGNEDCC: (none) => ngompa13Source RPM: dnfdragora-1.0.1-2.mga6.src.rpm => dnfdaemon-0.3.17-1.mga6.src.rpm
Err, this is fixed in dnfdaemon-0.3.18-1.mga6. Please update to that and try again. See Fedora bug for reference: https://bugzilla.redhat.com/show_bug.cgi?id=1454854
See Also: (none) => https://bugzilla.redhat.com/show_bug.cgi?id=1454854Resolution: (none) => FIXEDStatus: ASSIGNED => RESOLVED
Fixed OK for the case in comment 1 But I reopen as it still errs per comment 0
Resolution: FIXED => (none)Status: RESOLVED => REOPENED
The remaining issue is related to dnfdragora's handling of a canceled out Polkit prompt. Reassigning to dnfdragora.
Source RPM: dnfdaemon-0.3.17-1.mga6.src.rpm => dnfdragora-1.0.1-2.mga6.src.rpmAssignee: ngompa13 => anaselli
Summary: dnfdragora exits with errors when about to abort or begin executing => dnfdragora exits with errors when Polkit dialog is canceled out
on comment#0, and comment#9 well from dnfdragora point of view it is a dnfdaemon error caught as exception, honestly I'm not able to distinguish a cancel event from a real not authorized session or just a transaction error, the exception is caught and the program exit without issue, so... any suggestion?
fixed in github master see: https://github.com/manatools/dnfdragora/commit/54631008b95b089e7c09e9f81475f6ac5617254e
Hi, This is High priority bug for a good reason. Making Mageia even better than ever is best direction. In order to do right thing, this bug should be examined and fixed as soon as possible. Packagers, please make the status to Assigned when you are working on this. Feel free to reassign the bug if bad-triaged. Also, if bug is old, please close it. On October 1st 2020, we will drop priority to normal.
dnfdragora 1.1.2 in mageia 7 should have it fixed already, can someone confirm that? dnfdragora 2.1.0 in cauldron has it fixed as well
Confirming fixed in mga7 Per comment 13 fixed in cauldron mga8
Status: REOPENED => RESOLVEDResolution: (none) => FIXED