deluge-console >= 1.2.0 && scripting
Posted: Tue Dec 08, 2009 6:25 pm
I use deluge only because of it's client-daemon architecture and scripting feature.
Before updating from 1.1.9 this command is worked perfectly:
Now it says:
Such command
is crash on rc3 and do nothing on rc4.
Another try:
I use Debian testing/unstable.
Please, tell me the right way.
Before updating from 1.1.9 this command is worked perfectly:
Code: Select all
deluge -u console -a "config --set max_active_downloading 1"
Code: Select all
Unknown command: c
Code: Select all
nice -n 19 deluge -u console 'config --set max_active_downloading 1'
Another try:
Code: Select all
$ echo 'config --set max_active_downloading 1' | deluge -u console
[ERROR ] 00:14:51 screen:296 'ConsoleUI' object has no attribute 'batch_write'
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.5/deluge/ui/console/screen.py", line 294, in doRead
self._doRead()
File "/usr/lib/pymodules/python2.5/deluge/ui/console/screen.py", line 307, in _doRead
self.command_parser(self.input)
File "/usr/lib/pymodules/python2.5/deluge/ui/console/main.py", line 307, in do_command
self.write("{!error!}" + str(e))
File "/usr/lib/pymodules/python2.5/deluge/ui/console/main.py", line 263, in write
self.screen.add_line(line, not self.batch_write)
AttributeError: 'ConsoleUI' object has no attribute 'batch_write'
Please, tell me the right way.