Code: Select all
2013-09-09 22:09:03,051 Download complete: {torrent id}
2013-09-09 22:09:03,051 Connecting to deluge
2013-09-09 22:09:03,055 Connecting to daemon at 127.0.0.1:58846..
2013-09-09 22:09:03,058 Connected to daemon at 127.0.0.1:58846..
2013-09-09 22:09:03,067 RPCError Message Received!
--------------------------------------------------------------------------------
RPCRequest: daemon.login(, )
--------------------------------------------------------------------------------
File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 259, 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
--------------------------------------------------------------------------------
2013-09-09 22:09:03,068 Connection failed: [Failure instance: Traceback (failure with no frames): <class 'deluge.ui.client.DelugeRPCError'>: <deluge.ui.client.DelugeRPCError object at 0x7f9796e85bd0>
]
2013-09-09 22:09:03,068 Connection lost to daemon at 127.0.0.1:58846 reason: Connection was closed cleanly.
Code: Select all
localclient:{bunch of random characters}:10
flexget:{flexgetpass}:10
My question is this: in flexget, I am required to pass a username and password for authentication to deluge. In the script I am using, it just uses the client.connect() method with no obvious facility to pass authentication details. Is there something wrong with my localclient configuration in the auth file? Or is there a method to connect to deluge in python that passes a username and password?
Thank you in advance for your help!