Bug 2041013 - [abrt] dnfdragora-updater: name(): Gio.py:349:__call__:gi.repository.GLib.GError: g-io-error-quark: GDBus.Error:org.freedesktop.DBus.Python.AttributeError: Traceback (most recent call last):
Summary: [abrt] dnfdragora-updater: name(): Gio.py:349:__call__:gi.repository.GLib.GEr...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: dnfdragora
Version: 35
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Neal Gompa
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:9a987437a66f432abd9e5c63e1e...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-15 07:22 UTC by thraex
Modified: 2022-12-13 16:19 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-12-13 16:19:38 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (3.94 KB, text/plain)
2022-01-15 07:22 UTC, thraex
no flags Details
File: cpuinfo (1.88 KB, text/plain)
2022-01-15 07:22 UTC, thraex
no flags Details
File: environ (1.67 KB, text/plain)
2022-01-15 07:22 UTC, thraex
no flags Details
File: mountinfo (2.78 KB, text/plain)
2022-01-15 07:22 UTC, thraex
no flags Details
File: namespaces (172 bytes, text/plain)
2022-01-15 07:22 UTC, thraex
no flags Details
File: open_fds (1.28 KB, text/plain)
2022-01-15 07:22 UTC, thraex
no flags Details

Description thraex 2022-01-15 07:22:12 UTC
Version-Release number of selected component:
dnfdragora-updater-2.1.0-5.fc35

Additional info:
reporter:       libreport-2.15.2
cgroup:         0::/user.slice/user-1000.slice/session-2.scope
cmdline:        /usr/bin/python3 /usr/bin/dnfdragora-updater
crash_function: name
exception_type: AttributeError
executable:     /usr/bin/dnfdragora-updater
interpreter:    python3-3.10.1-2.fc35.x86_64
kernel:         5.15.14-200.fc35.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
Gio.py:349:__call__:gi.repository.GLib.GError: g-io-error-quark: GDBus.Error:org.freedesktop.DBus.Python.AttributeError: Traceback (most recent call last):
  File "/usr/lib64/python3.10/site-packages/dbus/service.py", line 715, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/lib/python3.10/site-packages/dnfdaemon/server/__init__.py", line 68, in newFunc
    rc = func(*args, **kwargs)
  File "/usr/share/dnfdaemon/dnfdaemon-system", line 291, in GetHistoryPackages
    value = self.get_history_transaction_pkgs(tid)
  File "/usr/lib/python3.10/site-packages/dnfdaemon/server/__init__.py", line 731, in get_history_transaction_pkgs
    pkg_id = self._get_id(pkg)
  File "/usr/lib/python3.10/site-packages/dnfdaemon/server/__init__.py", line 1064, in _get_id
    values = [pkg.name, str(pkg.epoch), pkg.version, pkg.release, pkg.arch]
  File "/usr/lib/python3.10/site-packages/dnf/db/history.py", line 72, in name
    return self._item.getRPMItem().getName()
AttributeError: 'NoneType' object has no attribute 'getName'
 (36)

Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/pystray/_base.py", line 267, in inner
    callback(self)
  File "/usr/lib/python3.10/site-packages/pystray/_base.py", line 368, in __call__
    return self._action(icon, self)
  File "/usr/lib/python3.10/site-packages/pystray/_base.py", line 463, in wrapper0
    return action()
  File "/usr/lib/python3.10/site-packages/dnfdragora/updater.py", line 263, in __run_update
    return self.__run_dialog({'update_only': True})
  File "/usr/lib/python3.10/site-packages/dnfdragora/updater.py", line 237, in __run_dialog
    self.__main_gui.handleevent()
  File "/usr/lib/python3.10/site-packages/dnfdragora/ui.py", line 1511, in handleevent
    rebuild_package_list = self._manageDnfDaemonEvent()
  File "/usr/lib/python3.10/site-packages/dnfdragora/ui.py", line 1985, in _manageDnfDaemonEvent
    self._load_history(transaction_list)
  File "/usr/lib/python3.10/site-packages/dnfdragora/ui.py", line 1368, in _load_history
    undo = hw.run(transactions)
  File "/usr/lib/python3.10/site-packages/dnfdragora/dialogs.py", line 343, in run
    self._populateHistory(sel)
  File "/usr/lib/python3.10/site-packages/dnfdragora/dialogs.py", line 58, in _populateHistory
    pkgs = self.parent.backend.GetHistoryPackages(tid, sync=True)
  File "/usr/lib/python3.10/site-packages/dnfdragora/dnfd_client.py", line 944, in GetHistoryPackages
    result = self._run_dbus_sync('GetHistoryPackages', '(i)', tid)
  File "/usr/lib/python3.10/site-packages/dnfdragora/dnfd_client.py", line 391, in _run_dbus_sync
    return func(*args)
  File "/usr/lib/python3.10/site-packages/gi/overrides/Gio.py", line 349, in __call__
    result = self.dbus_proxy.call_sync(self.method_name, arg_variant,
gi.repository.GLib.GError: g-io-error-quark: GDBus.Error:org.freedesktop.DBus.Python.AttributeError: Traceback (most recent call last):
  File "/usr/lib64/python3.10/site-packages/dbus/service.py", line 715, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/lib/python3.10/site-packages/dnfdaemon/server/__init__.py", line 68, in newFunc
    rc = func(*args, **kwargs)
  File "/usr/share/dnfdaemon/dnfdaemon-system", line 291, in GetHistoryPackages
    value = self.get_history_transaction_pkgs(tid)
  File "/usr/lib/python3.10/site-packages/dnfdaemon/server/__init__.py", line 731, in get_history_transaction_pkgs
    pkg_id = self._get_id(pkg)
  File "/usr/lib/python3.10/site-packages/dnfdaemon/server/__init__.py", line 1064, in _get_id
    values = [pkg.name, str(pkg.epoch), pkg.version, pkg.release, pkg.arch]
  File "/usr/lib/python3.10/site-packages/dnf/db/history.py", line 72, in name
    return self._item.getRPMItem().getName()
AttributeError: 'NoneType' object has no attribute 'getName'
 (36)

Local variables in innermost frame:
self: <gi.overrides.Gio._DBusProxyMethodCall object at 0x7f08a8111bd0>
args: (1,)
kwargs: {}
signature: '(i)'
arg_variant: GLib.Variant('(i)', (1,))

Comment 1 thraex 2022-01-15 07:22:14 UTC
Created attachment 1850919 [details]
File: backtrace

Comment 2 thraex 2022-01-15 07:22:15 UTC
Created attachment 1850920 [details]
File: cpuinfo

Comment 3 thraex 2022-01-15 07:22:16 UTC
Created attachment 1850921 [details]
File: environ

Comment 4 thraex 2022-01-15 07:22:17 UTC
Created attachment 1850922 [details]
File: mountinfo

Comment 5 thraex 2022-01-15 07:22:18 UTC
Created attachment 1850923 [details]
File: namespaces

Comment 6 thraex 2022-01-15 07:22:19 UTC
Created attachment 1850924 [details]
File: open_fds

Comment 7 Ben Cotton 2022-11-29 17:39:39 UTC
This message is a reminder that Fedora Linux 35 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 35 on 2022-12-13.
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
'version' of '35'.

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

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 35 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 Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 8 Ben Cotton 2022-12-13 16:19:38 UTC
Fedora Linux 35 entered end-of-life (EOL) status on 2022-12-13.

Fedora Linux 35 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 Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

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


Note You need to log in before you can comment on or make changes to this bug.