Page 1 of 1

Cannot start deluged

Posted: Sun Nov 18, 2018 3:27 pm
by LogHorizon
Hello,

I follow this guide (https://dev.deluge-torrent.org/wiki/Installing/Source) to install deluge 2.0 from source, but found that I couldn't start deluged successfully.

Code: Select all

Traceback (most recent call last):
  File "/usr/bin/deluged", line 11, in <module>
    load_entry_point('deluge==2.0.0b2.dev313', 'console_scripts', 'deluged')()
  File "/usr/lib/python2.7/dist-packages/deluge-2.0.0b2.dev313-py2.7.egg/deluge/core/daemon_entry.py", line 90, in start_daemon
    from deluge.core.daemon import is_daemon_running
  File "/usr/lib/python2.7/dist-packages/deluge-2.0.0b2.dev313-py2.7.egg/deluge/core/daemon.py", line 22, in <module>
    from deluge.core.core import Core
  File "/usr/lib/python2.7/dist-packages/deluge-2.0.0b2.dev313-py2.7.egg/deluge/core/core.py", line 42, in <module>
    from deluge.core.rpcserver import export
  File "/usr/lib/python2.7/dist-packages/deluge-2.0.0b2.dev313-py2.7.egg/deluge/core/rpcserver.py", line 32, in <module>
    from deluge.crypto_utils import get_context_factory
  File "/usr/lib/python2.7/dist-packages/deluge-2.0.0b2.dev313-py2.7.egg/deluge/crypto_utils.py", line 13, in <module>
    from twisted.internet.ssl import (
ImportError: cannot import name TLSVersion
Extra info:

Code: Select all

deluged 2.0.0b2.dev313
libtorrent: 1.1.11.0
Python: 2.7.13
OS: Linux debian 9.5
This issue also exists when I use Ubuntu 16.04, but I have no problems when using Ubuntu 18.04

Re: Cannot start deluged

Posted: Mon Nov 19, 2018 11:57 am
by Cas
That page is for Deluge 1.3. Likely you need to get the latest Twisted. The easiest way to install develop code with requirements is:

Code: Select all

pip install .