-
Notifications
You must be signed in to change notification settings - Fork 132
Constantly Bombarded by Error Message: Request textDocument/hover failed. #907
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
Comments
That is odd. Can you provide a code example? |
Can you reproduce this with the newest server version (5.0)? |
Hello! I am getting bombarded by the same error messages :( Using: VS-Codium with Bash IDE version 1.38 (from 9 months ago, no newer version is available). It's using language server 4.10 as far as I can see from the plugin changelog. Not sure how or if I can upgrade to a newer language server without upgrading the plugin itself. The files I edited are for example https://github.com/armbian/build/blob/main/lib/functions/compilation/kernel-config.sh and others in the same repo. Some of the log messages:
The logs start like this:
And also include things like this (
|
You're lucky, the version on https://open-vsx.org/extension/mads-hartmann/bash-ide-vscode is still stuck on 1.38.0 |
I am getting the same errors, using "latest" v1.41.0, also with the same errors as above.. The project, has quite a lot of scripts (617), which "all" seem to be scanned even when "never" opened... |
I have also begun to get these "memory access out of bounds" messages when working with shell scripts. |
+1 |
@skovhus Again facing it today |
I'm also getting these errors rather frequently, but its been happening for 6 months or longer. I don't think it's platform specific, but I'm on Arch Linux with VS-codium v1.92.2-24228 and Bash IDE v1.38.0. I use many shell scripts in my various projects, so this plugin is generally of great help to my day. This issue seems to get triggered when there is a syntax error in the script (like if you make an "if" without a matching "fi" or mismatched parenthesis / curly braces), then move your cursor around the script in random places. I'll try to be more mindful of a pattern that triggers it and report back if I discover specific steps to consistently reproduce the issue. As a workaround, I sometimes disable and re-enable the plugin, or if that fails, often restarting the IDE helps. |
That would be great. Having a hard time reproducing this. |
OK, it just triggered again for me. Not quite a reproducer, but I seem to at least have a backtrace. I got these error messages on the console (I just SNIPed my home directory path from the messages):
I was typing this line within a shell script function on line 584:
I had typed the line and moved my text cursor back with the arrow keys to the After it triggers, the problem happens almost continuously just by moving the mouse cursor over the code text. I assume it's looking for some tooltip text to pop up and failing to get that due to some inconsistent internal state. Disabling the plugin, restarting plugins, and then reenabling it restored normal operation. Backspacing the line from the end and re-typing it did not re-trigger the issue. Getting it to happen from a fresh start is not so easy. Seems to happen most often after I've been working for a while. I'll report back again if I find anything else. |
The stack-trace indicates that it could be an issue with treesitter. I just upgraded to the latest version, and released a new LSP version 5.4.2 and vscode extension 1.43. Let me know if it fixes anything. |
For what it's worth, the updated plugin isn't showing for me in VS Codium either. According to the open-vsx website, 1.38.0 is still the latest: https://open-vsx.org/extension/mads-hartmann/bash-ide-vscode I see 1.43 here: https://marketplace.visualstudio.com/items?itemName=mads-hartmann.bash-ide-vscode but that isn't very easy to install in VS Codium. @skovhus Any chance you could update on open-vsx too? Or are they just slow to update their listed versions? In the meantime, I'm trying a workaround to install v1.43.0, and I'll report back if I can provide more feedback on this issue. |
ok, coming back to this... I was able to get v1.43 installed in VS Codium via the @skovhus Thus far, over the course of a few weeks, I have not had a single crash or error message since installing this update. So from that perspective, I think this issue may be fixed in v1.43! That said, it would be nice if this updated release were available in the open-vsx marketplace as well, since they currently only provide access to v1.38 and older releases. Anyone using these older versions are likely to find their way to this bug report when they encounter the issue. The open-vsx page for the extension (the open-vsx.org URL linked in my last post) says it has no owner, and requests that someone claim it. I imagine anyone using a variant of VS Code that isn't a Microsoft release version would be using the open-vsx marketplace rather than the official VS Code marketplace. For more information on claiming the plugin, I found this link: https://github.com/eclipse/openvsx/wiki/Publishing-Extensions Thanks for the help, and hopefully my reply here can help others as well! @ColorfulRhino since you were also on the same version 1.38 that I was on, consider checking out the |
For whoever is still having the same issue with the latest BashIDE VSCode extension (v1.43), a partial workaround could be to use an extension like So as soon as the discussed error re-occurs, just click the Note: Extension tested and still working in latest VSCode/VSCodium version (v1.97.0 at the time of writing). |
I'm getting spammed by this error, which is unfortunate since I only installed Bash IDE to try today. Version1.43.0 VS CodeVersion: 1.97.2 |
Code editor
Codium
Platform
Fedora 38
Version
v1.38.0
What do you see instead?
Additional information
bashIde.explainshellEndpoint
is blank in the SettingsIssue started randomly from today.
The text was updated successfully, but these errors were encountered: