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

Bug: GpAppend/Rewrite stalls nvim in windows terminal inside a python file #126

Closed
skyroor opened this issue Apr 3, 2024 · 5 comments
Closed
Labels
bug Something isn't working needs resolve confirmation Solution requires testing or confirmation from users

Comments

@skyroor
Copy link

skyroor commented Apr 3, 2024

I am having an issue when trying to use GpAppend or GpRewrite in a python files, system fans ramp, and nvim comes to a halt accepting no inputs, forcing me to shutdown the terminal.

I've tested GpChatNew, blank files, and text files without issues.
Disabling all other plugins does not resolve the issue.

When testing python files in WSL2/Ubuntu the issue does NOT persist.

Issue platform:

  • Windows Terminal
  • Powershell 7.4.1
  • NVIM v0.9.5 / Build type: RelWithDebInfo / LuaJIT 2.1.1703942320

:checkhealth - gp.nvim - all ok (except sox)

Looking for ways to test this issue and gather any proper info/logs to find the root issue and potential solutions.

@skyroor skyroor changed the title GpAppend/Rewrite stalls nvim in windows terminal inside a python file Bug: GpAppend/Rewrite stalls nvim in windows terminal inside a python file Apr 3, 2024
@milseg
Copy link

milseg commented Apr 14, 2024

Same issue here. It stalls in a python file on windows. It accepts no inputs when it happens. Chat is running ok. I erased nvim-data folder for a fresh run and it didn't work neither. My nvim settings can be found here

@Robitx Robitx added the bug Something isn't working label Aug 4, 2024
@Robitx Robitx added the needs resolve confirmation Solution requires testing or confirmation from users label Aug 5, 2024
@Robitx
Copy link
Owner

Robitx commented Aug 6, 2024

@skyroor @milseg sorry for keeping Windows a second class citizen. I've finally got around to installing Windows instance in VM and manged to get nvim working in it.

The freezing should be fixed now, it was caused by an embarrassing bug in a while loop searching for root of a git repository (stop condition was a unix only root dir). 🤦‍♂️

@milseg
Copy link

milseg commented Aug 6, 2024

@Robitx It works for me ;-)

@Robitx
Copy link
Owner

Robitx commented Aug 6, 2024

@milseg thx for the confirm.

@Robitx Robitx closed this as completed Aug 6, 2024
@skyroor
Copy link
Author

skyroor commented Aug 6, 2024

@Robitx confirmed working for me as well! no worries on the delay, thank you for the update!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs resolve confirmation Solution requires testing or confirmation from users
Projects
None yet
Development

No branches or pull requests

3 participants