#755: Can't set listen_ports through console UI
-------------------------------------+--------------------------------------
  Reporter:  flor...@…               |       Owner:  andar   
      Type:  bug                     |      Status:  reopened
  Priority:  major                   |   Milestone:          
 Component:  other                   |     Version:  1.3.1   
Resolution:                          |    Keywords:          
-------------------------------------+--------------------------------------
Changes (by sneak):

  * status:  closed => reopened
  * version:  1.1.0 => 1.3.1
  * resolution:  fixed =>


Comment:

 This seems to be back in 1.3.1:


 {{{

 >>> config -s listen_ports (10111, 10222)
 could not convert string to float: (10111, 10222)
 Traceback (most recent call last):

   File "/usr/local/lib/python2.7/site-
 packages/deluge-1.3.1-py2.7-linux-i686.egg/deluge/ui/console/main.py",
 line 320, in do_command
     ret = self._commands[cmd].handle(*args, **options.__dict__)
   File "/usr/local/lib/python2.7/site-
 
packages/deluge-1.3.1-py2.7-linux-i686.egg/deluge/ui/console/commands/config.py",
 line 98, in handle
     return self._set_config(*args, **options)
 File "/usr/local/lib/python2.7/site-
 
packages/deluge-1.3.1-py2.7-linux-i686.egg/deluge/ui/console/commands/config.py",
 line 134, in _set_config
     val = simple_eval(options["set"][1] + " " + " ".join(args))
   File "/usr/local/lib/python2.7/site-
 
packages/deluge-1.3.1-py2.7-linux-i686.egg/deluge/ui/console/commands/config.py",
 line 81, in simple_eval
     res = atom(src.next, src.next())
   File "/usr/local/lib/python2.7/site-
 
packages/deluge-1.3.1-py2.7-linux-i686.egg/deluge/ui/console/commands/config.py",
 line 56, in atom
     out.append(atom(next, token))
   File "/usr/local/lib/python2.7/site-
 
packages/deluge-1.3.1-py2.7-linux-i686.egg/deluge/ui/console/commands/config.py",
 line 65, in atom
     return float(token[-1])
 ValueError: could not convert string to float: (10111, 10222)

 }}}

-- 
Ticket URL: <http://dev.deluge-torrent.org/ticket/755#comment:4>
Deluge <http://deluge-torrent.org/>
Deluge project

-- 
You received this message because you are subscribed to the Google Groups 
"Deluge Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-dev?hl=en.

Reply via email to