Bug 33405

Summary: When opening dnfdragora, this error message appears and the program closes when clicking 'Ok'
Product: Mageia Reporter: Michael Martins <michaelfm21>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: NEW --- QA Contact:
Severity: normal    
Priority: Normal CC: lewyssmith, michaelfm21
Version: 9   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
URL: https://imgur.com/captura-de-tela-30D377b
Whiteboard:
Source RPM: dnfdragora-2.1.6-1.mga9 CVE:
Status comment:
Attachments: dnfdragora-gtk

Description Michael Martins 2024-07-17 02:19:55 CEST
Theme name: Greybird
Kernel version = 6.6.37-desktop-1.mga9
Distribution=Mageia release 9 (Official) for x86_64
CPU=Intel(R) Core(TM)2 Duo CPU     E8400  @ 3.00GHz

[michael@desktop ~]$ lspcidrake -v
unknown         : Intel Corporation|NM10/ICH7 Family PCI Express Port 3 [BRIDGE_PCI] (vendor:8086 device:27d4) (rev: 01)
unknown         : Intel Corporation|NM10/ICH7 Family USB2 EHCI Controller [SERIAL_USB] (vendor:8086 device:27cc subv:1462 subd:7592) (rev: 01)
Card:Intel 810 and later: Intel Corporation|4 Series Chipset Integrated Graphics Controller [DISPLAY_VGA] (vendor:8086 device:2e32 subv:1462 subd:7592) (rev: 03)
unknown         : Intel Corporation|NM10/ICH7 Family USB UHCI Controller #1 [SERIAL_USB] (vendor:8086 device:27c8 subv:1462 subd:7592) (rev: 01)
unknown         : Intel Corporation|NM10/ICH7 Family USB UHCI Controller #3 [SERIAL_USB] (vendor:8086 device:27ca subv:1462 subd:7592) (rev: 01)
ata_piix        : Intel Corporation|82801G (ICH7 Family) IDE Controller [STORAGE_IDE] (vendor:8086 device:27df subv:1462 subd:7592) (rev: 01)
unknown         : Intel Corporation|NM10/ICH7 Family PCI Express Port 2 [BRIDGE_PCI] (vendor:8086 device:27d2) (rev: 01)
unknown         : Intel Corporation|4 Series Chipset DRAM Controller [BRIDGE_HOST] (vendor:8086 device:2e30 subv:1462 subd:7592) (rev: 03)
i2c_i801        : Intel Corporation|NM10/ICH7 Family SMBus Controller [SERIAL_SMBUS] (vendor:8086 device:27da subv:1462 subd:7592) (rev: 01)
unknown         : Intel Corporation|82801 PCI Bridge [BRIDGE_PCI] (vendor:8086 device:244e) (rev: e1)
snd_hda_intel   : Intel Corporation|NM10/ICH7 Family High Definition Audio Controller [MULTIMEDIA_AUDIO_DEV] (vendor:8086 device:27d8 subv:1462 subd:7592) (rev: 01)
unknown         : Intel Corporation|NM10/ICH7 Family USB UHCI Controller #2 [SERIAL_USB] (vendor:8086 device:27c9 subv:1462 subd:7592) (rev: 01)
atl1c           : Qualcomm Atheros|AR8132 Fast Ethernet [NETWORK_ETHERNET] (vendor:1969 device:1062 subv:1462 subd:7592) (rev: c0)
intel_rng       : Intel Corporation|82801GB/GR (ICH7 Family) LPC Interface Bridge [BRIDGE_ISA] (vendor:8086 device:27b8 subv:1462 subd:7592) (rev: 01)
unknown         : Intel Corporation|NM10/ICH7 Family USB UHCI Controller #4 [SERIAL_USB] (vendor:8086 device:27cb subv:1462 subd:7592) (rev: 01)
unknown         : Intel Corporation|NM10/ICH7 Family PCI Express Port 1 [BRIDGE_PCI] (vendor:8086 device:27d0) (rev: 01)
ata_piix        : Intel Corporation|NM10/ICH7 Family SATA Controller [IDE mode] [STORAGE_IDE] (vendor:8086 device:27c0 subv:1462 subd:7592) (rev: 01)
hub             : Linux 6.6.37-desktop-1.mga9 uhci_hcd|UHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0001)
hub             : Linux 6.6.37-desktop-1.mga9 uhci_hcd|UHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0001)
hub             : Linux 6.6.37-desktop-1.mga9 uhci_hcd|UHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0001)
hub             : Linux 6.6.37-desktop-1.mga9 uhci_hcd|UHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0001)
btusb           : Cambridge Silicon Radio, Ltd|BT2.0 [Wireless|Radio Frequency|Bluetooth] (vendor:0a12 device:0001)
hub             : Linux 6.6.37-desktop-1.mga9 ehci_hcd|EHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0002)
hub             : Terminus Technology Inc.|USB2.0 HUB [Hub|Unused|Full speed (or root) hub] (vendor:1a40 device:0101)
usbhid          : SEMICCHIP|Usb Mouse [Human Interface Device|Boot Interface Subclass|Mouse] (vendor:1a2c device:0042)
usbhid          : Elan Microelectronics Corp.|ActiveJet K-2024 Multimedia Keyboard [Human Interface Device|Boot Interface Subclass|Keyboard] (vendor:04f3 device:0103)
usb_storage     : Generic   |Mass Storage Device [Mass Storage|SCSI|Bulk-Only] (vendor:048d device:1336)

