Deluge BitTorrent client - Git mirror, PRs only https://www.deluge-torrent.org
Go to file
Calum Lind 2f1c008a26 [Console] Fix AttributeError setting config values
GitHub user JohnDoee reported that config settings are not decoded
correctly, this error can be reproduced with a command like

    deluge-console -c /config/ "config --set download_location /downloads"

    > AttributeError: 'str' object has no attribute 'decode'

The tokenize code was using 'string-escape' to decode strings but there
is no direct replacement in Python 3 but also unnecessary. However the
tokenize code is complex and buggy and not really suitable for the task
of evaluating config values.

A better alternative is to evaluate the config values using the json
decoder with some additional logic to allow for previous syntax usage,
such as parentheses.

Added a comprehensive set of tests to check for potential config values
passed in from command line.
2019-11-28 12:38:02 +00:00
deluge [Console] Fix AttributeError setting config values 2019-11-28 12:38:02 +00:00
docs [Docs] Fix changlog symlink and markdown issue 2019-11-12 15:37:12 +00:00
packaging [Packaging] Move user out of systemd files and add to tarball 2019-06-08 21:31:49 +01:00
.gitattributes [WebUI] Update extjs to 3.4.1.1 2018-10-08 14:47:27 +01:00
.gitignore Update gitignore file 2019-05-14 11:48:58 +01:00
.pre-commit-config.yaml [Lint] Fix Black and Flake8 issues 2019-11-13 15:44:46 +00:00
.prettierignore [Lint] Format files with Prettier 2018-10-03 18:16:09 +01:00
.prettierrc.yaml [Lint] Format files with Prettier 2018-10-03 18:16:09 +01:00
.pylintrc Cleanup tox configuration 2018-11-02 08:47:57 +00:00
.readthedocs.yml [Docs] Fix missing path in RTD config 2019-05-22 18:01:05 +01:00
.travis.yml [Docs] Add spellchecking with pyenchant 2019-06-15 21:06:27 +01:00
AUTHORS Update author name as per request 2015-08-17 23:03:48 +01:00
CHANGELOG.md [WebUI] Handle torrent add failures 2019-06-21 09:09:12 +03:00
DEPENDS.md [Docs] Cleanup changelog and docs 2019-06-06 17:12:58 +01:00
LICENSE
MANIFEST.in [Packaging] Move user out of systemd files and add to tarball 2019-06-08 21:31:49 +01:00
README.md [Packaging] Cleanup README for Pypi 2019-05-22 11:15:32 +01:00
appveyor.yml [Appveyor] Switch to Python 3.6 2019-05-23 00:15:49 +01:00
gen_web_gettext.py [Lint] Use Black to auto-format code 2018-10-03 15:21:53 +01:00
generate_pot.py [GTK] Fixup translation strings 2018-10-21 13:51:30 +01:00
minify_web_js.py Update javascript minifying script 2018-10-16 11:34:55 +01:00
msgfmt.py [Lint] Use Black to auto-format code 2018-10-03 15:21:53 +01:00
pyproject.toml [Tests] Remove slimit dependency 2018-10-08 12:19:03 +01:00
requirements-dev.txt [Docs] Updates and fixes to build on Python 3 2019-05-21 15:23:45 +01:00
requirements-tests.txt [Tests] Skip buggy pytest 5.2.3 2019-11-15 20:55:22 +00:00
requirements.txt [Tests] Remove python2 from tox config 2019-06-06 11:30:45 +01:00
setup.cfg [Docs] Add spellchecking with pyenchant 2019-06-15 21:06:27 +01:00
setup.py [Docs] Add spellchecking with pyenchant 2019-06-15 21:06:27 +01:00
tox.ini [Docs] Add spellchecking with pyenchant 2019-06-15 21:06:27 +01:00
version.py [Packaging] Fix get_version with no git command 2019-06-07 14:45:49 +01:00

README.md

Deluge BitTorrent Client

build-status docs-status

Deluge is a BitTorrent client that utilizes a daemon/client model. It has various user interfaces available such as the GTK-UI, Web-UI and a Console-UI. It uses libtorrent at it's core to handle the BitTorrent protocol.

Install

From PyPi:

pip install deluge

From source code:

python setup.py build
python setup.py install

See DEPENDS and Installing/Source for dependency details.

Usage

The various user-interfaces and Deluge daemon can be started with the following commands.

Use the --help option for further command options.

Gtk UI

deluge or deluge-gtk

Console UI

deluge-console

Web UI

deluge-web

Open http://localhost:8112 with default password deluge.

Daemon

deluged

See the Thinclient guide to connect to the daemon from another computer.

Contact