You are not logged in.

#1 2025-10-13 17:05:01

Zoom8160
Member
From: Chile
Registered: 2023-09-10
Posts: 10

[SOLVED] Deluge won't open after system update

I haven't used my laptop in a while, so I updated it a few days ago and now Deluge won't open because of a Python error, here's the log:

/usr/lib/python3.13/site-packages/deluge/ui/ui_entry.py:20: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
  import pkg_resources
Traceback (most recent call last):
  File "/usr/bin/deluge", line 8, in <module>
    sys.exit(start_ui())
             ~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/deluge/ui/ui_entry.py", line 40, in start_ui
    ui_entrypoints[entrypoint.name] = entrypoint.load()
                                      ~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/pkg_resources/__init__.py", line 2776, in load
    self.require(*args, **kwargs)  # type: ignore[arg-type]
    ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/pkg_resources/__init__.py", line 2804, in require
    items = working_set.resolve(reqs, env, installer, extras=self.extras)
  File "/usr/lib/python3.13/site-packages/pkg_resources/__init__.py", line 892, in resolve
    dist = self._resolve_dist(
        req, best, replace_conflicting, env, installer, required_by, to_activate
    )
  File "/usr/lib/python3.13/site-packages/pkg_resources/__init__.py", line 938, in _resolve_dist
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (cffi 1.17.1 (/usr/lib/python3.13/site-packages), Requirement.parse('cffi>=2.0.0; python_full_version >= "3.9" and platform_python_implementation != "PyPy"'), {'cryptography'})

I'm not a programmer so I don't understand what happened, and I'd like to know if this is an issue with my setup or Deluge itself, in which case I'll have to open an issue on its repository -_-. Thanks in advance smile

Last edited by Zoom8160 (2025-10-13 17:52:40)


El Psy Congroo

Offline

#2 2025-10-13 17:20:37

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,082

Re: [SOLVED] Deluge won't open after system update

It's because python-cryptography requires python-cffi 2.0.0 or greater, but the version in the repos is older. Packaging bug.

Offline

#3 2025-10-13 17:25:01

Zoom8160
Member
From: Chile
Registered: 2023-09-10
Posts: 10

Re: [SOLVED] Deluge won't open after system update

oh, so I should just wait till the packages are correctly updated?


El Psy Congroo

Offline

#4 2025-10-13 17:46:39

killertofus
Member
Registered: 2025-02-10
Posts: 39

Re: [SOLVED] Deluge won't open after system update

yes

Offline

#5 2025-10-13 17:52:11

Zoom8160
Member
From: Chile
Registered: 2023-09-10
Posts: 10

Re: [SOLVED] Deluge won't open after system update

alright, thanks!


El Psy Congroo

Offline

Board footer

Powered by FluxBB