[michael@desktop ~]$ dnfdragora 
Try reading configuration file
From ./dnfdragora.yaml
Skipped exception: <[Errno 2] Arquivo ou diretório inexistente: './dnfdragora.yaml'> 
From /etc/dnfdragora/dnfdragora.yaml
Finally read user settings from /home/michael/.config/dnfdragora.yaml
Skipped exception: <[Errno 2] Arquivo ou diretório inexistente: '/home/michael/.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.4.4
<_M_> [ui] YUI.cc:84 YUI(): Creating UI without threads
<_M_> [gtk] YGUI.cc:49 YGUI(): This is libyui-gtk 2.52.3
<_M_> [gtk] YGUI.cc:167 checkInit(): Style "/usr/share/libyui/theme/current/wizard/style.css"
<_M_> [gtk] YGUI.cc:189 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)
Start looking for groups
dnfdaemon TypeError: '<' not supported between instances of 'NoneType' and 'str' 
<_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
Comment 1 Lewis Smith 2024-07-17 21:02:24 CEST
I just installed GTK dnfdragora-2.1.6-1.mga9 (I do NOT use DNF),
      1/5: dnfdaemon             #############################################
      2/5: python3-dnfdaemon     #############################################
      3/5: dnfdragora-gtk        #############################################
      4/5: dnfdragora            #############################################
      5/5: dnfdragora-common     #############################################
and fired it up:

 $ 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/lewis/.config/dnfdragora.yaml
Skipped exception: <[Errno 2] No such file or directory: '/home/lewis/.config/dnfdragora.yaml'> 
Logging disabled
<_M_> [ui] YUILoader.cc:60 loadUI(): DISPLAY: ":0"
<_M_> [ui] YUILoader.cc:61 loadUI(): XDG_CURRENT_DESKTOP: "MATE"
<_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.4.4
<_M_> [ui] YUI.cc:84 YUI(): Creating UI without threads
<_M_> [gtk] YGUI.cc:49 YGUI(): This is libyui-gtk 2.52.3
<_M_> [gtk] YGUI.cc:167 checkInit(): Style "/usr/share/libyui/theme/current/wizard/style.css"
<_M_> [gtk] YGUI.cc:189 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)
Start looking for groups
End found 89 groups
<WRN> [gtk] YGUtils.cc:560 loadPixbuf(): Could not load icon: /usr/share/icons/mini/communications_mobile_section
<WRN> [gtk] YGUtils.cc:560 loadPixbuf(): Reason: Failed to open file “/usr/share/icons/mini/communications_mobile_section”: No such file or directory
<WRN> [libyui-gtk] libyui-gtk:0 (): Couldn’t load icon: Failed to open file “/usr/share/icons/mini/communications_mobile_section”: No such file or directory

Its GUI, essentially empty, looked OK. There was no error message shown to click 'OK'...
Do you have the GTK or Qt variant?
Please say what desktop you are using.
Can you attach a screenshot of the window leading to the failure?

CC: (none) => lewyssmith

Comment 2 Michael Martins 2024-07-17 21:18:38 CEST
Now I'm on another machine, but with the same graphical environment and same applications installed.
The same error returned:

