#3505: Cannot add host on deluge-console (invalid port)
-------------------------+-------------------
  Reporter:  tremby      |      Owner:
      Type:  bug         |     Status:  new
  Priority:  major       |  Milestone:  2.1.0
 Component:  Console UI  |    Version:  2.0.3
Resolution:              |   Keywords:
-------------------------+-------------------

Comment (by KtlTheBest):

 Good time of the day. I am currently looking into the problem, but the
 quick analysis shows that there is no conversion of port value to integer.

 There is a `_do_add(result, **kwargs)` method in
 `ui/console/modes/connectionmanager.py` which then calls
 `add_host(hostname, port, username, password)` method from the same class,
 which in turn calls the `add_host()` from the `Hostlist()` class which is
 located in `ui/hostlist.py` which then raises the Exception.

 The question is, at what stage does the conversion from the str to int
 must happen?

 Best regards,
 KtlTheBest

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3505#comment:2>
Deluge <https://deluge-torrent.org/>
Deluge Project

-- 
You received this message because you are subscribed to the Google Groups 
"Deluge Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/deluge-dev/060.39ea9a51da6fac4058f0022e17b6ad15%40deluge-torrent.org.

Reply via email to