Closed jjrev closed 5 months ago
As the relevant parts of the stack trace point to the LF Synthesis and some internal LF generator code I would like to ask @a-sr if he knows anything about this. In Windows 10 we never heard about such a problem, but I will try to reproduce this on a Windows 11 machine soon when I have access to one. Does this happen for any model or just a specific one?
It happens for all the models I've tried (multiple *.lf files for C and Python languages).
It looks like a problem with the ASTUtils
, which is used in both the code generation and the diagram synthesis. Yet, sometimes the methods are not written with both contexts in mind, causing errors in the diagram generation (e.g. https://github.com/lf-lang/lingua-franca/issues/1930).
@jjrev Could you please open an issue in the LF repo for this problem.
I will close this issue since it is not related to klighd-vscode.
On a Windows 11 system with JDK 17 installed, I see the following error in VSCode when trying to display the diagram for *.lf source files:
Google searches indicate there is something improper with how the Path is handled. I suspect the triple backslash in the beginning of the Path is where things are going awry but not sure where that prefix is coming from.