Bug 1226053

Summary: [abrt] yumex-dnf: __init__.py:232:_handle_dbus_error:dnfdaemon.client.DaemonError: g-io-error-quark: GDBus.Error:org.freedesktop.DBus.Python.AttributeError: Traceback (most recent call last):
Product: [Fedora] Fedora Reporter: jonandmykaela
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: aloner, antking, d.ilatowski, dimapunk80, mauro.risonho, maxpatera, robertmartin1961, spff, tim.lauridsen, yuriyku
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/9e8db1abc571601d770fc2b7af2c9b138a3e0205
Whiteboard: abrt_hash:0f664f5f3443a01f9b70e6fdc77b93fb5207eaa8
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-29 10:31:51 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 jonandmykaela 2015-05-28 20:58:41 UTC
Version-Release number of selected component:
yumex-dnf-4.1.2-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.4-301.fc22.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
__init__.py:232:_handle_dbus_error:dnfdaemon.client.DaemonError: g-io-error-quark: GDBus.Error:org.freedesktop.DBus.Python.AttributeError: Traceback (most recent call last):
  File "/usr/lib64/python3.4/site-packages/dbus/service.py", line 826, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/lib/python3.4/site-packages/dnfdaemon/server/__init__.py", line 81, in newFunc
    rc = func(*args, **kwargs)
  File "/usr/share/dnfdaemon/dnfdaemon-system", line 576, in GetGroupPackages
    value = self.get_group_pkgs(grp_id, grp_flt, fields)
  File "/usr/lib/python3.4/site-packages/dnfdaemon/server/__init__.py", line 367, in get_group_pkgs
    grp = self.base.comps.group_by_pattern(grp_id)
AttributeError: 'NoneType' object has no attribute 'group_by_pattern'
 (36)

Traceback (most recent call last):
  File "/usr/lib/python3.4/site-packages/yumex/__init__.py", line 889, in on_group_changed
    pkgs = self.backend.get_group_packages(grp_id, 'all')
  File "/usr/lib/python3.4/site-packages/yumex/misc.py", line 112, in newFunc
    rc = func(*args, **kwargs)
  File "/usr/lib/python3.4/site-packages/yumex/dnf_backend.py", line 450, in get_group_packages
    pkgs = self.GetGroupPackages(grp_id, grp_flt, attrs)
  File "/usr/lib/python3.4/site-packages/dnfdaemon/client/__init__.py", line 465, in GetGroupPackages
    grp_id, grp_flt, fields))
  File "/usr/lib/python3.4/site-packages/dnfdaemon/client/__init__.py", line 275, in _run_dbus_async
    result = self._get_result(data)
  File "/usr/lib/python3.4/site-packages/dnfdaemon/client/__init__.py", line 259, in _get_result
    self._handle_dbus_error(user_data['error'])
  File "/usr/lib/python3.4/site-packages/dnfdaemon/client/__init__.py", line 232, in _handle_dbus_error
    raise DaemonError(str(err))
dnfdaemon.client.DaemonError: g-io-error-quark: GDBus.Error:org.freedesktop.DBus.Python.AttributeError: Traceback (most recent call last):
  File "/usr/lib64/python3.4/site-packages/dbus/service.py", line 826, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/lib/python3.4/site-packages/dnfdaemon/server/__init__.py", line 81, in newFunc
    rc = func(*args, **kwargs)
  File "/usr/share/dnfdaemon/dnfdaemon-system", line 576, in GetGroupPackages
    value = self.get_group_pkgs(grp_id, grp_flt, fields)
  File "/usr/lib/python3.4/site-packages/dnfdaemon/server/__init__.py", line 367, in get_group_pkgs
    grp = self.base.comps.group_by_pattern(grp_id)
AttributeError: 'NoneType' object has no attribute 'group_by_pattern'
 (36)

Local variables in innermost frame:
msg: ''
exc: ''
err: GLib.Error('GDBus.Error:org.freedesktop.DBus.Python.AttributeError: Traceback (most recent call last):
  File "/usr/lib64/python3.4/site-packages/dbus/service.py", line 826, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/lib/python3.4/site-packages/dnfdaemon/server/__init__.py", line 81, in newFunc
    rc = func(*args, **kwargs)
  File "/usr/share/dnfdaemon/dnfdaemon-system", line 576, in GetGroupPackages
    value = self.get_group_pkgs(grp_id, grp_flt, fields)
  File "/usr/lib/python3.4/site-packages/dnfdaemon/server/__init__.py", line 367, in get_group_pkgs
    grp = self.base.comps.group_by_pattern(grp_id)
AttributeError: 'NoneType' object has no attribute 'group_by_pattern'
', 'g-io-error-quark', 36)
self: <yumex.dnf_backend.DnfRootBackend object at 0x7fbc249d7cf8>

Comment 1 jonandmykaela 2015-05-28 20:58:43 UTC
Created attachment 1031418 [details]
File: backtrace

Comment 2 jonandmykaela 2015-05-28 20:58:44 UTC
Created attachment 1031419 [details]
File: environ

Comment 3 Tim Lauridsen 2015-05-29 10:31:51 UTC

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