Hi Tim, for some time or since some system updates, I got the following error when starting yumex. I’ve re-installed latest version from copr. It mentions flatpak, I removed flatpak from Fedora:
$ sudo yumex
16:02:39 DEBUG : (yumex) - Version: 4.99.4-git20240409 (DNF5)
16:02:39 DEBUG : (yumex) - executable : /usr/bin/yumex
16:02:39 DEBUG : (yumex) - commmand-line : Namespace(debug=False, exit=False)
(yumex:3895): Gtk-WARNING **: 16:02:39.225: Unable to acquire session bus: Falló al ejecutar el proceso hijo «dbus-launch» (No existe el fichero o el directorio)
16:02:39 CRITICAL: (yumex) - Uncaught exception: 'XDG_DATA_DIRS'
Traceback (most recent call last):
File "/usr/lib/python3.12/site-packages/yumex/main.py", line 59, in do_activate
self.win = YumexMainWindow(
^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/yumex/ui/window.py", line 78, in __init__
self.setup_gui()
File "/usr/lib/python3.12/site-packages/yumex/ui/window.py", line 106, in setup_gui
self.setup_flatpaks()
File "/usr/lib/python3.12/site-packages/yumex/ui/window.py", line 109, in setup_flatpaks
self.flatpak_view = YumexFlatpakView(self.presenter)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/yumex/ui/flatpak_view.py", line 41, in __init__
self.icons_paths = self.get_icon_paths()
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/yumex/ui/flatpak_view.py", line 68, in get_icon_paths
return [f"{path}/icons/" for path in os.environ["XDG_DATA_DIRS"].split(":")]
~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "<frozen os>", line 685, in __getitem__
KeyError: 'XDG_DATA_DIRS'
16:02:39 DEBUG : (yumex) - traceback written to /root/.local/share/yumex/traceback_04-09-2024_160239.txt
Adwaita-Message: 16:02:39.336: AdwMessageDialog mapped without a transient parent. This is discouraged.
16:02:39 DEBUG : (yumex) - search changed :
Thanks, I had both xdg packages installed already. Apart from flatpak, I removed some unused xorg packages because I’m using wayland and wished to strip xorg as much as possible, without afecting the gnome and apps.
I can run dnf-dragora okay, for comparison.
I’ve always been an admirer of yumex since the beginning, such a great piece of software. I find it had better functionality back then, you could browse through packages and navigate dependencies, files… it had a great UI. With later versions it became stripped out and now it only has basic functionality. I find it breaks recently with commits sometimes.
I wished it gained advanced funcionality such as navigating packages as hypertext, and specially advanced dnf5 commands such as repoquery whatconflicts, whatprovides, provides for a file or command.
dnfdragora used to be a ‘drag’ but now it works as yumex did before.
Just like to thumbs up your work and commend you for how good it was, always wondered why it wasn’t default in fedora. Thanks for maintaining yumex.
That also worked. However, I cannot install the package with dnf:
sudo dnf install yumex
Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
No match for argument: yumex
You can try to add to command line:
–skip-unavailable to skip unavailable packages
The same happens with
sudo dnf install yumex-ng
I am on Fedora 41 (beta). Is this perhaps the cause of the problem?
I have now tested it on other machines:
The installation on Fedora 40 works, the installation on Fedora 41 (as of today no longer a beta) does not work (neither ‘yumex-dnf5’ nor ‘yumex’). Error message is the same everywhere, as already written above.
I don’t think so, yumex-ng require a lot for newer versions af python, libadwaita, gtk4, dnf5, etc. there is proberly not available in a long lived distro like RHEL, I only support currently supported version for Fedora.