LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   dnfdragora cryptic error: 'NoneType' object has no attribute 'installed' (https://www.linuxquestions.org/questions/fedora-35/dnfdragora-cryptic-error-nonetype-object-has-no-attribute-installed-4175691206/)

BenCollver 02-26-2021 01:30 PM

dnfdragora cryptic error: 'NoneType' object has no attribute 'installed'
 
I tried to update Fedora 32 and did not realize that my ISP DNS was down. dnfdragora gave the following cryptic backtrace. It doesn't say anything about DNS nor the network. This type of error message brings Fedora Linux closer to parity with Windows NT. ;)

Code:

Error occurred:
g-io-error-quark: GDBus.Error:org.freedesktop.DBus.Python.AttributeError: Traceback (most recent call last):
  File "/usr/lib64/python3.8/site-packages/dbus/service.py", line 711, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/lib/python3.8/site-packages/dnfdaemon/server/__init__.py", line 68, in newFunc
    rc = func(*args, **kwargs)
  File "/usr/share/dnfdaemon/dnfdaemon-system", line 238, in GetPackages
    value = self.get_packages(pkg_filter, fields)
  File "/usr/lib/python3.8/site-packages/dnfdaemon/server/__init__.py", line 386, in get_packages
    pkgs = getattr(self.base.packages, pkg_filter)
AttributeError: 'NoneType' object has no attribute 'installed'
 (36)


BenCollver 02-26-2021 01:34 PM

On top of that, dnfdragora has a new, additional top menu that pushes the bottom row of buttons off the screen. The window cannot be resized nor scrolled, making the GUI unusable on my laptop display with max resolution of 1366x768.

shruggy 02-26-2021 01:37 PM

Can you update via command line?
Code:

sudo dnf --refresh upgrade
Then do it. dnfdragora on Fedora is a bug-ridden crap.

BenCollver 02-26-2021 01:52 PM

Yes, that is what i am doing now.

shruggy 02-26-2021 02:10 PM

Once upon a time, there was rhbz#1257609, so the bug at hand seems even to predate dnfdragora existence (yumex-dnf also used dnfdaemon as its backend).

BenCollver 03-01-2021 12:59 PM

It amuses me how significant numbers of important bug reports are auto-closed.

"Ooh, shiney new version! We forgot that any bugs existed."


All times are GMT -5. The time now is 05:28 PM.