Arduino IDE 2.0 Beta5: Problems in Manjaro Linux

Hi,

I downloaded IDE 2 Beta 5 and is trying to upload a sketch to my nano board (old bootloader).

During the startup, IDE displays the following errors as bottom bubbles:

Request loadSketch failed with message: 14 UNAVAILABLE: No connection established.
There was an error creating the sketch directory. See the log for more details.  The application will probably not work as expected.

When I start the arduino IDE from terminal, I get the following dump:

Starting backend process. PID: 4526
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
root WARN please install @theia/electron@1.12.0-next.1a1d7afc as a runtime dependency
root INFO Configuration directory URI: 'file:///home/vish/.theia'
root INFO Theia app listening on http://localhost:40817.
root WARN The local plugin referenced by local-dir:/home/vish/.arduinoIDE/plugins does not exist.
root WARN The local plugin referenced by local-dir:/home/vish/.arduinoIDE/extensions does not exist.
root WARN The local plugin referenced by local-dir:/home/vish/.arduinoProIDE/plugins does not exist.
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "cortex-debug" to a VS Code extension "cortex-debug@0.3.10" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-arduino-tools" to a VS Code extension "vscode-arduino-tools@0.0.1-beta.1" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-builtin-cpp" to a VS Code extension "cpp@1.52.1" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-builtin-json" to a VS Code extension "json@1.46.1" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-builtin-json-language-features" to a VS Code extension "json-language-features@1.46.1" with engines:
root INFO Deploying backend plugin "cortex-debug@0.3.10" from "/home/vish/Applications/arduino/2.0.0-beta5/resources/app/plugins/cortex-debug/extension/dist/extension"
root INFO Deploying backend plugin "vscode-arduino-tools@0.0.1-beta.1" from "/home/vish/Applications/arduino/2.0.0-beta5/resources/app/plugins/vscode-arduino-tools/extension/dist/bundle"
root INFO Deploying backend plugin "cpp@1.52.1" from "/home/vish/Applications/arduino/2.0.0-beta5/resources/app/plugins/vscode-builtin-cpp/extension"
root INFO Deploying backend plugin "json@1.46.1" from "/home/vish/Applications/arduino/2.0.0-beta5/resources/app/plugins/vscode-builtin-json/extension"
root WARN Backend ConfigServiceImpl.onStart is slow, took: 277.4 ms
daemon INFO Starting daemon from /home/vish/Applications/arduino/2.0.0-beta5/resources/app/node_modules/arduino-ide-extension/build/arduino-cli...
root INFO Deploying backend plugin "json-language-features@1.46.1" from "/home/vish/Applications/arduino/2.0.0-beta5/resources/app/plugins/vscode-builtin-json-language-features/extension/client/dist/jsonMain"
root INFO Deploy plugins list took: 298.0 ms
daemon INFO Using config file: /home/vish/.arduinoIDE/arduino-cli.yaml
daemon INFO arduino-cli version 0.18.1
daemon INFO Setting up Prometheus metrics on :9090/metrics
daemon INFO Starting daemon on TCP address 127.0.0.1:50051
daemon INFO Daemon is now listening on 127.0.0.1:50051...
daemon INFO Daemon is running.
root ERROR Could not create client for gRPC.
root ERROR Uncaught Exception: 
root ERROR Error: 14 UNAVAILABLE: No connection established
    at Object.callErrorFromStatus (/home/vish/Applications/arduino/2.0.0-beta5/resources/app/node_modules/@grpc/grpc-js/build/src/call.js:31:26)
    at Object.onReceiveStatus (/home/vish/Applications/arduino/2.0.0-beta5/resources/app/node_modules/@grpc/grpc-js/build/src/client.js:327:49)
    at Object.onReceiveStatus (/home/vish/Applications/arduino/2.0.0-beta5/resources/app/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:299:181)
    at /home/vish/Applications/arduino/2.0.0-beta5/resources/app/node_modules/@grpc/grpc-js/build/src/call-stream.js:145:78
    at processTicksAndRejections (internal/process/task_queues.js:76:11)
