deluge-console not passing username and password
Posted: Mon Jan 16, 2017 8:20 am
Hi,
I am writing a python program that will use deluge-console, but I can't get it to interact with the daemon running on the local machine. I can connect fine with `deluge-console "connect localhost username password"`, but if I try to send the info command, the log tells me that I am sending a blank username and password and that I fail to authenticate:
I have also tried running both commands on the same line separated by a ";", but that didn't work either. The root user properly sends username "localclient" and a long string for a password, but my user doesn't send anything.
Is there something I have to do to get my user to send authentication info? If there is no way to change that, how can I stay connected to send info?
I am writing a python program that will use deluge-console, but I can't get it to interact with the daemon running on the local machine. I can connect fine with `deluge-console "connect localhost username password"`, but if I try to send the info command, the log tells me that I am sending a blank username and password and that I fail to authenticate:
Code: Select all
deluge@debian:~$ deluge-console info
[ERROR ] 03:00:59 client:391 RPCError Message Received!
--------------------------------------------------------------------------------
RPCRequest: daemon.login(, )
--------------------------------------------------------------------------------
File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 260, in dispatch
ret = component.get("AuthManager").authorize(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/deluge/core/authmanager.py", line 87, in authorize
raise BadLoginError("Username does not exist")
BadLoginError: Username does not exist
--------------------------------------------------------------------------------
Failed to connect to 127.0.0.1:58846 with reason: Username does not exist
deluge@debian:~$
Is there something I have to do to get my user to send authentication info? If there is no way to change that, how can I stay connected to send info?