Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1440393

Summary: [abrt] yumex-dnf: on_RPMProgress(): dnf_backend.py:228:on_RPMProgress:KeyError: 'scriptlet'
Product: [Fedora] Fedora Reporter: René Genz <liebundartig>
Component: yumex-dnfAssignee: Björn 'besser82' Esser <besser82>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: besser82, tla
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/b3234c327fe98e8269948c94fda22807f1bf4442
Whiteboard: abrt_hash:c6cc04165a6dd35b88f7a5143485237d4d68ae04;VARIANT_ID=workstation;
Fixed In Version: yumex-dnf-4.3.3-4.1.fc26 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-14 17:20:44 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 Flags
File: backtrace
none
File: cgroup
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

Description René Genz 2017-04-08 13:17:02 UTC
Description of problem:
Problem occured during installation of a package using yumex GUI in Xfce session

1. install Fedora 26 Alpha with Xfce in a virtual machine
2. create local user account with administrative rights
3. after installation and reboot log in with user account
4. start yumex: Applications -- Administration -- Yum Extender (DNF)
5. in tab Packages click on 'All' on the left side
6. activate package 'auter' and install it with 'apply pending actions' button in upper right hand corner

Version-Release number of selected component:
yumex-dnf-4.3.3-4.fc26

Additional info:
reporter:       libreport-2.9.1
cmdline:        /usr/bin/python3 /usr/bin/yumex-dnf
crash_function: on_RPMProgress
exception_type: KeyError
executable:     /usr/bin/yumex-dnf
kernel:         4.11.0-0.rc5.git0.1.fc26.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
dnf_backend.py:228:on_RPMProgress:KeyError: 'scriptlet'

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/dnfdaemon/client/__init__.py", line 187, in __call__
    return getattr(self.proxy, self.method)(*args)
  File "/usr/lib/python3.6/site-packages/dnfdaemon/client/__init__.py", line 228, in _on_g_signal
    self.handle_dbus_signals(proxy, sender, signal, args)
  File "/usr/lib/python3.6/site-packages/dnfdaemon/client/__init__.py", line 556, in handle_dbus_signals
    self.on_RPMProgress(*args)
  File "/usr/lib/python3.6/site-packages/yumex/dnf_backend.py", line 228, in on_RPMProgress
    self.frontend.infobar.info_sub(const.RPM_ACTIONS[action] % name)
KeyError: 'scriptlet'

Local variables in innermost frame:
name: 'auter-0.9-1.fc26.noarch (updates-testing)'
num: ' ( 1/1 )'
ts_total: 1
ts_current: 1
te_total: 100
te_current: 100
action: 'scriptlet'
package: 'auter,0,0.9,1.fc26,noarch,updates-testing'
self: <yumex.dnf_backend.DnfRootBackend object at 0x7f137003ad68>

Comment 1 René Genz 2017-04-08 13:17:08 UTC
Created attachment 1270009 [details]
File: backtrace

Comment 2 René Genz 2017-04-08 13:17:09 UTC
Created attachment 1270010 [details]
File: cgroup

Comment 3 René Genz 2017-04-08 13:17:11 UTC
Created attachment 1270011 [details]
File: environ

Comment 4 René Genz 2017-04-08 13:17:12 UTC
Created attachment 1270012 [details]
File: mountinfo

Comment 5 René Genz 2017-04-08 13:17:14 UTC
Created attachment 1270013 [details]
File: namespaces

Comment 6 René Genz 2017-04-08 13:17:15 UTC
Created attachment 1270014 [details]
File: open_fds

Comment 7 Björn 'besser82' Esser 2017-04-08 15:42:25 UTC
Well, Yumex-DNF isn't developed upstream anymore.

The error you are seeing comes from changes in dnfdaemon made for dnf-2.2.0.  I'll try to make a patch for Yumex-DNF.

The other option you have: Switch to DNFDragora, which will fully replace Yumex-DNF in Fedora 27.

Simply type in terminal: sudo dnf install dnfdragora-gui

Comment 8 Fedora Update System 2017-04-10 19:40:05 UTC
yumex-dnf-4.3.3-4.1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-b39fbb431a

Comment 9 Fedora Update System 2017-04-11 20:52:59 UTC
yumex-dnf-4.3.3-4.1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-b39fbb431a

Comment 10 Fedora Update System 2017-04-14 17:20:44 UTC
yumex-dnf-4.3.3-4.1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.