I can't set the download location with deluge-console anymore.
This is the command I'm running
Code: Select all
deluge-console config --set download_location /media/hdd
Code: Select all
'str' object has no attribute 'decode'
19:38:58 [ERROR ][deluge.ui.console.cmdline.command :138 ] 'str' object has no attribute 'decode'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/deluge/ui/console/cmdline/command.py", line 135, in exec_command
ret = self._commands[options.command].handle(options)
File "/usr/lib/python3/dist-packages/deluge/ui/console/cmdline/commands/config.py", line 104, in handle
return self._set_config(options)
File "/usr/lib/python3/dist-packages/deluge/ui/console/cmdline/commands/config.py", line 143, in _set_config
val = simple_eval(val)
File "/usr/lib/python3/dist-packages/deluge/ui/console/cmdline/commands/config.py", line 72, in simple_eval
res = atom(src, next(src))
File "/usr/lib/python3/dist-packages/deluge/ui/console/cmdline/commands/config.py", line 57, in atom
return token[-1].decode('string-escape')
AttributeError: 'str' object has no attribute 'decode'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/deluge/ui/console/cmdline/command.py", line 135, in exec_command
ret = self._commands[options.command].handle(options)
File "/usr/lib/python3/dist-packages/deluge/ui/console/cmdline/commands/config.py", line 104, in handle
return self._set_config(options)
File "/usr/lib/python3/dist-packages/deluge/ui/console/cmdline/commands/config.py", line 143, in _set_config
val = simple_eval(val)
File "/usr/lib/python3/dist-packages/deluge/ui/console/cmdline/commands/config.py", line 72, in simple_eval
res = atom(src, next(src))
File "/usr/lib/python3/dist-packages/deluge/ui/console/cmdline/commands/config.py", line 57, in atom
return token[-1].decode('string-escape')
AttributeError: 'str' object has no attribute 'decode'
deluged 2.0.3
deluge-console 2.0.3
libtorrent: 1.2.9.0
Python: 3.9.2
OS: Linux Raspbian GNU/Linux 11 bullseye