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.
Deluge BitTorrent Client
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
Description
Languages
Python
75.3%
JavaScript
15.4%
CSS
8.4%
Shell
0.5%
NSIS
0.3%
Other
0.1%