Comments (5)
Looks like the error happens when setting buftype = "prompt"
. You're using Neovim v0.4.4, but the minimum required version is 0.5. Could you upgrade and see if that fixes it?
from gkeep.nvim.
Thanks @stevearc for the quick reply. So yes, that covered it - I upgraded and got past that first issue ..
But it seems like i've bumped into another .. this time a terminal problem opening/closing the prompt.
Error detected while processing function _gkeep_prompt_close[1]..remote#define#request:
line 2:
Error invoking '/home/unop/.local/share/nvim/site/pack/gkeep/start/gkeep.nvim/rplugin/python3/gkeep:function:_gkeep_prompt_close' on channel 3 (python3-rplugin-host):
error caught in request handler '/home/unop/.local/share/nvim/site/pack/gkeep/start/gkeep.nvim/rplugin/python3/gkeep:function:_gkeep_prompt_close [['rmihrkqdjzmbjjdy']]':
Traceback (most recent call last):
File "/usr/lib/python3.9/getpass.py", line 69, in unix_getpass
old = termios.tcgetattr(fd) # a copy to save
termios.error: (25, 'Inappropriate ioctl for device')
During handling of the above exception, another exception occurred:
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/unop/.local/share/nvim/site/pack/gkeep/start/gkeep.nvim/rplugin/python3/gkeep/plugin.py", line 47, in d
return f(self, *args[0])
File "/home/unop/.local/share/nvim/site/pack/gkeep/start/gkeep.nvim/rplugin/python3/gkeep/plugin.py", line 81, in w
f(self, *args, **kwargs)
File "/home/unop/.local/share/nvim/site/pack/gkeep/start/gkeep.nvim/rplugin/python3/gkeep/plugin.py", line 375, in close_prompt
self._modal.prompt.close(text)
File "/home/unop/.local/share/nvim/site/pack/gkeep/start/gkeep.nvim/rplugin/python3/gkeep/modal/prompt.py", line 66, in close
callback(text)
File "/home/unop/.local/share/nvim/site/pack/gkeep/start/gkeep.nvim/rplugin/python3/gkeep/plugin.py", line 81, in w
f(self, *args, **kwargs)
File "/home/unop/.local/share/nvim/site/pack/gkeep/start/gkeep.nvim/rplugin/python3/gkeep/plugin.py", line 48, in d
return f(self, *args)
File "/home/unop/.local/share/nvim/site/pack/gkeep/start/gkeep.nvim/rplugin/python3/gkeep/plugin.py", line 693, in cmd_login
keyring.set_password("google-keep-token", email, token)
File "/usr/local/lib/python3.9/dist-packages/keyring/core.py", line 60, in set_password
get_keyring().set_password(service_name, username, password)
File "/usr/local/lib/python3.9/dist-packages/keyring/backends/chainer.py", line 58, in set_password
return keyring.set_password(service, username, password)
File "/usr/local/lib/python3.9/dist-packages/keyrings/alt/file_base.py", line 123, in set_password
password_encrypted = self.encrypt(password.encode('utf-8'), assoc)
File "/usr/local/lib/python3.9/dist-packages/keyrings/alt/file.py", line 199, in encrypt
cipher = self._create_cipher(self.keyring_key, salt, IV)
File "/usr/local/lib/python3.9/dist-packages/keyring/util/properties.py", line 57, in __get__
return self.fget(obj)
File "/usr/local/lib/python3.9/dist-packages/keyrings/alt/file.py", line 93, in keyring_key
self._init_file()
File "/usr/local/lib/python3.9/dist-packages/keyrings/alt/file.py", line 100, in _init_file
self.keyring_key = self._get_new_password()
File "/usr/local/lib/python3.9/dist-packages/keyrings/alt/file.py", line 55, in _get_new_password
password = getpass.getpass("Please set a password for your new keyring: ")
File "/usr/lib/python3.9/getpass.py", line 91, in unix_getpass
passwd = fallback_getpass(prompt, stream)
File "/usr/lib/python3.9/getpass.py", line 126, in fallback_getpass
return _raw_input(prompt, stream)
File "/usr/lib/python3.9/getpass.py", line 148, in _raw_input
raise EOFError
I've got nothing unusual here .. I'm running under tmux but the behaviour's the same outside with and without $TERM
set.
$ echo $TERM
screen
$ echo $SHELL
bash
from gkeep.nvim.
Looks like this is failing because the underlying keyring
library is trying to set up the keyring (because it hasn't been set up yet) and it fails because it's not in an interactive context. I'll see if I can come up with a graceful way to handle that
from gkeep.nvim.
I've put in a fix. Let me know if that does it for you
from gkeep.nvim.
for me, absolutely nothing happens when I enter email or password to the prompt window. no error, no reaction
from gkeep.nvim.
Related Issues (17)
- Can't use neovim after I deleted plugin's directory HOT 4
- Unable to access gkeep notes via nvim after removing linked device on google account HOT 2
- Unable to Login HOT 7
- Failed to log in: incorrect password HOT 7
- Uninstalled plugin but keep getting an error on opening vim HOT 2
- Login error. HOT 1
- Does not cleanly uninstall -- Please help -- HOT 2
- typing_extensions HOT 2
- Cannot search with Telescope HOT 5
- Unable to login HOT 9
- Unable to login HOT 11
- Not an editor command: UpdateRemotePlugins HOT 2
- Note text is getting duplicated
- Can't login HOT 8
- Failed to login: Failed to create the collection: Prompt dismissed.. HOT 1
- Unknown error logging in; please report an issue on github. API error: ('BadAuthentication', None) HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gkeep.nvim.