Page 1 of 1

[Solved] FreeBSD daemon, kubuntu gtkgui no longer connects

Posted: Mon Dec 12, 2011 11:57 pm
by Spadge
Hi again.

I have no idea what I have done ...

Every time I try to connect my desktop kubuntu deluge gtkui to my remote freebsd daemon, I get the following error in the daemon's log:

Code: Select all

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/deluge-1.3.3_dev-py2.7.egg/deluge/core/rpcserver.py", line 290, in dispatch
    auth_level = self.factory.authorized_sessions[self.transport.sessionno][0]
TypeError: 'int' object is not subscriptable
This used to work, and now it doesn't. Have I broken a dependency?

I'm using 1.3.3 from the PPA on the desktop, and 1.3.3-stable from git on the server.

Thanks for any help or hints you can give me.

Re: FreeBSD daemon, kubuntu gtkgui no longer connects

Posted: Tue Dec 13, 2011 5:03 pm
by Cas
I am not entirely sure, its related to authentication so can you check that your auth file is formatted correctly.

Re: FreeBSD daemon, kubuntu gtkgui no longer connects

Posted: Tue Dec 13, 2011 5:48 pm
by Spadge
I could stop deluged, delete auth, start deluged. That would ensure it is formatted correctly.

Other than that, I just did the echo "bob:password:10" >> auth thing.

Or is it the host file on the client that's causing problems? console-ui worked on the server, remote access didn't ... so maybe it's the client that's sending the duff info rather than the server looking duff info up if you see what I mean.

My guess is that something somewhere has got messy on the client side. I will abuse the find command horribly until I turn something up.

Thanks for the help, Cas.

Re: FreeBSD daemon, kubuntu gtkgui no longer connects

Posted: Tue Dec 13, 2011 6:05 pm
by Spadge
Yeah, that fixed it. I uninstalled deluge from the client deleted everything to do it, reinstalled and it now works.