Deluge does not start

Hello, i tried installing deluge, from openmandriva repos and it did not start

this is the log from the terminal

Traceback (most recent call last):
  File "/usr/bin/deluge", line 8, in <module>
    sys.exit(start_ui())
             ^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/deluge/ui/ui_entry.py", line 140, in start_ui
    ui.start()
  File "/usr/lib/python3.11/site-packages/deluge/ui/gtk3/__init__.py", line 45, in start
    from .gtkui import GtkUI
  File "/usr/lib/python3.11/site-packages/deluge/ui/gtk3/gtkui.py", line 24, in <module>
    from twisted.internet import defer, gtk3reactor
  File "/usr/lib/python3.11/site-packages/twisted/internet/gtk3reactor.py", line 22, in <module>
    from twisted.internet import gireactor
  File "/usr/lib/python3.11/site-packages/twisted/internet/gireactor.py", line 37, in <module>
    gi.pygtkcompat.enable()
  File "/usr/lib64/python3.11/site-packages/pygtkcompat/pygtkcompat.py", line 30, in enable
    raise RuntimeError("pygtkcompat is deprecated in 3.48 and has been removed in 3.51, see https://pygobject.gnome.org/guide/porting.html for migration instructions")
RuntimeError: pygtkcompat is deprecated in 3.48 and has been removed in 3.51, see https://pygobject.gnome.org/guide/porting.html for migration instructions

maybe, since a new update was out, it should be updated?don’t know, just saying (deluge 2.2.0 was released some months ago while the one in openmandriva is still at 2.1.1), or there is some other way to make it start?

for the record, i am on openmandriva 6.0 rock, gnome spin

thank you

Rock is the stable release. It’s not going to get version updates, just security and bug fixes. The package likely needs rebuilt, so it’s technically a bug.

Oh, yes. It hasn’t seen a build in 2 years:

2 Likes

so technically i could see a new build for this bug fix?or i still need to wait for the new rock version?

The build will need to be compatible with any installed dependencies. Python didn’t change from the three releases as we are going to start that after ROME UM is finished. If you can’t use pip to get it, then yes. It will probably have to wait for the next Rock version if it won’t build properly for the current version.

1 Like

We might be able to fix this soon. The problem is that deluge relies on python twisted and pygtkcompat, and parts of it have been dropped in newer releases of python-gobject, which causes this error: gireactor pygtkcompat hard requirement breaks twisted · Issue #9669 · twisted/twisted · GitHub

The proper way to fix this is to update python twisted to a version that includes this commit: clean up pygobject support to remove dead APIs · twisted/twisted@6ee1148 · GitHub

The problem, however, is that Python has complex dependencies, and updating one version with multiple releases can break several other applications, libraries, or Python modules. Furthermore, the new Python Twisted version requires updating several more dependencies. This might take some time, but at least we know how to fix it.

1 Like

Deluge was fixed and updated to 2.2.0 version in Cooker.

It should be soon available in ROME (rolling) release.

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