Opened 4 years ago

Last modified 4 years ago

#3362 new bug

Error when connecting to a remote server with deluge-console

Reported by: Taspir Owned by:
Priority: minor Milestone: needs verified
Component: Console UI Version: 2.0.0
Keywords: Cc:



I got the following error while connecting to my remote deluge server:

Unhandled error in Deferred:

Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/twisted/internet/", line 654, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/usr/lib/python3.8/site-packages/deluge/ui/", line 408, in __on_connect_fail
  File "/usr/lib/python3.8/site-packages/twisted/internet/", line 501, in errback
  File "/usr/lib/python3.8/site-packages/twisted/internet/", line 568, in _startRunCallbacks
--- <exception caught here> ---
  File "/usr/lib/python3.8/site-packages/twisted/internet/", line 654, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/usr/lib/python3.8/site-packages/deluge/ui/console/modes/", line 90, in _on_connect_fail
    self.report_message('Failed to connect!', result)
  File "/usr/lib/python3.8/site-packages/deluge/ui/console/widgets/", line 61, in report_message
    self.push_popup(MessagePopup(self, title, message))
  File "/usr/lib/python3.8/site-packages/deluge/ui/console/widgets/", line 354, in __init__
    lns = format_utils.wrap_string(self.message, self.width - 3, 3, True)
  File "/usr/lib/python3.8/site-packages/deluge/ui/console/utils/", line 207, in wrap_string
    s1 = string.split('\n')
builtins.AttributeError: 'Failure' object has no attribute 'split'

I simply used the command connect ip:port user passwd.

Also, with my current setup I have a server running on rasbian (v 1.3.13) and can successfully connect with the Windows deluge client (v 1.3.15), but not with the Archlinux client (v 2.0.4). Is the 2.0.4 version simply incompatible with the 1.x.x versions?


Change History (2)

comment:1 by DjLegolas, 4 years ago

First, no. There is no way to connect 1.x with 2.x as they are incompatible with each other.

Second, does the exception log is while trying to connect from 2.0.4 client to the 1.3.13 server?

comment:2 by Taspir, 4 years ago

This is the error on the client, on the server side with debug information is displays a successful connection but nothing happens.

I'll do without the archlinux client for the moment then.

Thanks for answering.

Note: See TracTickets for help on using tickets.