Opened 5 months ago

Last modified 4 months 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:

Description

Hi,

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/defer.py", line 654, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/usr/lib/python3.8/site-packages/deluge/ui/client.py", line 408, in __on_connect_fail
    self.daemon_info_deferred.errback(reason)
  File "/usr/lib/python3.8/site-packages/twisted/internet/defer.py", line 501, in errback
    self._startRunCallbacks(fail)
  File "/usr/lib/python3.8/site-packages/twisted/internet/defer.py", line 568, in _startRunCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "/usr/lib/python3.8/site-packages/twisted/internet/defer.py", line 654, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/usr/lib/python3.8/site-packages/deluge/ui/console/modes/connectionmanager.py", line 90, in _on_connect_fail
    self.report_message('Failed to connect!', result)
  File "/usr/lib/python3.8/site-packages/deluge/ui/console/widgets/popup.py", line 61, in report_message
    self.push_popup(MessagePopup(self, title, message))
  File "/usr/lib/python3.8/site-packages/deluge/ui/console/widgets/popup.py", 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/format_utils.py", 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?

Regards

Change History (2)

comment:1 Changed 4 months ago by DjLegolas

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 Changed 4 months ago by Taspir

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.