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

Pyright script checker: better error if pyright fails to run #8671

Open
Tom-Willemsen opened this issue Feb 12, 2025 · 0 comments
Open

Pyright script checker: better error if pyright fails to run #8671

Tom-Willemsen opened this issue Feb 12, 2025 · 0 comments
Labels

Comments

@Tom-Willemsen
Copy link
Contributor

Pyright keeps a cache directory at c:\Users\spudulike\.cache. This can get corrupted, if it does get corrupted the error looks like:

Image

Documented for now at https://github.com/ISISComputingGroup/ibex_developers_manual/wiki/genie_python-Troubleshooting#pyright-completely-fails-to-run (resolution is just delete the cache and try again), but we should catch non-json output from pyright in a better way and propagate a more descriptive error out to the user.

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

No branches or pull requests

1 participant