Opened 16 years ago
Closed 15 years ago
#823 closed bug (Fixed)
deluge -u console -a "config --set [attribute] -1.0" fails
Reported by: | michael.stonier@gmail.com | Owned by: | andar |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Unknown | Version: | 1.1.2 |
Keywords: | Cc: | alexander@kojevnikov.com |
Description
Attempting to use the proposed work around for lack of scheduling as found here: http://dev.deluge-torrent.org/wiki/UserGuide/Scheduling Adapting the technique to set attributes unlimited (ie, -1 or -1.0 depending on data type) fails. Easy enough to just use a ridiculously large value, but behaviour should match with GUI and the core.conf contents. Following output to the console:
File "/usr/bin/deluge", line 8, in <module>
load_entry_point('deluge==1.1.3', 'console_scripts', 'deluge')()
File "/var/lib/python-support/python2.5/deluge/main.py", line 120, in start_ui
UI(options, args, options.args)
File "/var/lib/python-support/python2.5/deluge/ui/ui.py", line 63, in init
ui = ConsoleUI(ui_args).run()
File "/var/lib/python-support/python2.5/deluge/ui/console/main.py", line 127, in init
self.onecmd(arg)
File "/var/lib/python-support/python2.5/deluge/ui/console/main.py", line 191, in onecmd
options, args = parser.parse_args(args)
File "/usr/lib/python2.5/optparse.py", line 1387, in parse_args
self.error(str(err))
File "/usr/lib/python2.5/optparse.py", line 1385, in parse_args
stop = self._process_args(largs, rargs, values)
File "/usr/lib/python2.5/optparse.py", line 1429, in _process_args
self._process_short_opts(rargs, values)
File "/usr/lib/python2.5/optparse.py", line 1512, in _process_short_opts
raise BadOptionError(opt)
optparse.BadOptionError: no such option: -1
Change History (2)
comment:1 by , 15 years ago
Cc: | added |
---|
comment:2 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in [6023]