Polyspace As You Code in VS Code

5 Ansichten (letzte 30 Tage)
OSEUNG
OSEUNG am 8 Jun. 2023
Kommentiert: Kilsu Kim am 27 Jun. 2023
Hello!
I'm trying to build PaYC env. on VS-Code
there is no problem on Eclipse, but in VS-Code I am facing an error as below.
belows are error on Extension Host console in VS-Code.
--- --- --- Output --- --- ----
[error] Activating extension MathWorks.polyspace failed due to an error:
[error] Error: External buffers are not allowed
at process.func [as dlopen] (node:electron/js2c/asar_bundle:2:1822)
at Module._extensions..node (node:internal/modules/cjs/loader:1273:18)
at Object.func [as .node] (node:electron/js2c/asar_bundle:2:1822)
at Module.load (node:internal/modules/cjs/loader:1058:32)
at Module._load (node:internal/modules/cjs/loader:893:12)
at f._load (node:electron/js2c/asar_bundle:2:13330)
at b._load (c:\Users\oseung.kwon\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:126:29948)
at h._load (c:\Users\oseung.kwon\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:126:26698)
at I._load (c:\Users\oseung.kwon\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:90:24489)
at Module.require (node:internal/modules/cjs/loader:1082:19)
at g (c:\Users\oseung.kwon\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js:4:647)
at load (c:\Users\oseung.kwon\.vscode\extensions\mathworks.polyspace-4.2.1\node_modules\node-gyp-build\index.js:21:10)
at Object.<anonymous> (c:\Users\oseung.kwon\.vscode\extensions\mathworks.polyspace-4.2.1\node_modules\ref-napi\lib\ref.js:8:53)
at u._compile (c:\Users\oseung.kwon\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js:4:1271)
at Module._extensions..js (node:internal/modules/cjs/loader:1243:10)

Akzeptierte Antwort

Kilsu Kim
Kilsu Kim am 9 Jun. 2023
Hi OSEUNG,
This is a known issue for Visual Studio Code version 1.78. This issue will be fixed in a future release and update.
As a workaround, could you use the older version of Visual Studio Code for now in order to use the extension? It is known on our end that the extension works properly in Visual Studio Code version 1.77.3.
If you need further help, please contact MathWorks Technical Support.
Thanks,
Kilsu
  3 Kommentare
Jan-Peter Wüstenberg
Jan-Peter Wüstenberg am 26 Jun. 2023
Are there any news on this topic? Is it tracked somewhere?
Kilsu Kim
Kilsu Kim am 27 Jun. 2023
A bug report for this issue has been posted below. Hit the 'Follow' button to be notified when the bug is fixed.
Polyspace extension not starting in Visual Studio Code version 1.78 and later (3004593)
Hope this help!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Produkte


Version

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!