Bug 1231735

Summary: [abrt] yumex-dnf: __init__.py:1009:_populate_transaction:UnboundLocalError: local variable 'pkg' referenced before assignment
Product: [Fedora] Fedora Reporter: M2wa2 <willymacha13>
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: tim.lauridsen
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/3556b64a4d0eca1ec5496d0376153e16082f4634
Whiteboard: abrt_hash:870531080d70dd71af50ba9d225e58acba2662c9
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-06 13:26:41 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 M2wa2 2015-06-15 10:23:26 UTC
Version-Release number of selected component:
yumex-dnf-4.1.3-1.fc23

Additional info:
reporter:       libreport-2.6.0
cmdline:        /usr/bin/python3 -tt /usr/bin/yumex-dnf
executable:     /usr/bin/yumex-dnf
kernel:         4.1.0-0.rc7.git0.1.fc23.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
__init__.py:1009:_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 951, 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 1106, in process_actions
    result = self._build_from_queue()
  File "/usr/lib/python3.4/site-packages/yumex/__init__.py", line 1036, in _build_from_queue
    self._populate_transaction()
  File "/usr/lib/python3.4/site-packages/yumex/__init__.py", line 1009, in _populate_transaction
    logger.debug('%s: %s' % (rc, pkg))
UnboundLocalError: local variable 'pkg' referenced before assignment

Local variables in innermost frame:
errors: 0
action: 'i'
rc: False
trans: ['nothing provides tomcat-servlet-3.0-api needed by mojarra-2.1.7-8.fc20.noarch']
grp_id: 'javaenterprise'
pkgs: []
self: <YumexWindow object at 0x7f7f0dd71318 (yumex+YumexWindow at 0x55aebba58290)>
error_msgs: set()

Comment 1 M2wa2 2015-06-15 10:23:29 UTC
Created attachment 1038874 [details]
File: backtrace

Comment 2 M2wa2 2015-06-15 10:23:31 UTC
Created attachment 1038875 [details]
File: environ

Comment 3 Jan Kurik 2015-07-15 14:00:12 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle.
Changing version to '23'.

(As we did not run this process for some time, it could affect also pre-Fedora 23 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23

Comment 4 Tim Lauridsen 2015-10-06 13:26:41 UTC

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