Open YvesMichon opened 9 months ago
@YvesMichon could you check if v3.3.0 fixes your issue? If not please reopen.
Hello @phaumer I tested version 3.3.0 on my computer and got messages very similar to those shown in the request.
Log of Cobol Language Server
[Error - 10:01:40] Request textDocument/documentLink failed. Error: Connection got disposed. at Object.dispose (c:\Users\inemicy\.vscodeMoMaEQX\ibm.zopeneditor-3.3.0\dist\extension.js:8:1916445) at Object.dispose (c:\Users\inemicy\.vscodeMoMaEQX\ibm.zopeneditor-3.3.0\dist\extension.js:8:1980282) at c:\Users\inemicy\.vscodeMoMaEQX\ibm.zopeneditor-3.3.0\dist\extension.js:8:1976878
Log of IBM Z Open Editor
2023-10-27T10:01:59.315+02:00 INFO : The COBOL language server requested the include file "SNDATCT1", which was found and available as file "file:///c%3A/Users/inemicy/.vscodeMoMaEQX/ibm.zopeneditor-3.3.0/resources/temp/zopeneditor/_D_/zosmf/E%24DTA.%24RSRCTES.COPYSNP/SNDATCT1.cpy". 2023-10-27T10:02:02.004+02:00 WARN : The COBOL language server requested the include file "CAPUC1YI", which was not found. enforceCaseSensitiveIncludeFileNames was set to false. Check your Zowe CLI profile and property group settings and if you have not already done so, switch to the "DEBUG" log level for more information. 2023-10-27T10:02:02.704+02:00 WARN : The COBOL language server requested the include file "TBP9B11I", which was not found. enforceCaseSensitiveIncludeFileNames was set to false. Check your Zowe CLI profile and property group settings and if you have not already done so, switch to the "DEBUG" log level for more information. 2023-10-27T10:02:03.545+02:00 WARN : The COBOL language server requested the include file "TBP9B02I", which was not found. enforceCaseSensitiveIncludeFileNames was set to false. Check your Zowe CLI profile and property group settings and if you have not already done so, switch to the "DEBUG" log level for more information.
And this notification appears
Sometimes we have also those messages but not each times
Sorray I'm unable to reopen this issue. No button
Hi @YvesMichon , @phaumer
Is it possible that problem is relative to use of « $ » character wich has a special meaning both on z/OS-USS and on Windows?
I am from same company as Yves. We use IBM-1147 encoding on z/OS (at 3270 emulator and zowe profile levels, we do’nt use RSE). We use Windows-1252 encoding on Windows (not on Mac).
For second message (rmdir of temporary folder), I already view it on two conditions:
@YvesMichon could you post language server logs of the updated issue? I think they could be different, but possibly related.
Sorray I'm unable to reopen this issue. No button
Hi,
For your information, I got same problem after renewing zowe password:
Hi @ETHAN-MENDEL The language server logs are in top of my update issue :
[Error - 10:01:40] Request textDocument/documentLink failed. Error: Connection got disposed. at Object.dispose
(c:\Users\inemicy\.vscodeMoMaEQX\ibm.zopeneditor-3.3.0\dist\extension.js:8:1916445) at Object.dispose
(c:\Users\inemicy\.vscodeMoMaEQX\ibm.zopeneditor-3.3.0\dist\extension.js:8:1980282) at
c:\Users\inemicy\.vscodeMoMaEQX\ibm.zopeneditor-3.3.0\dist\extension.js:8:1976878
Another try today with the same program that initiate the issue. Here's the Language Server logs :
[Error - 08:56:01] Request textDocument/documentSymbol failed.
Error: Connection got disposed.
at Object.dispose (c:\Users\inemicy\.vscodeMoMaEQX\ibm.zopeneditor-3.3.0\dist\extension.js:8:1916445)
at Object.dispose (c:\Users\inemicy\.vscodeMoMaEQX\ibm.zopeneditor-3.3.0\dist\extension.js:8:1980282)
at c:\Users\inemicy\.vscodeMoMaEQX\ibm.zopeneditor-3.3.0\dist\extension.js:8:1976878
[Error - 08:56:01] Request textDocument/codeAction failed.
Error: Connection got disposed.
at Object.dispose (c:\Users\inemicy\.vscodeMoMaEQX\ibm.zopeneditor-3.3.0\dist\extension.js:8:1916445)
at Object.dispose (c:\Users\inemicy\.vscodeMoMaEQX\ibm.zopeneditor-3.3.0\dist\extension.js:8:1980282)
at c:\Users\inemicy\.vscodeMoMaEQX\ibm.zopeneditor-3.3.0\dist\extension.js:8:1976878
With 3.3.0 version the COPY resolution is complete. No red lines. But I have the messages in COBOL Language Server output and the request failed notification appears.
@YvesMichon our apologies. As the language server runs as a separate process they write their own logs. The logs get placed into a temp directory and the startup message in the Z Open Editor log tells you the location. See here for detailed instructions: https://ibm.github.io/zopeneditor-about/Docs/locating_local_client_logs.html#locating-vs-code-extension-and-lsp-log-files-on-the-local-client
Hello,
Some users have the same problem in my company and there is not special characters in the copy being retrieved
Development environment used
Problem Description
Hi On a particular machine, we have errors when loading a Cobol program just after resolving COPY. We see those message in Cobol Sever Language output :
And we have the error message in VSCode :
The COBOL Laanguage Server crashed 5 times in the last 3 minutes. The server will not be restarted
We see the resolution of COPY (they'll be underlined with white line) and just after they are underlined by a red line. We have set the DEBUG for logging for the plugin. We've tried to upgrade memory allocation for the JVM to 1024 but same problem. Tried also with 3.2.1 version.ibmzopeneditor.log serverLanguage.log