Custom Query (2447 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (412 - 414 of 2447)

Ticket Resolution Summary Owner Reporter
#792 Fixed config --set requires real values, not integer? andar sysadmn
Description

Deluge 1.1.2, running on Ubuntu 8.10.

Using the suggested workaround for changing Deluge settings from cron only works for real values:

$  deluge -u console -a "config --set max_upload_speed 40.0"
 * Configuration value successfully updated.
$  deluge -u console -a "config --set max_upload_speed 40"
 * Configuration value provided has incorrect type.

If this is intended, then the documentation at http://dev.deluge-torrent.org/wiki/Scheduling should probably be updated to note this.

Thanks.

#1954 Fixed config -s listen_interface → "invalid literal for float" nixar
Description

See discussion here: http://forum.deluge-torrent.org/viewtopic.php?f=7&t=34307

$ 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

Version is deluge-1.3.3-1.fc15.noarch

A patch is proposed in the aformentioned link.

#1743 Invalid Configs should support __delitem__ jumentous
Description

I use Config's to maintain torrent states in my plugin. When the torrent is removed i remove the state by listening to the TorrentRemovedEvent.

To do this i have to del config.config[key] config.save()

As Config already has a getitem and setitem it should really have a delitem as well.

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.