root INFO Git askpass helper is listening on http://::1:42201.
root INFO Using Git [2.31.1] from the PATH. (/usr/bin/git)
root ERROR Request searchBoards failed with error: 14 UNAVAILABLE: No connection established
root WARN Frontend CommonFrontendContribution.configure is slow, took: 222.9 ms
root WARN Failed to resolve module: @types/body-parser
root WARN Failed to resolve module: @types/cookie
root WARN Failed to resolve module: @types/express
root WARN Failed to resolve module: @types/fs-extra
root WARN Failed to resolve module: @types/lodash.debounce
root WARN Failed to resolve module: @types/lodash.throttle
root WARN Failed to resolve module: @types/react
root WARN Failed to resolve module: @types/react-dom
root WARN Failed to resolve module: @types/react-virtualized
root WARN Failed to resolve module: @types/route-parser
root WARN Failed to resolve module: @types/safer-buffer
root WARN Failed to resolve module: @types/ws
root WARN Failed to resolve module: @types/yargs
root WARN Failed to resolve module: @theia/monaco
root WARN Failed to resolve module: @theia/editor
root WARN Failed to resolve module: @types/rimraf
root WARN Failed to resolve module: @types/tar-fs
root WARN Failed to resolve module: @types/uuid
root WARN Failed to resolve module: @theia/navigator
root WARN Failed to resolve module: @types/p-queue
root WARN Failed to resolve module: @theia/preferences
root WARN Failed to resolve module: @theia/electron
root WARN Failed to resolve module: @theia/keymaps
root WARN Failed to resolve module: @theia/messages
root WARN Failed to resolve module: @types/diff
root WARN Failed to resolve module: @types/dompurify
root WARN Failed to resolve module: @types/mime
root WARN Failed to resolve module: @types/request
root WARN Failed to resolve module: @types/dateformat
root WARN Failed to resolve module: @types/deepmerge
root WARN Failed to resolve module: @types/glob
root WARN Failed to resolve module: @types/google-protobuf
root WARN Failed to resolve module: @types/js-yaml
root WARN Failed to resolve module: @types/ncp
root WARN Failed to resolve module: @types/ps-tree
root WARN Failed to resolve module: @types/react-select
root WARN Failed to resolve module: @types/react-tabs
root WARN Failed to resolve module: @types/sinon
root WARN Failed to resolve module: @types/temp
root WARN Failed to resolve module: @types/which
root WARN Failed to resolve module: js-yaml
root WARN Failed to resolve module: temp
root ERROR Request createNewSketch failed with error: 14 UNAVAILABLE: No connection established
root WARN Frontend keybindings.onStart is slow, took: 133.2 ms
root FATAL Failed to determine the sketch directory: Error: Request createNewSketch failed with message: 14 UNAVAILABLE: No connection established
root WARN Frontend EditorNavigationContribution.onStart is slow, took: 566.9 ms
root ERROR Request installed failed with error: 14 UNAVAILABLE: No connection established
root ERROR Request list failed with error: 14 UNAVAILABLE: No connection established
root ERROR Request searchBoards failed with error: 14 UNAVAILABLE: No connection established
root INFO Changed application state from 'init' to 'started_contributions'.
root INFO Changed application state from 'started_contributions' to 'attached_shell'.
root INFO >>> Restoring the layout state...
root INFO [hosted-plugin: 4645] PLUGIN_HOST(4645) starting instance
root INFO <<< The layout has been successfully restored.
root INFO [e0e5c061-b651-484e-b9b5-72714840d78b] Sync of 5 plugins took: 917.8 ms
root ERROR Request loadSketch failed with error: 14 UNAVAILABLE: No connection established
root INFO Changed application state from 'attached_shell' to 'initialized_layout'.
root INFO [e0e5c061-b651-484e-b9b5-72714840d78b][marus25.cortex-debug]: Loaded contributions.
root INFO [e0e5c061-b651-484e-b9b5-72714840d78b][arduino.vscode-arduino-tools]: Loaded contributions.
root INFO [e0e5c061-b651-484e-b9b5-72714840d78b][vscode.cpp]: Loaded contributions.
root INFO [e0e5c061-b651-484e-b9b5-72714840d78b][vscode.json]: Loaded contributions.
root INFO [e0e5c061-b651-484e-b9b5-72714840d78b][vscode.json-language-features]: Loaded contributions.
root INFO [e0e5c061-b651-484e-b9b5-72714840d78b] Load contributions of 5 plugins took: 77.8 ms
root WARN 'cpp' language is remapped from 'source.cpp.embedded.macro' to 'source.cpp' scope
root WARN a registered grammar configuration for 'cpp' language is overridden
root ERROR Request search failed with error: 14 UNAVAILABLE: No connection established
root ERROR Request search failed with error: 14 UNAVAILABLE: No connection established
root ERROR Error: Request 'loadSketch' failed
    at Proxy.<anonymous> (file:///home/vish/Applications/arduino/2.0.0-beta5/resources/app/lib/bundle.js:64108:33)
    at ArduinoFrontendContribution.<anonymous> (file:///home/vish/Applications/arduino/2.0.0-beta5/resources/app/lib/55.bundle.js:3425:65)
    at step (file:///home/vish/Applications/arduino/2.0.0-beta5/resources/app/lib/55.bundle.js:3022:23)
    at Object.next (file:///home/vish/Applications/arduino/2.0.0-beta5/resources/app/lib/55.bundle.js:3003:53)
    at file:///home/vish/Applications/arduino/2.0.0-beta5/resources/app/lib/55.bundle.js:2997:71
    at new Promise (<anonymous>)
    at push../node_modules/arduino-ide-extension/lib/browser/arduino-frontend-contribution.js.__awaiter (file:///home/vish/Applications/arduino/2.0.0-beta5/resources/app/lib/55.bundle.js:2993:12)
    at ArduinoFrontendContribution.push../node_modules/arduino-ide-extension/lib/browser/arduino-frontend-contribution.js.ArduinoFrontendContribution.openSketchFiles (file:///home/vish/Applications/arduino/2.0.0-beta5/resources/app/lib/55.bundle.js:3417:16)
    at ArduinoFrontendContribution.<anonymous> (file:///home/vish/Applications/arduino/2.0.0-beta5/resources/app/lib/55.bundle.js:3376:26)
    at step (file:///home/vish/Applications/arduino/2.0.0-beta5/resources/app/lib/55.bundle.js:3022:23)
root INFO Changed application state from 'initialized_layout' to 'ready'.
root INFO [hosted-plugin: 4645] PLUGIN_HOST(4645): PluginManagerExtImpl/init()
root INFO [hosted-plugin: 4645] PLUGIN_HOST(4645): initializing(cortex-debug@0.3.10 with /home/vish/Applications/arduino/2.0.0-beta5/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init.js)
root INFO [hosted-plugin: 4645] Debugger contribution has been registered: cortex-debug
root INFO [hosted-plugin: 4645] PLUGIN_HOST(4645): initializing(vscode-arduino-tools@0.0.1-beta.1 with /home/vish/Applications/arduino/2.0.0-beta5/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init.js)
root INFO [hosted-plugin: 4645] PLUGIN_HOST(4645): initializing(cpp@1.52.1 with /home/vish/Applications/arduino/2.0.0-beta5/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init.js)
root INFO [hosted-plugin: 4645] PLUGIN_HOST(4645): initializing(json@1.46.1 with /home/vish/Applications/arduino/2.0.0-beta5/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init.js)
root INFO [hosted-plugin: 4645] PLUGIN_HOST(4645): initializing(json-language-features@1.46.1 with /home/vish/Applications/arduino/2.0.0-beta5/resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init.js)
root INFO [hosted-plugin: 4645] PLUGIN_HOST(4645): PluginManagerExtImpl/loadPlugin(/home/vish/Applications/arduino/2.0.0-beta5/resources/app/plugins/vscode-builtin-json-language-features/extension/client/dist/jsonMain)
root INFO [e0e5c061-b651-484e-b9b5-72714840d78b][marus25.cortex-debug]: Started plugin.
root INFO [e0e5c061-b651-484e-b9b5-72714840d78b][arduino.vscode-arduino-tools]: Started plugin.
root INFO [e0e5c061-b651-484e-b9b5-72714840d78b][vscode.cpp]: Started plugin.
root INFO [e0e5c061-b651-484e-b9b5-72714840d78b][vscode.json]: Started plugin.
root INFO [e0e5c061-b651-484e-b9b5-72714840d78b][vscode.json-language-features]: Started plugin.
root INFO [e0e5c061-b651-484e-b9b5-72714840d78b] Start of 5 plugins took: 1761.8 ms

When I try to search for boards/forum, I get the following error on terminal:

root ERROR Request search failed with error: 14 UNAVAILABLE: No connection established

How can I resolve this?

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.