I can't open virt-manager or tears of mandrake

Hello,

Requirements:

I have Searched the forum for my issue and found nothing related or helpful
I have checked the Resources category (Resources Index)
I have reviewed the Wiki for relevant information
I have read the the Release Notes and Errata

OpenMandriva Lx version:

6.0 Rock

Desktop environment (KDE, LXQT…):

GNOME
Description of the issue (screenshots if relevant):

I can’t open virt-manager, whenever I use terminal to debug it, I got the following problem:

[zakaria@dell ~]$ virt-manager
Traceback (most recent call last):
  File "/usr/bin/virt-manager", line 6, in <module>
    from virtManager import virtmanager
  File "/usr/share/virt-manager/virtManager/virtmanager.py", line 13, in <module>
    import gi
ModuleNotFoundError: No module named 'gi'
[zakaria@dell ~]$

Now I can’t even open Tears of mandrake

[zakaria@dell ~]$ tears-of-mandrake 
Traceback (most recent call last):
  File "/usr/bin/tears-of-mandrake", line 10, in <module>
    from main import main
  File "/usr/share/tears-of-mandrake/main.py", line 3, in <module>
    import gi
ModuleNotFoundError: No module named 'gi'
[zakaria@dell ~]$
[zakaria@dell ~]$ sudo dnf install python-gi
Last metadata expiration check: 11:18:05 ago on Fri 11 Jul 2025 01:09:58 PM +01.
Package python-gi-3.52.3-1.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[zakaria@dell ~]$ sudo dnf info python-gi
Last metadata expiration check: 11:18:12 ago on Fri 11 Jul 2025 01:09:58 PM +01.
Installed Packages
Name         : python-gi
Version      : 3.52.3
Release      : 1
Architecture : x86_64
Size         : 1.0 M
Source       : python-gobject3-3.52.3-1.src.rpm
Repository   : @System
Summary      : Python bindings for GObject Introspection
URL          : https://www.gnome.org
License      : LGPLv2+ and MIT
Description  : This package contains the Python GObject Introspection bindings,
             : without non-cairo bits.

[zakaria@dell ~]$

Oh, I figure it out, I did this line to make helix editor works well with python lsp, in .bashrc:
export PATH="/home/zakaria/.local/venvs/jedi-env/bin:$PATH"

So it breaks a lot of things on my system

So, is this software an appimage or flatpak, or something you downloaded and installed? dnf search helix doesn’t return any results.

1 Like

Nuh, not a flatpak app (it’s available btw), and it’s not available on openmandriva repos, so I download Pre-built binaries from its official website: Installation

You will probably need to ask them about it, then.

1 Like

Oh, Hi, I figured it out how to solve my issue.
I created a new file .config/helix/languages.toml then adding this content to tell Helix where it can find the language servers:

[language-server.jedi-ls]
command = "/home/zakaria/.local/venvs/jedi-env/bin/jedi-language-server"

[language-server.ruff]
command = "/home/zakaria/.local/venvs/jedi-env/bin/ruff"

[language-server.pylsp]
command = "/home/zakaria/.local/venvs/jedi-env/bin/pylsp"

[[language]]
name = "python"
language-servers = ["ruff", "jedi-ls", "pylsp"]

Where /home/zakaria/.local/venvs/jedi-env it’s a venv folder contains the libraries I need. I hope it may help newcomers to Helix and using OpenMandriva :smile:

1 Like

It would probably be better if someone packages it. That way users don’t have to search through the forum to get software they want to use to work properly.

1 Like

I looked at it briefly. It is written in Rust so packaging it will be pretty time consuming for me, hopefully someone else picks it up.

1 Like

Agree, especially the Flatpak version takes more space like 970.4 MB instead of 25.9 MB (not that huge but still waste space for me), that’s why I picked prebuilt binary of Helix from its official website. And I wish someday being able to package it to OpenMandriva (I’m new OpenMandriva user btw), but I’ll try to learn packaging ASAP

Rust packaging is probably going to be something you do when you have spent time packaging other things and are somewhat proficient.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.