sqlfluff/vscode-sqlfluff

"File path not found" when working on unsaved files

Opened this issue · 1 comments

I usually use the SQLFluff extension when working with unsaved files, which has been working for me until a few days ago, when I started getting this error message when typing (linter is set to onType):
image

output:

------------------------------------------------------------

Received close event, code 0 signal null
Raw stdout output:

------------------------------------------------------------

sqlfluff, version 3.1.0


------------------------------------------------------------

sqlfluff version: 3,1,0
ERROR: File path not found.
ERROR: File path not found.

When working on saved files, the extension works as expected.
The formatter does work when running "Format Document", it's only the linting that doesn't work (getting nothing under the "problems" tab as well)

I attempted a fix in v3.1.2, let me know if this solves the issue for you