Bug 2299679 - dnfdragora will not launch from GUI or a terminal window
Summary: dnfdragora will not launch from GUI or a terminal window
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: dnfdragora
Version: 42
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Neal Gompa
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-07-24 13:45 UTC by Edward
Modified: 2025-02-26 13:05 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)
"busctl monitor org.baseurl.DnfSystem" output while dnfdragora command is run (302.08 KB, text/plain)
2024-07-30 17:25 UTC, Steve
no flags Details

Description Edward 2024-07-24 13:45:54 UTC
dnfdragora on Rawhide does not launch from the GUI, or from a terminal window. 

Output from terminal window, running 'dnfdragora':

~$ dnfdragora
Try reading configuration file
From ./dnfdragora.yaml
Skipped exception: <[Errno 2] No such file or directory: './dnfdragora.yaml'> 
From /etc/dnfdragora/dnfdragora.yaml
Finally read user settings from /home/epp/.config/dnfdragora.yaml
Skipped exception: <[Errno 2] No such file or directory: '/home/epp/.config/dnfdragora.yaml'> 
Logging disabled
<_M_> [ui] YUILoader.cc:60 loadUI(): DISPLAY: ":0.0"
<_M_> [ui] YUILoader.cc:61 loadUI(): XDG_CURRENT_DESKTOP: "XFCE"
<_M_> [ui] YUILoader.cc:62 loadUI(): YUI_PREFERED_BACKEND: ""
<_M_> [ui] YUILoader.cc:74 loadUI(): Detected a Gtk-based desktop environment.
<_M_> [ui] YUILoader.cc:74 loadUI(): Prefering Gtk-UI if available and no
<_M_> [ui] YUILoader.cc:74 loadUI(): user-selected override is present.
<_M_> [ui] YUILoader.cc:96 loadUI(): User-selected UI-plugin: ""
<_M_> [ui] YUILoader.cc:128 loadUI(): Using UI-plugin: "gtk"
<_M_> [ui] YUI.cc:83 YUI(): This is libyui 4.2.16
<_M_> [ui] YUI.cc:84 YUI(): Creating UI without threads
<_M_> [gtk] YGUI.cc:49 YGUI(): This is libyui-gtk 2.52.5
<_M_> [gtk] YGUI.cc:166 checkInit(): Style "/usr/share/libyui/theme/current/wizard/style.css"
<_M_> [gtk] YGUI.cc:188 checkInit(): Style "/usr/share/libyui/theme/current/wizard/style.css" not found. Ignoring style
<_M_> [ui] YUI.cc:238 topmostConstructorHasFinished(): Running without threads
<_M_> [ew] YExternalWidgets.cc:40 YExternalWidgets(): Creating Libyui External Widgets object
<_M_> [mga-gtk-ui] YMGA_GCBTable.cc:439 YMGA_GCBTable():  columns 8 tot 8
Get root backend. Locked (False)
Get root backend. Locked (False)
Unexpected error: <class 'dbus.exceptions.DBusException'> 
<_M_> [ui] YUILoader.cc:236 deleteUI(): Shutting down UI
<_M_> [ew] YExternalWidgets.cc:123 ~YExternalWidgetsTerminator(): Shutting down mga External Widgets
<_M_> [ew] YMGAWidgetExtensionFactory.cc:49 ~YMGAWidgetFactory(): Factory removed



Output from terminal window, running 'sudo dnfdragora' (was prompted for password):

Try reading configuration file
From ./dnfdragora.yaml
Skipped exception: <[Errno 2] No such file or directory: './dnfdragora.yaml'> 
From /etc/dnfdragora/dnfdragora.yaml
Finally read user settings from /root/.config/dnfdragora.yaml
Skipped exception: <[Errno 2] No such file or directory: '/root/.config/dnfdragora.yaml'> 
Logging disabled
<_M_> [ui] YUILoader.cc:60 loadUI(): DISPLAY: ":0.0"
<_M_> [ui] YUILoader.cc:61 loadUI(): XDG_CURRENT_DESKTOP: ""
<_M_> [ui] YUILoader.cc:62 loadUI(): YUI_PREFERED_BACKEND: ""
<_M_> [ui] YUILoader.cc:96 loadUI(): User-selected UI-plugin: ""
<_M_> [ui] YUILoader.cc:128 loadUI(): Using UI-plugin: "gtk"
<_M_> [ui] YUI.cc:83 YUI(): This is libyui 4.2.16
<_M_> [ui] YUI.cc:84 YUI(): Creating UI without threads
<_M_> [gtk] YGUI.cc:49 YGUI(): This is libyui-gtk 2.52.5
<_M_> [gtk] YGUI.cc:166 checkInit(): Style "/usr/share/libyui/theme/current/wizard/style.css"
<_M_> [gtk] YGUI.cc:188 checkInit(): Style "/usr/share/libyui/theme/current/wizard/style.css" not found. Ignoring style
<_M_> [ui] YUI.cc:238 topmostConstructorHasFinished(): Running without threads
<_M_> [ew] YExternalWidgets.cc:40 YExternalWidgets(): Creating Libyui External Widgets object
<_M_> [mga-gtk-ui] YMGA_GCBTable.cc:439 YMGA_GCBTable():  columns 8 tot 8
Get root backend. Locked (False)
Unexpected error: <class 'dbus.exceptions.DBusException'> 
<_M_> [ui] YUILoader.cc:236 deleteUI(): Shutting down UI
<_M_> [ew] YExternalWidgets.cc:123 ~YExternalWidgetsTerminator(): Shutting down mga External Widgets
<_M_> [ew] YMGAWidgetExtensionFactory.cc:49 ~YMGAWidgetFactory(): Factory removed


Reproducible: Always

