You are not logged in.
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
Last edited by Zoom8160 (2025-10-13 17:52:40)
El Psy Congroo
Offline
It's because python-cryptography requires python-cffi 2.0.0 or greater, but the version in the repos is older. Packaging bug.
Offline
oh, so I should just wait till the packages are correctly updated?
El Psy Congroo
Offline
yes
Offline
alright, thanks!
El Psy Congroo
Offline