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

Invalid window Id #269

Open
felipscarvalho opened this issue Mar 9, 2024 · 4 comments
Open

Invalid window Id #269

felipscarvalho opened this issue Mar 9, 2024 · 4 comments

Comments

@felipscarvalho
Copy link

felipscarvalho commented Mar 9, 2024

Hi,

I was having the issue #266, followed the solution presented by @linenl and that problem was solved. However, another specific error started to happens, the Invalid window Id.

image

That error happens when I do "!wq" in .ts files (I haven't tested in other file types, but in .lua of the config, that not happens). When I do only "!w" or "!q" the error does not happens.

Note: I'm lunar vim user, that error is happening in the fresh installation.

Update: I tested in my python projects, and the error does not happens, It must be only in .ts files. I really don't know how to solve the problem, accepting any help.

@LiveNL
Copy link

LiveNL commented Mar 13, 2024

Hi @felipscarvalho,

I'm having the same issues at the moment. I can confirm that this is also an issue for other file types, like python (.py).

@goolord
Copy link
Owner

goolord commented Mar 21, 2024

i have not had this happen to me yet, i'm unsure how to fix this without some way to reproduce the error. if you could figure out a minimal configuration building on one of https://github.com/goolord/alpha-nvim/blob/main/debug/DEBUG.md that would make it easier for me

@LiveNL
Copy link

LiveNL commented Mar 25, 2024

Unfortunately, I'm not able to reproduce the error myself so far, deterministically. I'll send a config/set of steps, as soon as I'm able to do so.

@felipscarvalho
Copy link
Author

felipscarvalho commented Mar 25, 2024

Hi @goolord,

when I run the debug commands from the alpha-nvim folder, it returns me that error:

Error detected while processing /home/felipe/.local/share/lunarvim/site/pack/lazy/opt/alpha-nvim/debug/min-alpha-startify.lua:
E5113: Error while calling lua chunk: vim/_editor.lua:0: /home/felipe/.local/share/lunarvim/site/pack/lazy/opt/alpha-nvim/debug/min-alpha-startify.lua..nvim_exec2() called at /home/felipe/
.local/share/lunarvim/site/pack/lazy/opt/alpha-nvim/debug/min-alpha-startify.lua:0: Vim(rshada):E886: System error while opening ShaDa file /home/felipe/.local/share/nvim/shada/main.shada
for reading: no such file or directory
stack traceback:
        [C]: in function 'nvim_exec2'
        vim/_editor.lua: in function 'cmd'
        ...te/pack/lazy/opt/alpha-nvim/debug/min-alpha-startify.lua:2: in main chunk

Otherwise, when I run the same commands directly from the alpha-nvim/debug folder, adapting the command, it returns no error.

Note: I tried all the six commands from the alpha-nvim/debug/DEBUG.md.

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