Closed ebf0248 closed 2 months ago
@scottdover, this one reminds me of #861 and #978, since the SASWORK path was munged in those as well. Are we still relying on parsing the log here in some way? If so, I worry that relying on parsing the log simply cannot be done in a robust way and that we may need to look at handling similar to the way EG does.
@scottdover, this one reminds me of #861 and #978, since the SASWORK path was munged in those as well. Are we still relying on parsing the log here in some way? If so, I worry that relying on parsing the log simply cannot be done in a robust way and that we may need to look at handling similar to the way EG does.
Discussed in #810
Thank you for the information! I'm waiting for the next release then.
Describe the bug I'm trying to introduce VSCode in my company environment. We work on GRID and the setup is:
I managed to connect SAS from VSCode using IOM type. I can execute code, run data and proc steps, macrolanguage etc., I can preview libraries, and data sets in them.
Problem pops up when I want to get html5 ods results.
When I have
"SAS.results.html.enabled": false
the "ods html5(id=vscode)
" is not generated and everything works "fine" (except we don't have html).When I set:
"SAS.results.html.enabled": true
(the default option) then it "blows up", the "ods html5(id=vscode)
" generates very odd error:It looks like when the ODS in line
10
is generated thepath=
grabs not onlyWORK
directory but also a line from SAS long new page line ("2 The SAS System Friday, July 26, 2024 11:53:00 AM
", with all that spaces and text...) The file is looked at:/saswork/SAS_work1128000984A5_***************.***.***.******.*o/SAS_work712E000984A5_***************.***.***.******.*o2 The SAS System Friday, July 26, 2024 11:53:00 AM/7602af8e-3b96-4330-b648-e9b4854d215c.htm
Nottice that in the log between line 6 and 7 we can see the beginning of page 3. While the error seems to happen with page 2.
And then when SAS tries to write to that file it obviously doesn't exist...
I wonder if you could share how that part of code (
ods html...
) is generated?I know SAS, in DMS end EG, is adding a special
FF
symbol at the beginning of every page:Can this be somehow related ? I'm trying to figure out what may be the reason. On my private machine I could not reproduce the error (first I thought it may be WORK path length, but not) so I'm searching for other options, e.g. server setup/autoexecs, etc.
Do you have someone in the dev team to talk about it?
Additional context Screen from today VSCode execution