Bug 1256425

Summary: [abrt] yumex-dnf: widgets.py:307:_is_fedora_pkg:AttributeError: 'NoneType' object has no attribute 'repository'
Product: [Fedora] Fedora Reporter: Stefan Gies <stefan998>
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: 22CC: tim.lauridsen
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/1e694e5eb571bf73a89d350a94a42844adf25faa
Whiteboard: abrt_hash:2885e655a104a4d4ecdcdc5594fa3fdc0de61617
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-06 09:15:10 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 Stefan Gies 2015-08-24 14:32:06 UTC
Version-Release number of selected component:
yumex-dnf-4.1.2-1.fc22

Additional info:
reporter:       libreport-2.6.2
cmdline:        /usr/bin/python3 -tt /usr/bin/yumex-dnf
executable:     /usr/bin/yumex-dnf
kernel:         4.1.5-200.fc22.i686
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
widgets.py:307:_is_fedora_pkg:AttributeError: 'NoneType' object has no attribute 'repository'

Traceback (most recent call last):
  File "/usr/lib/python3.4/site-packages/yumex/__init__.py", line 701, in on_pkg_view_selection_changed
    self.info.set_package(pkg)
  File "/usr/lib/python3.4/site-packages/yumex/gui/widgets.py", line 258, in set_package
    self.update()
  File "/usr/lib/python3.4/site-packages/yumex/gui/widgets.py", line 268, in update
    self._show_description()
  File "/usr/lib/python3.4/site-packages/yumex/gui/widgets.py", line 324, in _show_description
    if self._is_fedora_pkg():
  File "/usr/lib/python3.4/site-packages/yumex/gui/widgets.py", line 307, in _is_fedora_pkg
    if self.current_package.repository in const.FEDORA_REPOS:
AttributeError: 'NoneType' object has no attribute 'repository'

Local variables in innermost frame:
self: <PackageInfo object at 0xb47ebf04 (yumex+gui+widgets+PackageInfo at 0x9b307c0)>

Potential duplicate: bug 1253630

Comment 1 Stefan Gies 2015-08-24 14:32:09 UTC
Created attachment 1066414 [details]
File: backtrace

Comment 2 Stefan Gies 2015-08-24 14:32:10 UTC
Created attachment 1066415 [details]
File: environ

Comment 3 Tim Lauridsen 2015-10-06 09:15:10 UTC

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