Page 1 of 1

deluge 1 CryptographyDeprecationWarning

Posted: Sun Jan 09, 2022 2:33 am
by tasoss
Hello.
After restarting deluged(first time for 2022) i get
/home/tor/.local/lib/python2.7/site-packages/OpenSSL/crypto.py:14: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.
from cryptography import utils, x509
The daemon seems to run(it doesn't exit) but i can't connect(looks like it's offline)
Any ideas ?
Thanks!

Re: deluge 1 CryptographyDeprecationWarning

Posted: Fri Jan 14, 2022 1:51 pm
by DjLegolas
As it informs, you are using Python2.7, which is not supported anymore and is at its EOF state.
The only way to fix is upgrading to a Python3 (>=3.6).
Other than this warning, everything else will still work in Deluge 2.0 (until 2.1 which will drop all support for Python2.7).

Are you sure you entered the correct connection details?
Are you using thin-client with different version than the daemon? For example, thin-client 2.0 and daemon 1.3?

Re: deluge 1 CryptographyDeprecationWarning

Posted: Thu May 19, 2022 7:44 pm
by tasoss
I know it's an old post but i have forgotten thanking you for answering.
I don't remember what was the problem.
I think the solution was to upgrade all pip modules.
Thanks again!