[michael@ARQ-TI03 ~]$ dnfdragora 
Try reading configuration file
From ./dnfdragora.yaml
Skipped exception: <[Errno 2] Arquivo ou diretório inexistente: './dnfdragora.yaml'> 
From /etc/dnfdragora/dnfdragora.yaml
Finally read user settings from /home/michael/.config/dnfdragora.yaml
Skipped exception: <[Errno 2] Arquivo ou diretório inexistente: '/home/michael/.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.4.4
<_M_> [ui] YUI.cc:84 YUI(): Creating UI without threads
<_M_> [gtk] YGUI.cc:49 YGUI(): This is libyui-gtk 2.52.3
<_M_> [gtk] YGUI.cc:167 checkInit(): Style "/usr/share/libyui/theme/current/wizard/style.css"
<_M_> [gtk] YGUI.cc:189 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)
run_dbus_async main loop running True - probably last request is not terminated yet
Start looking for groups
dnfdaemon TypeError: '<' not supported between instances of 'NoneType' and 'str' 

###################################
[michael@ARQ-TI03 ~]$ sudo inxi -F
System:
  Host: ARQ-TI03.localdomain Kernel: 6.6.37-desktop-1.mga9 arch: x86_64
    bits: 64 Desktop: Xfce v: 4.18.1 Distro: Mageia 9
Machine:
  Type: Desktop System: Dell product: XPS 8700 v: N/A serial: 9C5NF82
  Mobo: Dell model: 0KWVT8 v: A02 serial: ..BR1081958E00J5. BIOS: Dell
    v: A13 date: 06/13/2018
CPU:
  Info: quad core model: Intel Core i7-4790 bits: 64 type: MT MCP cache:
    L2: 1024 KiB
  Speed (MHz): avg: 2143 min/max: 800/4000 cores: 1: 800 2: 800 3: 800
    4: 3402 5: 3593 6: 3593 7: 800 8: 3356
Graphics:
  Device-1: NVIDIA GP107 [GeForce GTX 1050 Ti] driver: nvidia v: 550.90.07
  Display: x11 server: X.org v: 1.21.1.8 with: Xwayland v: 22.1.9 driver: X:
    loaded: nvidia,v4l gpu: nvidia,nvidia-nvswitch resolution: 1920x1080~60Hz
  API: OpenGL v: 4.6.0 NVIDIA 550.90.07 renderer: NVIDIA GeForce GTX 1050
    Ti/PCIe/SSE2
Audio:
  Device-1: Intel 8 Series/C220 Series High Definition Audio
    driver: snd_hda_intel
  Device-2: NVIDIA GP107GL High Definition Audio driver: snd_hda_intel
  API: ALSA v: k6.6.37-desktop-1.mga9 status: kernel-api
  Server-1: PulseAudio v: 16.1 status: active (root, process)
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    driver: r8169
  IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: 10:98:36:ff:08:11
  Device-2: Qualcomm Atheros AR9485 Wireless Network Adapter driver: ath9k
  IF: wlp4s0 state: down mac: 40:b8:9a:eb:be:67
Bluetooth:
  Device-1: Qualcomm Atheros Bluetooth USB Host Controller type: USB
    driver: btusb
  Report: hciconfig ID: hci0 state: up address: 40:B8:9A:EB:BE:68 bt-v: 2.1
Drives:
  Local Storage: total: 1.35 TiB used: 359.58 GiB (26.1%)
  ID-1: /dev/sda vendor: Kingston model: SA400S37480G size: 447.13 GiB
  ID-2: /dev/sdb vendor: Seagate model: ST1000DM010-2EP102 size: 931.51 GiB
Partition:
  ID-1: / size: 438.55 GiB used: 67.61 GiB (15.4%) fs: ext4 dev: /dev/sda3
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 21.0 C mobo: N/A gpu: nvidia temp: 27 C
  Fan Speeds (RPM): cpu: 682 mobo: 913 gpu: nvidia fan: 20%
Info:
  Processes: 320 Uptime: 2h 32m Memory: 7.7 GiB used: 3.9 GiB (50.7%)
  Shell: Sudo inxi: 3.3.26
[michael@ARQ-TI03 ~]$
Comment 3 Lewis Smith 2024-07-17 21:37:26 CEST
Thank you for the confirmation from another machine.
Repeat:
- Please say what desktop you are using
- Please say whether you are using GTK or Qt dnfdragora
- Please attach to this bug the screenshot of the window with error message & OK button (the URL you gave just showed me a black screen).
Comment 4 Michael Martins 2024-07-17 21:58:37 CEST
Created attachment 14594 [details]
dnfdragora-gtk

CC: (none) => michaelfm21

Comment 5 Michael Martins 2024-07-17 21:59:01 CEST
I'm using Xfce, so I sent the inxi result.
I installed dnfdragora-gtk