Polyspace As You Code in VS Code

4 ビュー (過去 30 日間)
OSEUNG
OSEUNG 2023 年 6 月 8 日
コメント済み: Kilsu Kim 2023 年 6 月 27 日
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)

採用された回答

Kilsu Kim
Kilsu Kim 2023 年 6 月 9 日
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 件のコメント
Jan-Peter Wüstenberg
Jan-Peter Wüstenberg 2023 年 6 月 26 日
Are there any news on this topic? Is it tracked somewhere?
Kilsu Kim
Kilsu Kim 2023 年 6 月 27 日
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!

サインインしてコメントする。

その他の回答 (0 件)

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!