Steps to Reproduce:
1. Launch dnfdragora from GUI or terminal window.
2. dngdragora does not launch.
Actual Results:  
dnfdragora did not launch.

Expected Results:  
dnfdragora should have launched.

New install of Fedora Rawhide, with Xfce 4.18 desktop.

dnfdragora - Version: 2.1.5 - Release: 5.fc41

Comment 1 Steve 2024-07-30 17:18:26 UTC
This could be a dbus-related problem.

Procedure (in Xfce):

Disable dnfdragora-updater under Applications:Settings:Session and Startup:Application Autostart.

Logout and login.

Get dbus service name:

$ busctl list | fgrep -i dnf
org.baseurl.DnfSystem                         - -               -               (activatable) -                                            -       -

Open two terminal windows and tile them so that they do not overlap. Run from different terminal windows:

$ sudo busctl monitor org.baseurl.DnfSystem |& tee dbus-dnfdragora-1.txt

$ dnfdragora

Search for "error":

$ less -N dbus-dnfdragora-1.txt
...
     40 ‣ Type=method_call  Endian=l  Flags=0  Version=1 Cookie=3  Timestamp="Tue 2024-07-30 16:54:48.872024 UTC"
     41   Sender=:1.192  Destination=org.freedesktop.DBus  Path=/org/freedesktop/DBus  Interface=org.freedesktop.DBus  Member=GetNameOwner
     42   UniqueName=:1.192
     43   MESSAGE "s" {
     44           STRING "org.baseurl.DnfSystem";
     45   };
     46 
     47 ‣ Type=error  Endian=l  Flags=1  Version=1 Cookie=-1  ReplyCookie=3  Timestamp="Tue 2024-07-30 16:54:48.872118 UTC"
     48   Sender=org.freedesktop.DBus  Destination=:1.192
     49   ErrorName=org.freedesktop.DBus.Error.NameHasNoOwner  ErrorMessage="The name does not have an owner"
     50   MESSAGE "s" {
     51           STRING "The name does not have an owner";
     52   };
...
   4625 ‣ Type=method_call  Endian=l  Flags=0  Version=1 Cookie=8  Timestamp="Tue 2024-07-30 16:54:49.034900 UTC"
   4626   Sender=:1.192  Destination=:1.193  Path=/  Interface=org.freedesktop.DBus.Properties  Member=GetAll
   4627   UniqueName=:1.192
   4628   MESSAGE "s" {
   4629           STRING "org.baseurl.DnfSystem";
   4630   };
   4631 
   4632 ‣ Type=error  Endian=l  Flags=1  Version=1 Cookie=3  ReplyCookie=8  Timestamp="Tue 2024-07-30 16:54:49.038443 UTC"
   4633   Sender=:1.193  Destination=:1.192
   4634   ErrorName=org.freedesktop.DBus.Error.UnknownMethod  ErrorMessage="Traceback (most recent call last):
   4635   File "/usr/lib64/python3.13/site-packages/dbus/service.py", line 659, in _message_cb
   4636     (candidate_method, parent_method) = _method_lookup(self, method_name, interface_name)
   4637                                         ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   4638   File "/usr/lib64/python3.13/site-packages/dbus/service.py", line 249, in _method_lookup
   4639     raise UnknownMethodException('%s is not a valid method of interface %s' % (method_name, dbus_interface))
   4640 dbus.exceptions.UnknownMethodException: org.freedesktop.DBus.Error.UnknownMethod: Unknown method: GetAll is not a valid method of interface org.freedesktop.DBus.Prop   4640 erties
   4641 "
   4642   UniqueName=:1.193
   4643   MESSAGE "s" {
   4644           STRING "Traceback (most recent call last):
   4645   File "/usr/lib64/python3.13/site-packages/dbus/service.py", line 659, in _message_cb
   4646     (candidate_method, parent_method) = _method_lookup(self, method_name, interface_name)
   4647                                         ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   4648   File "/usr/lib64/python3.13/site-packages/dbus/service.py", line 249, in _method_lookup
   4649     raise UnknownMethodException('%s is not a valid method of interface %s' % (method_name, dbus_interface))
   4650 dbus.exceptions.UnknownMethodException: org.freedesktop.DBus.Error.UnknownMethod: Unknown method: GetAll is not a valid method of interface org.freedesktop.DBus.Prop   4650 erties
   4651 ";
   4652   };
...
   5546 ‣ Type=error  Endian=l  Flags=1  Version=1 Cookie=5247  ReplyCookie=573  Timestamp="Tue 2024-07-30 16:54:49.066344 UTC"
   5547   Sender=:1.2  Destination=:1.10
   5548   ErrorName=org.freedesktop.DBus.Error.UnknownProperty  ErrorMessage="Unknown interface org.freedesktop.systemd1.Service or property NoNewPrivileges."
   5549   UniqueName=:1.2
   5550   MESSAGE "s" {
   5551           STRING "Unknown interface org.freedesktop.systemd1.Service or property NoNewPrivileges.";
   5552   };
...

Tested in an F41 Xfce VM:

$ rpm -q dnfdragora dbus
dnfdragora-2.1.5-5.fc41.noarch
dbus-1.14.10-4.fc41.x86_64

Comment 2 Steve 2024-07-30 17:25:15 UTC
Created attachment 2043091 [details]
"busctl monitor org.baseurl.DnfSystem" output while dnfdragora command is run

The complete command-line:

$ sudo busctl monitor org.baseurl.DnfSystem |& tee dbus-dnfdragora-1.txt

Comment 3 Steve 2024-09-07 14:40:11 UTC
See, also:

Bug 2310097 - dnfdragora instantly crashes on launch in Fedora 41

Comment 4 Aoife Moloney 2025-02-26 13:05:32 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle.
Changing version to 42.


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