Hi
I have VSCode installed, and it works fine.
The error is when I try to run mbed studio from a bash shell. I did not notice any errors while installing.
Strictly, I am using Mint which is derived from Ubuntu 22.04. Maybe there is an issue there?
Here is the transcript:
noutram@ootymint:~$ mbed-studio
[2022-09-08T10:27:41.765] [INFO] MbedStudio - Configuration directory URI: 'file:///home/noutram/.theia' []
[2022-09-08T10:27:41.766] [DEBUG] MbedStudio - Backend Object.initialize took: 5.9 ms []
[2022-09-08T10:27:41.767] [ERROR] MbedStudio - (node:6311) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. []
[2022-09-08T10:27:41.767] [DEBUG] MbedStudio - Backend ElectronTokenBackendContribution.configure took: 4.3 ms []
[2022-09-08T10:27:41.767] [DEBUG] MbedStudio - Backend ElectronMessagingContribution.onStart took: 1.5 ms []
[2022-09-08T10:27:41.767] [DEBUG] MbedStudio - Backend MbedEnvContribution.initialize took: 0.8 ms []
[2022-09-08T10:27:41.767] [DEBUG] MbedStudio - Backend FileDownloadEndpoint.configure took: 0.6 ms []
[2022-09-08T10:27:41.768] [DEBUG] MbedStudio - Backend TaskBackendApplicationContribution.onStart took: 0.2 ms []
[2022-09-08T10:27:41.768] [DEBUG] MbedStudio - Starting the deployer with the list of resolvers [
[
LocalDirectoryPluginDeployerResolver {},
GithubPluginDeployerResolver {
unpackedFolder: '/tmp/github-remote'
},
HttpPluginDeployerResolver { unpackedFolder: '/tmp/http-remote' }
]
]
[2022-09-08T10:27:41.769] [DEBUG] MbedStudio - STUDIO_ACTIVITY_URL variable not set. Activity monitoring is disabled. []
[2022-09-08T10:27:41.769] [DEBUG] MbedStudio - Backend PluginDeployerContribution.initialize took: 0.9 ms []
[2022-09-08T10:27:41.769] [DEBUG] MbedStudio - Backend AuthenticationServerImpl.configure took: 0.4 ms []
[2022-09-08T10:27:41.769] [DEBUG] MbedStudio - Backend ActivityServiceImpl.onStart took: 0.1 ms []
[2022-09-08T10:27:41.770] [INFO] MbedStudio - Configuring to accept webviews on '.+.webview..+' hostname. []
[2022-09-08T10:27:41.770] [INFO] root/mbs-device - Starting USB detection []
[2022-09-08T10:27:41.770] [DEBUG] MbedStudio - Found the list of default plugins ID on env: [ undefined ]
[2022-09-08T10:27:41.770] [DEBUG] MbedStudio - Found the list of plugins ID on env: [ undefined ]
[2022-09-08T10:27:41.770] [DEBUG] MbedStudio - Found the list of default plugins ID from CLI: [ undefined ]
[2022-09-08T10:27:41.771] [DEBUG] MbedStudio - Backend PluginApiContribution.configure took: 1.4 ms []
[2022-09-08T10:27:41.771] [DEBUG] MbedStudio - Backend DeviceManager.onStart took: 1.0 ms []
[2022-09-08T10:27:41.773] [DEBUG] MbedStudio - Backend HostedPluginReader.configure took: 2.7 ms []
[2022-09-08T10:27:41.773] [DEBUG] MbedStudio - Backend GitDetailsManager.onStart took: 3.0 ms []
[2022-09-08T10:27:41.773] [DEBUG] MbedStudio - Removing all user plugins []
[2022-09-08T10:27:41.773] [DEBUG] MbedStudio - Appending system plugins: local-dir:/home/noutram/mbs-plugins, local-dir:/tmp/.mount_mbed-s2yC9Iw/resources/app/plugins/electron, local-dir:/tmp/.mount_mbed-s2yC9Iw/resources/app/theia-plugins []
[2022-09-08T10:27:41.773] [WARN] MbedStudio - The directory referenced by local-dir:/home/noutram/mbs-plugins does not exist. []
[2022-09-08T10:27:41.774] [INFO] MbedStudio - Theia app listening on http://localhost:40785. []
[2022-09-08T10:27:41.784] [INFO] MbedStudio - PluginTheiaDirectoryHandler: accepting plugin with path [
'/tmp/.mount_mbed-s2yC9Iw/resources/app/plugins/electron/mbs-plugin-electron-mbed'
]
[2022-09-08T10:27:41.785] [DEBUG] MbedStudio - Resolving "mbs-plugin-electron-mbed" as a VS Code extension... []
[2022-09-08T10:27:41.796] [INFO] MbedStudio - PluginTheiaDirectoryHandler: accepting plugin with path [
'/tmp/.mount_mbed-s2yC9Iw/resources/app/theia-plugins/vscode-builtin-cpp'
]
[2022-09-08T10:27:41.796] [DEBUG] MbedStudio - Resolving "vscode-builtin-cpp" as a VS Code extension... []
[2022-09-08T10:27:41.796] [INFO] MbedStudio - Resolved "vscode-builtin-cpp" to a VS Code extension "cpp@1.44.2" with engines: [ { vscode: '*' } ]
[2022-09-08T10:27:41.797] [INFO] MbedStudio - PluginTheiaDirectoryHandler: accepting plugin with path [
'/tmp/.mount_mbed-s2yC9Iw/resources/app/theia-plugins/vscode-builtin-json'
]
[2022-09-08T10:27:41.797] [DEBUG] MbedStudio - Resolving "vscode-builtin-json" as a VS Code extension... []
[2022-09-08T10:27:41.797] [INFO] MbedStudio - Resolved "vscode-builtin-json" to a VS Code extension "json@1.44.2" with engines: [ { vscode: '0.10.x' } ]
[2022-09-08T10:27:41.797] [INFO] MbedStudio - PluginTheiaDirectoryHandler: accepting plugin with path [
'/tmp/.mount_mbed-s2yC9Iw/resources/app/theia-plugins/vscode-builtin-python'
]
[2022-09-08T10:27:41.797] [DEBUG] MbedStudio - Resolving "vscode-builtin-python" as a VS Code extension... []
[2022-09-08T10:27:41.798] [INFO] MbedStudio - Resolved "vscode-builtin-python" to a VS Code extension "python@1.44.2" with engines: [ { vscode: '*' } ]
[2022-09-08T10:27:41.798] [INFO] MbedStudio - PluginTheiaDirectoryHandler: accepting plugin with path [
'/tmp/.mount_mbed-s2yC9Iw/resources/app/theia-plugins/vscode-builtin-shellscript'
]
[2022-09-08T10:27:41.798] [DEBUG] MbedStudio - Resolving "vscode-builtin-shellscript" as a VS Code extension... []
[2022-09-08T10:27:41.798] [INFO] MbedStudio - Resolved "vscode-builtin-shellscript" to a VS Code extension "shellscript@1.44.2" with engines: [ { vscode: '*' } ]
[2022-09-08T10:27:41.798] [INFO] MbedStudio - PluginTheiaDirectoryHandler: accepting plugin with path [
'/tmp/.mount_mbed-s2yC9Iw/resources/app/theia-plugins/vscode-builtin-xml'
]
[2022-09-08T10:27:41.799] [DEBUG] MbedStudio - Resolving "vscode-builtin-xml" as a VS Code extension... []
[2022-09-08T10:27:41.799] [INFO] MbedStudio - Resolved "vscode-builtin-xml" to a VS Code extension "xml@1.44.2" with engines: [ { vscode: '*' } ]
[2022-09-08T10:27:41.799] [INFO] MbedStudio - PluginTheiaDirectoryHandler: accepting plugin with path [
'/tmp/.mount_mbed-s2yC9Iw/resources/app/theia-plugins/vscode-builtin-yaml'
]
[2022-09-08T10:27:41.799] [DEBUG] MbedStudio - Resolving "vscode-builtin-yaml" as a VS Code extension... []
[2022-09-08T10:27:41.799] [INFO] MbedStudio - Resolved "vscode-builtin-yaml" to a VS Code extension "yaml@1.44.2" with engines: [ { vscode: '*' } ]
[2022-09-08T10:27:41.806] [DEBUG] MbedStudio - the accepted plugins are [ [] ]
[2022-09-08T10:27:41.807] [DEBUG] MbedStudio - the acceptedFrontendPlugins plugins are [ [] ]
[2022-09-08T10:27:41.807] [DEBUG] MbedStudio - the acceptedBackendPlugins plugins are [
[
PluginDeployerEntryImpl {
originId: 'local-dir:/tmp/.mount_mbed-s2yC9Iw/resources/app/plugins/electron',
pluginId: 'mbs-plugin-electron-mbed',
_type: 0,
map: [Map],
changes: [],
acceptedTypes: [Array],
currentPath: '/tmp/.mount_mbed-s2yC9Iw/resources/app/plugins/electron/mbs-plugin-electron-mbed',
initPath: '/tmp/.mount_mbed-s2yC9Iw/resources/app/plugins/electron/mbs-plugin-electron-mbed',
resolved: true,
resolvedByName: 'LocalDirectoryPluginDeployerResolver'
},
PluginDeployerEntryImpl {
originId: 'local-dir:/tmp/.mount_mbed-s2yC9Iw/resources/app/theia-plugins',
pluginId: 'vscode-builtin-cpp',
_type: 0,
map: [Map],
changes: [Array],
acceptedTypes: [Array],
currentPath: '/tmp/.mount_mbed-s2yC9Iw/resources/app/theia-plugins/vscode-builtin-cpp/extension',
initPath: '/tmp/.mount_mbed-s2yC9Iw/resources/app/theia-plugins/vscode-builtin-cpp',
resolved: true,
resolvedByName: 'LocalDirectoryPluginDeployerResolver',
_rootPath: '/tmp/.mount_mbed-s2yC9Iw/resources/app/theia-plugins/vscode-builtin-cpp'
},
PluginDeployerEntryImpl {
originId: 'local-dir:/tmp/.mount_mbed-s2yC9Iw/resources/app/theia-plugins',
pluginId: 'vscode-builtin-json',
_type: 0,
map: [Map],
changes: [Array],
acceptedTypes: [Array],
currentPath: '/tmp/.mount_mbed-s2yC9Iw/resources/app/theia-plugins/vscode-builtin-json/extension',
initPath: '/tmp/.mount_mbed-s2yC9Iw/resources/app/theia-plugins/vscode-builtin-json',
resolved: true,
resolvedByName: 'LocalDirectoryPluginDeployerResolver',
_rootPath: '/tmp/.mount_mbed-s2yC9Iw/resources/app/theia-plugins/vscode-builtin-json'
},
PluginDeployerEntryImpl {
originId: 'local-dir:/tmp/.mount_mbed-s2yC9Iw/resources/app/theia-plugins',
pluginId: 'vscode-builtin-python',
_type: 0,
map: [Map],
changes: [Array],
acceptedTypes: [Array],
currentPath: '/tmp/.mount_mbed-s2yC9Iw/resources/app/theia-plugins/vscode-builtin-python/extension',
initPath: '/tmp/.mount_mbed-s2yC9Iw/resources/app/theia-plugins/vscode-builtin-python',
resolved: true,
resolvedByName: 'LocalDirectoryPluginDeployerResolver',
_rootPath: '/tmp/.mount_mbed-s2yC9Iw/resources/app/theia-plugins/vscode-builtin-python'
},
PluginDeployerEntryImpl {
originId: 'local-dir:/tmp/.mount_mbed-s2yC9Iw/resources/app/theia-plugins',
pluginId: 'vscode-builtin-shellscript',
_type: 0,
map: [Map],
changes: [Array],
acceptedTypes: [Array],
currentPath: '/tmp/.mount_mbed-s2yC9Iw/resources/app/theia-plugins/vscode-builtin-shellscript/extension',
initPath: '/tmp/.mount_mbed-s2yC9Iw/resources/app/theia-plugins/vscode-builtin-shellscript',
resolved: true,
resolvedByName: 'LocalDirectoryPluginDeployerResolver',
_rootPath: '/tmp/.mount_mbed-s2yC9Iw/resources/app/theia-plugins/vscode-builtin-shellscript'
},
PluginDeployerEntryImpl {
originId: 'local-dir:/tmp/.mount_mbed-s2yC9Iw/resources/app/theia-plugins',
pluginId: 'vscode-builtin-xml',
_type: 0,
map: [Map],
changes: [Array],
acceptedTypes: [Array],
currentPath: '/tmp/.mount_mbed-s2yC9Iw/resources/app/theia-plugins/vscode-builtin-xml/extension',
initPath: '/tmp/.mount_mbed-s2yC9Iw/resources/app/theia-plugins/vscode-builtin-xml',
resolved: true,
resolvedByName: 'LocalDirectoryPluginDeployerResolver',
_rootPath: '/tmp/.mount_mbed-s2yC9Iw/resources/app/theia-plugins/vscode-builtin-xml'
},
PluginDeployerEntryImpl {
originId: 'local-dir:/tmp/.mount_mbed-s2yC9Iw/resources/app/theia-plugins',
pluginId: 'vscode-builtin-yaml',
_type: 0,
map: [Map],
changes: [Array],
acceptedTypes: [Array],
currentPath: '/tmp/.mount_mbed-s2yC9Iw/resources/app/theia-plugins/vscode-builtin-yaml/extension',
initPath: '/tmp/.mount_mbed-s2yC9Iw/resources/app/theia-plugins/vscode-builtin-yaml',
resolved: true,
resolvedByName: 'LocalDirectoryPluginDeployerResolver',
_rootPath: '/tmp/.mount_mbed-s2yC9Iw/resources/app/theia-plugins/vscode-builtin-yaml'
}
]
]
[2022-09-08T10:27:41.808] [DEBUG] MbedStudio - local path to deploy on remote instance [
[
'/tmp/.mount_mbed-s2yC9Iw/resources/app/plugins/electron/mbs-plugin-electron-mbed',
'/tmp/.mount_mbed-s2yC9Iw/resources/app/theia-plugins/vscode-builtin-cpp/extension',
'/tmp/.mount_mbed-s2yC9Iw/resources/app/theia-plugins/vscode-builtin-json/extension',
'/tmp/.mount_mbed-s2yC9Iw/resources/app/theia-plugins/vscode-builtin-python/extension',
'/tmp/.mount_mbed-s2yC9Iw/resources/app/theia-plugins/vscode-builtin-shellscript/extension',
'/tmp/.mount_mbed-s2yC9Iw/resources/app/theia-plugins/vscode-builtin-xml/extension',
'/tmp/.mount_mbed-s2yC9Iw/resources/app/theia-plugins/vscode-builtin-yaml/extension'
]
]
[2022-09-08T10:27:41.809] [INFO] MbedStudio - Deploying backend plugin "@mbed/mbs-plugin-electron-mbed@0.1.0" from "/tmp/.mount_mbed-s2yC9Iw/resources/app/plugins/electron/mbs-plugin-electron-mbed/lib/backend" []
[2022-09-08T10:27:41.820] [INFO] MbedStudio - Deploying backend plugin "cpp@1.44.2" from "/tmp/.mount_mbed-s2yC9Iw/resources/app/theia-plugins/vscode-builtin-cpp/extension" []
[2022-09-08T10:27:41.822] [INFO] MbedStudio - Deploying backend plugin "json@1.44.2" from "/tmp/.mount_mbed-s2yC9Iw/resources/app/theia-plugins/vscode-builtin-json/extension" []
[2022-09-08T10:27:41.826] [INFO] MbedStudio - Deploying backend plugin "python@1.44.2" from "/tmp/.mount_mbed-s2yC9Iw/resources/app/theia-plugins/vscode-builtin-python/extension/dist/pythonMain" []
[2022-09-08T10:27:41.828] [INFO] MbedStudio - Deploying backend plugin "shellscript@1.44.2" from "/tmp/.mount_mbed-s2yC9Iw/resources/app/theia-plugins/vscode-builtin-shellscript/extension" []
[2022-09-08T10:27:41.837] [INFO] MbedStudio - Deploying backend plugin "xml@1.44.2" from "/tmp/.mount_mbed-s2yC9Iw/resources/app/theia-plugins/vscode-builtin-xml/extension" []
[2022-09-08T10:27:41.842] [INFO] MbedStudio - Deploying backend plugin "yaml@1.44.2" from "/tmp/.mount_mbed-s2yC9Iw/resources/app/theia-plugins/vscode-builtin-yaml/extension" []
[2022-09-08T10:27:41.842] [INFO] MbedStudio - Deploy plugins list took: 71.1 ms []
[6264:0908/102742.211779:FATAL:gpu_data_manager_impl_private.cc(439)] GPU process isn't usable. Goodbye.
Trace/breakpoint trap (core dumped)