Bug 1284145

Summary: [abrt] yumex-dnf: views.py:552:_toggle_downgrade:AttributeError: 'NoneType' object has no attribute 'queued'
Product: [Fedora] Fedora Reporter: Robert Martin <robertmartin1961>
Component: yumex-dnfAssignee: Tim Lauridsen <tim.lauridsen>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: robertmartin1961, tim.lauridsen
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/c50de4a6a64472690bd32499663643799047b92f
Whiteboard: abrt_hash:28579252c4f13e4fd5600f5e04adcf3c3b2f5161;VARIANT_ID=workstation;
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-20 16:09:28 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 Robert Martin 2015-11-21 01:51:50 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
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
views.py:552:_toggle_downgrade:AttributeError: 'NoneType' object has no attribute 'queued'

Traceback (most recent call last):
  File "/usr/lib/python3.4/site-packages/yumex/gui/views.py", line 523, in on_toggled
    self.togglePackage(obj)
  File "/usr/lib/python3.4/site-packages/yumex/gui/views.py", line 532, in togglePackage
    self._toggle_downgrade(obj)
  File "/usr/lib/python3.4/site-packages/yumex/gui/views.py", line 552, in _toggle_downgrade
    related_po.queued = None
AttributeError: 'NoneType' object has no attribute 'queued'

Local variables in innermost frame:
obj: <yumex.dnf_backend.DnfPackage object at 0x7f21464ce9b0>
related_po: None
self: <PackageView object at 0x7f214c078ab0 (yumex+gui+views+PackageView at 0x555d21196c70)>

Comment 1 Robert Martin 2015-11-21 01:51:53 UTC
Created attachment 1097393 [details]
File: backtrace

Comment 2 Robert Martin 2015-11-21 01:51:54 UTC
Created attachment 1097394 [details]
File: environ

Comment 3 Tim Lauridsen 2015-11-25 13:08:49 UTC
Can you reproduce this or remember what you did to get this error

The code triggered the issue is when handling deselection a downgrade package there has previous been selected in the package view.

Comment 4 Fedora End Of Life 2016-11-24 13:37:35 UTC
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '23'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 23 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 5 Fedora End Of Life 2016-12-20 16:09:28 UTC
Fedora 23 changed to end-of-life (EOL) status on 2016-12-20. Fedora 23 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 6 Red Hat Bugzilla 2023-09-14 03:13:26 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days