Traceback (most recent call last):
File "/usr/bin/deluge", line 33, in <module>
sys.exit(load_entry_point('deluge==2.1.1', 'gui_scripts', 'deluge')())
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/lib/python3.13/site-packages/deluge/ui/ui_entry.py", line 140, in start_ui
ui.start()
~~~~~~~~^^
File "/usr/lib/python3.13/site-packages/deluge/ui/gtk3/__init__.py", line 45, in start
from .gtkui import GtkUI
File "/usr/lib/python3.13/site-packages/deluge/ui/gtk3/gtkui.py", line 50, in <module>
from deluge.ui.tracker_icons import TrackerIcons
File "/usr/lib/python3.13/site-packages/deluge/ui/tracker_icons.py", line 22, in <module>
from deluge.httpdownloader import download_file
File "/usr/lib/python3.13/site-packages/deluge/httpdownloader.py", line 9, in <module>
import cgi
ModuleNotFoundError: No module named 'cgi'
it appears you are missing a module, which would lead me to believe that the installation is broken somehow. You should try uninstalling and reinstalling via pip, perhaps using the [all]
pip install deluge[all]
However I'm not sure what method you used to install, but I always recommend using pip to install if you're trying to get the latest, as PPA tends to be complicated for many and pip much simpler.
As the good ambipro states, indeed missing a module. Been thinking about making a PR about including legacy-cgi package which needed with python 3.13, as cgi gone from deprecated to fully removed, but anyway, there probably is a tumbleweed package of it, just Google e.g 'tumbleweed legacy-cgi python 3.13' etc - not in-the-know about tumbleweed sorry - or just' pip install legacy-cgi' though pep 668 probably enabled on your distro, is on most newer ones, meaning need do it in venv and run, or break the pep 668 security with extra unrecommended flag to pip command etc.