Opened 16 years ago
Closed 15 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)
Change History (6)
comment:1 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 15 years ago
Cc: | added |
---|---|
Resolution: | fixed |
Status: | closed → reopened |
Version: | 1.2.0_dev → 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 by , 15 years ago
Milestone: | → 1.3.0 |
---|
comment:4 by , 15 years ago
Status: | reopened → pending |
---|
Can you try this with a clean config directory?
comment:5 by , 15 years ago
Status: | pending → 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.
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.