Bug 1217241

Summary: [abrt] yumex-dnf: status.py:91:__init__:AttributeError: 'NoneType' object has no attribute 'GetVersion'
Product: [Fedora] Fedora Reporter: Timothy M. Butterworth <timothy.m.butterworth>
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: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/ed5341e3ff739005765d54855c97e28212c950f8
Whiteboard: abrt_hash:f9069185a570f39a79fcad70af6126b3322932c2
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-30 07:06:14 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 Timothy M. Butterworth 2015-04-29 20:37:35 UTC
Version-Release number of selected component:
yumex-dnf-4.1.1-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.0.0-1.fc22.x86_64
runlevel:       N 5
type:           Python3
uid:            1555

Truncated backtrace:
status.py:91:__init__:AttributeError: 'NoneType' object has no attribute 'GetVersion'

Traceback (most recent call last):
  File "/usr/lib/python3.4/site-packages/yumex/__init__.py", line 1168, in do_command_line
    self.status = yumex.status.StatusIcon(self)
  File "/usr/lib/python3.4/site-packages/yumex/status.py", line 91, in __init__
    (self.dbus_interface, self.daemon.GetVersion()))
AttributeError: 'NoneType' object has no attribute 'GetVersion'

Local variables in innermost frame:
app: <YumexApplication object at 0x7f2f405aefc0 (yumex+YumexApplication at 0x1f6d2a0)>
self: <yumex.status.StatusIcon object at 0x7f2f405b6e48>

Comment 1 Timothy M. Butterworth 2015-04-29 20:37:42 UTC
Created attachment 1020328 [details]
File: backtrace

Comment 2 Timothy M. Butterworth 2015-04-29 20:37:43 UTC
Created attachment 1020329 [details]
File: environ

Comment 3 Tim Lauridsen 2015-04-30 06:43:23 UTC
look like a problem with starting the yumex-dnf statusicon d-bus service.

I have added som better error checking, so you will get a dialog if this happens again.

https://github.com/timlau/yumex-dnf/commit/969a160c2714400752ce7235e22e8f304430378d

Comment 4 Tim Lauridsen 2015-04-30 06:44:48 UTC
If you can reproduce this then try to running 'yumex-dnf -d' in a terminal window
and attact the output.

Comment 5 Tim Lauridsen 2015-04-30 07:06:14 UTC
caused by missing yumex.conf, that so yumex-dnf notification dbus service cant load.

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