Bug 1229957

Summary: [abrt] yumex-dnf: status.py:130:handle_dbus_signals:AttributeError: 'NoneType' object has no attribute 'on_status_icon_clicked'
Product: [Fedora] Fedora Reporter: wincc
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: edosurina, tim.lauridsen, wincc
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/6e8e3a8f659baca45db4974ce4796fbb24939084
Whiteboard: abrt_hash:45ef9864873904ecb6c5630c48054aac793ea07f
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-06 08:36:57 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 wincc 2015-06-10 02:53:11 UTC
Version-Release number of selected component:
yumex-dnf-4.1.3-1.fc22

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

Truncated backtrace:
status.py:130:handle_dbus_signals:AttributeError: 'NoneType' object has no attribute 'on_status_icon_clicked'

Traceback (most recent call last):
  File "/usr/lib/python3.4/site-packages/yumex/status.py", line 71, in __call__
    return getattr(self.proxy, self.method)(*args)
  File "/usr/lib/python3.4/site-packages/yumex/status.py", line 120, in _on_g_signal
    self.handle_dbus_signals(proxy, sender, signal, args)
  File "/usr/lib/python3.4/site-packages/yumex/status.py", line 130, in handle_dbus_signals
    self.app.win.on_status_icon_clicked()
AttributeError: 'NoneType' object has no attribute 'on_status_icon_clicked'

Local variables in innermost frame:
proxy: <DBusProxy object at 0x7f01f4105d38 (GDBusProxy at 0x1ffa990)>
self: <yumex.status.StatusIcon object at 0x7f01f4109748>
sender: ':1.197'
signal: 'IconClickSignal'
args: (18166,)
run_pid: 18166

Comment 1 wincc 2015-06-10 02:53:14 UTC
Created attachment 1037069 [details]
File: backtrace

Comment 2 wincc 2015-06-10 02:53:15 UTC
Created attachment 1037070 [details]
File: environ

Comment 3 Tim Lauridsen 2015-06-10 11:53:57 UTC
This happens if the yumex-dnf gtk windows is killed but the app is still running and a user presses the status icon.

I will look into avoiding situation to occour

Comment 4 Tim Lauridsen 2015-10-06 08:36:57 UTC

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