Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when logging in with username #42

Open
acxz opened this issue Feb 19, 2022 · 4 comments
Open

Error when logging in with username #42

acxz opened this issue Feb 19, 2022 · 4 comments

Comments

@acxz
Copy link

acxz commented Feb 19, 2022

Command: :AirLatex

Error detected while processing function remote#define#request:
line    2:
Error invoking '/home/acxz/.local/share/nvim/plugged/AirLatex.vim/rplugin/python3/test.py:command:AirLatex' on channel 4 (python
3-rplugin-host):
error caught in request handler '/home/acxz/.local/share/nvim/plugged/AirLatex.vim/rplugin/python3/test.py:command:AirLatex []':
Traceback (most recent call last):
  File "/usr/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 "/usr/lib/python3.10/site-packages/jeepney/io/blocking.py", line 190, in send_and_get_reply
    return unwrap_msg(msg_in)
  File "/usr/lib/python3.10/site-packages/jeepney/wrappers.py", line 214, in unwrap_msg
    raise DBusErrorResponse(msg)
jeepney.wrappers.DBusErrorResponse: [org.freedesktop.DBus.Error.UnknownMethod] ('Object does not exist at path “/org/freedesktop
/secrets/collection/login”',)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/secretstorage/collection.py", line 161, in get_default_collection
    return Collection(connection)
  File "/usr/lib/python3.10/site-packages/secretstorage/collection.py", line 44, in __init__
    self._collection.get_property('Label')
  File "/usr/lib/python3.10/site-packages/secretstorage/util.py", line 64, in get_property
    (signature, value), = self.send_and_get_reply(msg)
  File "/usr/lib/python3.10/site-packages/secretstorage/util.py", line 49, in send_and_get_reply
    raise ItemNotFoundException('Item does not exist!') from resp

sysinfo:
python: 3.10.2
nvim: 0.6.1

@c3r34lk1ll3r
Copy link
Contributor

Hello,

I think that you haven't installed the keyring. Installing gnome-keyring fixed that problem in my case.

@acxz
Copy link
Author

acxz commented Apr 12, 2022

Thanks for your comment. I'll test it out as soon as I can.

However, right now after installing the plugin nvim isn't able to find AirLatex, the command :AirLatex is giving me: E492: Not an editor command: AirLatex

I'm following the readme to a T

Plug 'da-h/AirLatex.vim', {'do': ':UpdateRemotePlugins'}
let g:AirLatexUsername="my email"

nvm had to do a manual :UpdateRemotePlugins and then restart nvim

@acxz
Copy link
Author

acxz commented Apr 12, 2022

Still getting the same error after install gnome-keyring. I'm guessing I need to somehow add my login creds to python-keyring?

@llinfeng
Copy link

On both Linux and a few more WSL installations, pip install keyring keyrings.alt got things working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants