Opened 5 years ago

Closed 4 years ago

#2343 closed bug (Fixed)

preferences: network: incoming port

Reported by: lemtargatwing Owned by:
Priority: minor Milestone: 1.3.7
Component: Core Version: 1.3.6
Keywords: Cc:

Description (last modified by Cas)

When attempting to set incoming port, nothing actually happens. When launching from terminal, this shows when setting port:

Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/ui/", line 432, in __init__
    self.__daemon = deluge.core.daemon.Daemon(classic=True)
  File "/usr/lib/python2.7/dist-packages/deluge/core/", line 161, in __init__
  File "/usr/lib/python2.7/dist-packages/deluge/", line 296, in start
  File "/usr/lib/python2.7/dist-packages/deluge/", line 124, in _component_start
    d = maybeDeferred(self.start)
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/internet/", line 138, in maybeDeferred
    result = f(*args, **kw)
  File "/usr/lib/python2.7/dist-packages/deluge/core/", line 160, in start
  File "/usr/lib/python2.7/dist-packages/deluge/", line 312, in register_set_function
    function(key, self.__config[key])
  File "/usr/lib/python2.7/dist-packages/deluge/core/", line 254, in _on_set_listen_ports
    self.session.listen_on(value[0], value[1], str(self.config["listen_interface"]))
exceptions.RuntimeError: Invalid argument
[ERROR   ] 17:55:46 component:118 [Failure instance: Traceback: <type 'exceptions.RuntimeError'>: Invalid argument
--- <exception caught here> ---

OS: Linux Mint 64bit Cinnamon 3.8.0-19-generic #29-Ubuntu

Ports never change, other than when they are randomized on startup.

Change History (5)

comment:1 Changed 5 years ago by Cas

  • Description modified (diff)

What values are the ports and interface set to?

comment:2 Changed 5 years ago by lemtargatwing

Port 6881

comment:3 Changed 5 years ago by lemtargatwing

Sorry forgot the interface. Interface is not set.

comment:4 Changed 5 years ago by Cas

  • Status changed from new to pending

This error has been generated while communicating with libtorrent but I cannot replicate, if is this still an issue can you enable debug logging so we can see the output before the exception.

Were you using Web or GTK ui, also what version of Deluge and libtorrent are you using?

comment:5 Changed 4 years ago by Cas

  • Milestone changed from 1.3.x to 1.3.7
  • Resolution set to Fixed
  • Status changed from pending to closed

I think this was likely due to a whitespace character in the interface option and have committed a couple of fixes to 1.3-stable: [29d3e72f49a6] and [d04af1e3926b]

Note: See TracTickets for help on using tickets.