Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Language Support for Ada (with debug info) v23.0.11 "Error: command 'als-other-file' already exists" #1193

Open
docdoob opened this issue Apr 26, 2024 · 1 comment

Comments

@docdoob
Copy link

docdoob commented Apr 26, 2024

This error message occurs repeatedly. I have the "Ada & SPARK" extension installed also. The full message is as follows:
[Error - 18:00:12] Notify file events failed.
Error: command 'als-other-file' already exists
at d.registerCommand (/snap/code/157/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:152:185480)
at Object.registerCommand (/snap/code/157/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:162:21988)
at Ta.register (/home/john/.vscode/extensions/adacore.ada-debug-23.0.11/out/extension.js:34:44070)
at Ta.initialize (/home/john/.vscode/extensions/adacore.ada-debug-23.0.11/out/extension.js:34:43649)
at lc.initializeFeatures (/home/john/.vscode/extensions/adacore.ada-debug-23.0.11/out/extension.js:36:12865)
at /home/john/.vscode/extensions/adacore.ada-debug-23.0.11/out/extension.js:36:5960
[Error - 18:00:38] Notify file events failed.
Error: command 'als-other-file' already exists
at d.registerCommand (/snap/code/157/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:152:185480)
at Object.registerCommand (/snap/code/157/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:162:21988)
at Ta.register (/home/john/.vscode/extensions/adacore.ada-debug-23.0.11/out/extension.js:34:44070)
at Ta.initialize (/home/john/.vscode/extensions/adacore.ada-debug-23.0.11/out/extension.js:34:43649)
at lc.initializeFeatures (/home/john/.vscode/extensions/adacore.ada-debug-23.0.11/out/extension.js:36:12865)
at /home/john/.vscode/extensions/adacore.ada-debug-23.0.11/out/extension.js:36:5960
[Error - 18:00:59] Notify file events failed.
Error: command 'als-other-file' already exists
at d.registerCommand (/snap/code/157/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:152:185480)
at Object.registerCommand (/snap/code/157/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:162:21988)
at Ta.register (/home/john/.vscode/extensions/adacore.ada-debug-23.0.11/out/extension.js:34:44070)
at Ta.initialize (/home/john/.vscode/extensions/adacore.ada-debug-23.0.11/out/extension.js:34:43649)
at lc.initializeFeatures (/home/john/.vscode/extensions/adacore.ada-debug-23.0.11/out/extension.js:36:12865)
at /home/john/.vscode/extensions/adacore.ada-debug-23.0.11/out/extension.js:36:5960

@eliericha
Copy link
Contributor

Hello @docdoob ,

Thank you for reporting this issue. However I notice from the backtrace that you are using the extension with identifier adacore.ada-debug which is an old version called Language Support for Ada (with debug info) that has not been updated in a long time on the marketplace.

The extension that should be used is now called Ada & SPARK and can be found here.

In your message you indicate that you have both extensions installed, so that is the source of the problem. I suggest that you uninstall Language Support for Ada (with debug info). Only the new Ada & SPARK extension should be installed.

Internally I am looking into what should be done with the old extension. We will either update it or remove it altogether if not useful.

Out of curiosity, how did you end up on the old Language Support for Ada (with debug info) extension? Is there a stale hyperlink somewhere still pointing to it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants