config -s listen_interface → "invalid literal for float"
Posted: Fri Nov 12, 2010 12:08 pm
This is on F13, running deluge 1.3.0
Is there another way to set this value? (besides modifying core.conf and restarting the dæmon that is)
I use this command in my /etc/ppp/ip-up.local so that I can have deluge use the ppp0 interface.
By the way the terminology is all wrong, this is not an interface but a listen address.
Anyway, this looks like a really good program otherwise, keep up the good work.
Code: Select all
$ deluge-console 'config -s listen_interface 192.168.0.2'
invalid literal for float(): 192.168.0.2
[ERROR ] 13:05:59 main:323 invalid literal for float(): 192.168.0.2
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/deluge/ui/console/main.py", line 320, in do_command
ret = self._commands[cmd].handle(*args, **options.__dict__)
File "/usr/lib/python2.6/site-packages/deluge/ui/console/commands/config.py", line 98, in handle
return self._set_config(*args, **options)
File "/usr/lib/python2.6/site-packages/deluge/ui/console/commands/config.py", line 134, in _set_config
val = simple_eval(options["set"][1] + " " + " ".join(args))
File "/usr/lib/python2.6/site-packages/deluge/ui/console/commands/config.py", line 81, in simple_eval
res = atom(src.next, src.next())
File "/usr/lib/python2.6/site-packages/deluge/ui/console/commands/config.py", line 65, in atom
return float(token[-1])
ValueError: invalid literal for float(): 192.168.0.2
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/deluge/ui/console/main.py", line 320, in do_command
ret = self._commands[cmd].handle(*args, **options.__dict__)
File "/usr/lib/python2.6/site-packages/deluge/ui/console/commands/config.py", line 98, in handle
return self._set_config(*args, **options)
File "/usr/lib/python2.6/site-packages/deluge/ui/console/commands/config.py", line 134, in _set_config
val = simple_eval(options["set"][1] + " " + " ".join(args))
File "/usr/lib/python2.6/site-packages/deluge/ui/console/commands/config.py", line 81, in simple_eval
res = atom(src.next, src.next())
File "/usr/lib/python2.6/site-packages/deluge/ui/console/commands/config.py", line 65, in atom
return float(token[-1])
ValueError: invalid literal for float(): 192.168.0.2
I use this command in my /etc/ppp/ip-up.local so that I can have deluge use the ppp0 interface.
By the way the terminology is all wrong, this is not an interface but a listen address.
Anyway, this looks like a really good program otherwise, keep up the good work.