Cannot start deluged

General support for problems installing or using Deluge
Post Reply
LogHorizon
New User
New User
Posts: 1
Joined: Tue Jun 27, 2017 3:40 am

Cannot start deluged

Post 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
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Cannot start deluged

Post 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 .
Post Reply