Opened 15 years ago

Closed 14 years ago

#917 closed bug

gtkui can't connect to localhost

Reported by: simonbcn Owned by: andar
Priority: critical Milestone: 1.3
Component: GTK UI Version: 1.2.3
Keywords: Cc: anachron

Description

deluged working in server.
I can connect from remote with gtkui, but when I try to connect to daemon in server with gtkui, I can't. ???
No error, in log simply it shows this:

[INFO    ] 04:08:54 rpcserver:170 Deluge Client connection made from: 127.0.0.1:51077
[INFO    ] 04:08:54 rpcserver:189 Deluge client disconnected: Connection was closed cleanly.

Apparently it connects and disconnects immediately, but in the gtkui I do not see anything.

Attachments (1)

ss1.png (94.0 KB) - added by anachron 14 years ago.
Screenshot of newly started deluge-gtk

Download all attachments as: .zip

Change History (6)

comment:1 Changed 15 years ago by andar

  • Resolution set to fixed
  • Status changed from new to closed

This is likely because you don't have a localclient user in your auth file. I've committed a fix to trunk that will add a localclient user if one isn't located in the auth file.

Changed 14 years ago by anachron

Screenshot of newly started deluge-gtk

comment:2 Changed 14 years ago by anachron

  • Cc anachron added
  • Resolution fixed deleted
  • Status changed from closed to reopened
  • Version changed from 1.2.0_dev to 1.2.3

I'm having the same problem, however there is a localclient line in the auth file:

$ cat .config/deluge/auth
localclient:b0080e9adc0a76dd2fa166a1bccede27955a8243:10

I've attached a screenshot of deluge-gtk as it looks when it starts. It says "Not Connected" in the corner, but according to the dialog it is connected. If I click on the button that says "Disconnect" i get this in the console:

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/deluge/ui/gtkui/connectionmanager.py", line 439, in on_button_connect_clicked
    client.disconnect().addCallback(on_disconnect)
AttributeError: 'NoneType' object has no attribute 'addCallback'

As you can see, no torrents show up in the main window. deluge-console works ok.

outputs:

$ /usr/bin/deluged -d -L info
[INFO    ] 18:42:48 daemon:129 Deluge daemon 1.2.3
[INFO    ] 18:42:48 core:77 Starting libtorrent 0.15.0.0 session..
[INFO    ] 18:42:48 rpcserver:347 Starting DelugeRPC server localhost:58846
[WARNING ] 18:42:48 preferencesmanager:505 Unable to find GeoIP database file!
[INFO    ] 18:43:40 rpcserver:189 Deluge Client connection made from: 127.0.0.1:50848
[INFO    ] 18:43:40 rpcserver:209 Deluge client disconnected: Connection was closed cleanly.
$ deluge-gtk -L info
[INFO    ] 18:43:40 ui:101 Deluge ui 1.2.3
[INFO    ] 18:43:40 ui:104 Starting ui..
[WARNING ] 18:43:40 gtkui:174 Unable to register a 'die' handler with the GNOME session manager: No module named gnome.ui
[INFO    ] 18:43:40 client:209 Connecting to daemon at 127.0.0.1:58846..
[INFO    ] 18:43:40 client:121 Connected to daemon at 127.0.0.1:58846..
[INFO    ] 18:43:40 client:216 Connection lost to daemon at 127.0.0.1:58846 reason: Connection was closed cleanly.
[WARNING ] 18:43:45 config:405 Unable to open config file: /home/anachron/.config/deluge/gtkui.conf

comment:3 Changed 14 years ago by Cas

  • Milestone set to 1.3.0

comment:4 Changed 14 years ago by andar

  • Status changed from reopened to pending

Can you try this with a clean config directory?

comment:5 Changed 14 years ago by trac-robot

  • Status changed from pending to closed

This ticket was closed automatically by the system. It was previously set to a Pending status and hasn't been updated within 14 days.

Note: See TracTickets for help on using tickets.