Hi all,
I'm now into my second week of tinkering with Deluge, and I'm getting mightily frustrated.
Can I just ask, has ANYONE ever, ever managed to get deluge-console working in Ubuntu 10.04, either connecting to the localhost or a remote daemon? I have now reinstalled my entire OS at least three times, and done fresh apt-get installs on deluged, deluge-webui and deluge-console. But deluge-console just gives me a shower of errors in python2.6/resources.py. I've googled them but allegedly these problems were all solved several versions ago.
I'd just like someone to say, 'Yup, I've got it going by tweaking x, y and z and it works fine" - or "Nope, that's always going to be a no-go because of x, y and z, and you should move on with your life".
Can anyone help?
Discy
Deluge-console in Ubuntu. Has anyone ever managed it?
-
- Member
- Posts: 45
- Joined: Sat Jul 03, 2010 7:20 pm
Re: Deluge-console in Ubuntu. Has anyone ever managed it?
Are you getting errors when running deluge-console or when trying to connect to a daemon?
Also can you paste the errors here.
Also can you paste the errors here.
-
- Member
- Posts: 45
- Joined: Sat Jul 03, 2010 7:20 pm
Re: Deluge-console in Ubuntu. Has anyone ever managed it?
twisted.internet.error.ConnectionRefusedError: Connection was refused by other side: 111: Connection refused.
Unhandled error in Deferred:
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 371, in _runCallbacks
self.result = callback(self.result, *args, **kw)
File "/usr/lib/pymodules/python2.6/deluge/ui/client.py", line 385, in __on_connect_fail
self.login_deferred.errback(reason)
File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 307, in errback
self._startRunCallbacks(fail)
File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 354, in _startRunCallbacks
self._runCallbacks()
--- <exception caught here> ---
File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 371, in _runCallbacks
self.result = callback(self.result, *args, **kw)
File "/usr/lib/pymodules/python2.6/deluge/ui/console/commands/connect.py", line 62, in on_connect_fail
self.console.write("{!error!}Failed to connect to %s:%s with reason: %s" % (host, port, result.value.exception_msg))
exceptions.AttributeError: 'ConnectionRefusedError' object has no attribute 'exception_msg'
Unhandled error in Deferred:
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 371, in _runCallbacks
self.result = callback(self.result, *args, **kw)
File "/usr/lib/pymodules/python2.6/deluge/ui/client.py", line 385, in __on_connect_fail
self.login_deferred.errback(reason)
File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 307, in errback
self._startRunCallbacks(fail)
File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 354, in _startRunCallbacks
self._runCallbacks()
--- <exception caught here> ---
File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 371, in _runCallbacks
self.result = callback(self.result, *args, **kw)
File "/usr/lib/pymodules/python2.6/deluge/ui/console/commands/connect.py", line 62, in on_connect_fail
self.console.write("{!error!}Failed to connect to %s:%s with reason: %s" % (host, port, result.value.exception_msg))
exceptions.AttributeError: 'ConnectionRefusedError' object has no attribute 'exception_msg'
Re: Deluge-console in Ubuntu. Has anyone ever managed it?
Are you trying to connect to a local or remote daemon?
And what version(s) of Deluge are you using?
And what version(s) of Deluge are you using?
-
- Member
- Posts: 45
- Joined: Sat Jul 03, 2010 7:20 pm
Re: Deluge-console in Ubuntu. Has anyone ever managed it?
Okay, so I reinstalled Ubuntu to 9.10 64-bit. Fresh install. Did all apt-get upgrades, but installed no other software before doing the following.
I install Deluge using the instructions given here...
http://havetheknowhow.com/Install-the-s ... ss-RC.html
Then I apt-get install deluge-console, but when I type deluge-console at the command line I get the following.
[ERROR ] 10:56:53 client:375 RPCError Message Received!
--------------------------------------------------------------------------------
RPCRequest: daemon.login(, )
--------------------------------------------------------------------------------
File "/usr/lib/pymodules/python2.6/deluge/core/rpcserver.py", line 245, in dispatch
ret = component.get("AuthManager").authorize(*args, **kwargs)
File "/usr/lib/pymodules/python2.6/deluge/core/authmanager.py", line 87, in authorize
raise BadLoginError("Username does not exist")
BadLoginError: Username does not exist
It's a remote machine - my home server - but I'm logged into it via ssh. So this is before I even try to connect to the deluge daemon from a local client (such as on my laptop).
Oh, it's version 1.2.3, by the way.
Incidentally, my daemon is running - I can see it via the web interface - but no ~/.config/deluge/auth file appears to exist.
All suggestions welcome. I do have a feeling that this is the piece of software I need, but dang is it hard to set up.
Discy
I install Deluge using the instructions given here...
http://havetheknowhow.com/Install-the-s ... ss-RC.html
Then I apt-get install deluge-console, but when I type deluge-console at the command line I get the following.
[ERROR ] 10:56:53 client:375 RPCError Message Received!
--------------------------------------------------------------------------------
RPCRequest: daemon.login(, )
--------------------------------------------------------------------------------
File "/usr/lib/pymodules/python2.6/deluge/core/rpcserver.py", line 245, in dispatch
ret = component.get("AuthManager").authorize(*args, **kwargs)
File "/usr/lib/pymodules/python2.6/deluge/core/authmanager.py", line 87, in authorize
raise BadLoginError("Username does not exist")
BadLoginError: Username does not exist
It's a remote machine - my home server - but I'm logged into it via ssh. So this is before I even try to connect to the deluge daemon from a local client (such as on my laptop).
Oh, it's version 1.2.3, by the way.
Incidentally, my daemon is running - I can see it via the web interface - but no ~/.config/deluge/auth file appears to exist.
All suggestions welcome. I do have a feeling that this is the piece of software I need, but dang is it hard to set up.
Discy
-
- Member
- Posts: 45
- Joined: Sat Jul 03, 2010 7:20 pm
Re: Deluge-console in Ubuntu. Has anyone ever managed it?
Okay, a further update to this. I've at least managed to avoid all the error messages - but the console on my laptop shows absolutely no sign of connecting to the daemon on my local server.
To get rid of the error messages, from the previous set-up outlined above in this thread, I copied the auth file in /var/lib/deluge to ~/.config/deluge and it did the trick. I can now fire up the console on both my laptop and my local server via ssh.
However, I've tried enabling remote connections - via the instructions given here...
http://en.gentoo-wiki.com/wiki/Deluge#S ... figuration
...and while the two consoles seem perfectly happy to connect to their localhost - 127.0.0.1:58846, in other words - they do nothing when I try to connect from the laptop to the server box. I've tried the following sorts of commands within the console...
connect 192.168.2.200:58846
connect 192.168.2.200
connect 192.168.2.200 <uname> <password>
connect 192.168.2.200 deluge
Nothing happens. It just shifts the command one line up and sits there.
I've also tried using the desktop client - 1.2.3 - on my Ubuntu desktop of my laptop. Again, nothing. I just get a cross beside the 192,168.*.* server...
Can anyone help further? Hopefully if anyone else has the random error messages that I was getting earlier they'll find this thread and it'll help them. It'd be great if we were able to take that right through to conclusion and remote control....
Discy
To get rid of the error messages, from the previous set-up outlined above in this thread, I copied the auth file in /var/lib/deluge to ~/.config/deluge and it did the trick. I can now fire up the console on both my laptop and my local server via ssh.
However, I've tried enabling remote connections - via the instructions given here...
http://en.gentoo-wiki.com/wiki/Deluge#S ... figuration
...and while the two consoles seem perfectly happy to connect to their localhost - 127.0.0.1:58846, in other words - they do nothing when I try to connect from the laptop to the server box. I've tried the following sorts of commands within the console...
connect 192.168.2.200:58846
connect 192.168.2.200
connect 192.168.2.200 <uname> <password>
connect 192.168.2.200 deluge
Nothing happens. It just shifts the command one line up and sits there.
I've also tried using the desktop client - 1.2.3 - on my Ubuntu desktop of my laptop. Again, nothing. I just get a cross beside the 192,168.*.* server...
Can anyone help further? Hopefully if anyone else has the random error messages that I was getting earlier they'll find this thread and it'll help them. It'd be great if we were able to take that right through to conclusion and remote control....
Discy