leetcode.vim icon indicating copy to clipboard operation
leetcode.vim copied to clipboard

Leetcode Signin Problem

Open raman08 opened this issue 3 years ago • 4 comments

While signing in I got the following error:

Error detected while processing function leetcode#SignIn[1]..<SNR>102_LoadSessionCookie[6]..
provider#python3#Call:
line   18:
Error invoking 'python_eval' on channel 3 (python3-script-host):
error caught in request handler 'python_eval ['leetcode.load_session_cookie("firefox")']':
Traceback (most recent call last):
  File "/home/raman/.local/lib/python3.10/site-packages/secretstorage/util.py", line 46, in
send_and_get_reply
    return self._connection.send_and_get_reply(msg, unwrap=True)
  File "/home/raman/.local/lib/python3.10/site-packages/jeepney/io/blocking.py", line 190, i
n send_and_get_reply
    return unwrap_msg(msg_in)
  File "/home/raman/.local/lib/python3.10/site-packages/jeepney/wrappers.py", line 214, in u
nwrap_msg
    raise DBusErrorResponse(msg)
jeepney.wrappers.DBusErrorResponse: [org.freedesktop.DBus.Error.UnknownMethod] ('Object does
 not exist at path “/org/freedesktop/secrets/collection/login”',)

raman08 avatar Feb 16 '22 10:02 raman08

Excuse me ,i have the same problem, have you solved it?

SmartDengC avatar Mar 24 '22 13:03 SmartDengC

I also have the same problem arch linux

Virgilio-AI avatar May 30 '22 18:05 Virgilio-AI

@smartDengC Sorry, I have not been able to solve the problem.

raman08 avatar May 31 '22 17:05 raman08

I slove that with https://github.com/python-poetry/poetry/issues/3662#issuecomment-854327667 Also happening here, although I am using conda

I could fix it by following your advice and explictly setting a backend for keyring. So I created the file ~/.config/python_keyring/keyringrc.cfg with the following content:

[backend] default-keyring=keyring.backends.SecretService.Keyring Disabling keyring also got rid of the error but then poetry wouldn't authenticate.

papupupu avatar Apr 23 '23 15:04 papupupu