Bug 1278672

Summary: [abrt] yumex-dnf: __init__.py:1015:_populate_transaction:UnboundLocalError: local variable 'pkg' referenced before assignment
Product: [Fedora] Fedora Reporter: Ahmed Noor Kader Mustajir Md Eusoff <sir.ade>
Component: yumex-dnfAssignee: Tim Lauridsen <tim.lauridsen>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: jylo06g, tim.lauridsen
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/e92fd0f2ed8c4f5a4ef89ddc94b89ebdf8e83735
Whiteboard: abrt_hash:436fd21884ad1c1144125538929c19b5a22f939d;VARIANT_ID=workstation;
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-20 08:23:49 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: environ none

Description Ahmed Noor Kader Mustajir Md Eusoff 2015-11-06 06:40:26 UTC
Version-Release number of selected component:
yumex-dnf-4.1.4-1.fc23

Additional info:
reporter:       libreport-2.6.3
cmdline:        /usr/bin/python3 -tt /usr/bin/yumex-dnf
executable:     /usr/bin/yumex-dnf
kernel:         4.2.5-300.fc23.x86_64+debug
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
__init__.py:1015:_populate_transaction:UnboundLocalError: local variable 'pkg' referenced before assignment

Traceback (most recent call last):
  File "/usr/lib/python3.4/site-packages/yumex/__init__.py", line 957, in on_apply_changes
    self.process_actions()
  File "/usr/lib/python3.4/site-packages/yumex/misc.py", line 145, in newFunc
    rc = func(*args, **kwargs)
  File "/usr/lib/python3.4/site-packages/yumex/__init__.py", line 1114, in process_actions
    result = self._build_from_queue()
  File "/usr/lib/python3.4/site-packages/yumex/__init__.py", line 1042, in _build_from_queue
    self._populate_transaction()
  File "/usr/lib/python3.4/site-packages/yumex/__init__.py", line 1015, in _populate_transaction
    logger.debug('%s: %s' % (rc, pkg))
UnboundLocalError: local variable 'pkg' referenced before assignment

Local variables in innermost frame:
grp_id: 'xfce-desktop'
rc: False
action: 'r'
error_msgs: set()
pkgs: []
errors: 0
trans: ['package lxde-common-0.99.0-1.fc23.noarch requires desktop-backgrounds-compat, but none of the providers can be installed']
self: <YumexWindow object at 0x7f4761cfbf78 (yumex+YumexWindow at 0x55b6d1cac290)>

Comment 1 Ahmed Noor Kader Mustajir Md Eusoff 2015-11-06 06:40:35 UTC
Created attachment 1090464 [details]
File: backtrace

Comment 2 Ahmed Noor Kader Mustajir Md Eusoff 2015-11-06 06:40:37 UTC
Created attachment 1090465 [details]
File: environ

Comment 3 Tim Lauridsen 2015-11-20 08:23:49 UTC

*** This bug has been marked as a duplicate of bug 1262879 ***