I recently installed 2.3.2 on a laptop with a freshly installed copy of Windows 11, and when I lauch the IDE I see the IDE window with the pulsing Arduino logo and it stays there forever (I gave up after an hour or so). There is nothing ususual about the Windows installation, the documents folder is in the default location, Arduino software installed to default location etc.
This is what I have tried:
- Checked internet connection is up when launching IDE. Also checked time and date correct on machine. Also tried with ethernet connection instead of WiFi.
- Deleting the ".arduinoIDE" and "arduino-ide" folders. I see these get re-created on launching the IDE but it still gets stuck.
- Added the Arduino IDE to the Windows Firewall whitelist.
- Completely disabling the Windows firewall.
- Uninstalling the IDE, deleting any remaining folders left, re-installing.
- Installing and running "as administrator", though the account has admin privileges anyway.
- In desperation I created a new user account and tried installing under that, and see the exact same behaviour.
I installed 2.3.2 on my desktop system running Windows 10 and it worked perfectly first time, after all the various libraries had updated. This is an old installation with a lot of development stuff installed on it (Python, Java, PlatformIO etc...), which makes me wonder if there could be a dependancy issue?
The following is the log output from Powershell:
PS C:\Users\mikerj\AppData\Local\Programs\Arduino IDE> & ".\Arduino IDE"
PS C:\Users\mikerj\AppData\Local\Programs\Arduino IDE>
Arduino IDE 2.3.2
Checking for frontend application configuration customizations. Module path: C:\Users\mikerj\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\electron-main.js, destination 'package.json': C:\Users\mikerj\AppData\Local\Programs\Arduino IDE\resources\app\package.json
Setting 'theia.frontend.config.appVersion' application configuration value to: "2.3.2" (type of string)
Setting 'theia.frontend.config.cliVersion' application configuration value to: "0.35.3" (type of string)
Setting 'theia.frontend.config.buildDate' application configuration value to: "2024-02-20T10:04:35.814Z" (type of string)
Frontend application configuration after modifications: {"applicationName":"Arduino IDE","defaultTheme":{"light":"arduino-theme","dark":"arduino-theme-dark"},"defaultIconTheme":"none","electron":{"windowOptions":{}},"defaultLocale":"","validatePreferencesSchema":false,"preferences":{"window.title":"${rootName}${activeEditorShort}${appName}","files.autoSave":"afterDelay","editor.minimap.enabled":false,"editor.tabSize":2,"editor.scrollBeyondLastLine":false,"editor.quickSuggestions":{"other":false,"comments":false,"strings":false},"editor.maxTokenizationLineLength":500,"editor.bracketPairColorization.enabled":false,"breadcrumbs.enabled":false,"workbench.tree.renderIndentGuides":"none","explorer.compactFolders":false},"appVersion":"2.3.2","cliVersion":"0.35.3","buildDate":"2024-02-20T10:04:35.814Z"}
Starting backend process. PID: 2916
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///c%3A/Users/mikerj/.arduinoIDE'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2024-04-29T15:54:22.529Z root INFO Backend Object.initialize: 4.1 ms [Finished 0.476 s after backend start]
2024-04-29T15:54:22.529Z root INFO Backend Object.configure: 3.4 ms [Finished 0.476 s after backend start]
2024-04-29T15:54:22.529Z root INFO Backend s.onStart: 1.7 ms [Finished 0.476 s after backend start]
2024-04-29T15:54:22.530Z root INFO Backend s.configure: 0.4 ms [Finished 0.498 s after backend start]
2024-04-29T15:54:22.531Z root INFO Backend d.onStart: 0.2 ms [Finished 0.498 s after backend start]
2024-04-29T15:54:22.531Z root INFO Backend d.configure: 0.1 ms [Finished 0.498 s after backend start]
2024-04-29T15:54:22.532Z root INFO Backend d.initialize: 21.4 ms [Finished 0.498 s after backend start]
2024-04-29T15:54:22.532Z root INFO Backend c.onStart: 0.2 ms [Finished 0.498 s after backend start]
2024-04-29T15:54:22.533Z root INFO Backend a.configure: 1.1 ms [Finished 0.499 s after backend start]
2024-04-29T15:54:22.534Z config INFO >>> Initializing CLI configuration...
2024-04-29T15:54:22.534Z root INFO Backend c.initialize: 0.6 ms [Finished 0.500 s after backend start]
2024-04-29T15:54:22.534Z root INFO Backend R.onStart: 0.7 ms [Finished 0.500 s after backend start]
2024-04-29T15:54:22.535Z config INFO Loading CLI configuration from c:\Users\mikerj\.arduinoIDE\arduino-cli.yaml...
2024-04-29T15:54:22.535Z daemon INFO Starting daemon from C:\Users\mikerj\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\resources\arduino-cli.exe...
2024-04-29T15:54:22.535Z root INFO Backend a.initialize: 0.3 ms [Finished 0.501 s after backend start]
2024-04-29T15:54:22.535Z root INFO Backend w.onStart: 1.0 ms [Finished 0.502 s after backend start]
2024-04-29T15:54:22.535Z root INFO Backend r.configure: 1.6 ms [Finished 0.502 s after backend start]
2024-04-29T15:54:22.535Z discovery-log INFO start
2024-04-29T15:54:22.535Z discovery-log INFO start new deferred
2024-04-29T15:54:22.535Z root INFO Backend d.initialize: 0.3 ms [Finished 0.502 s after backend start]
2024-04-29T15:54:22.535Z root INFO Backend y.onStart: 1.6 ms [Finished 0.503 s after backend start]
2024-04-29T15:54:22.535Z root INFO Backend r.configure: 1.4 ms [Finished 0.504 s after backend start]
2024-04-29T15:54:22.535Z root INFO Backend a.onStart: 0.5 ms [Finished 0.505 s after backend start]
2024-04-29T15:54:22.535Z root INFO Backend h.configure: 0.4 ms [Finished 0.505 s after backend start]
2024-04-29T15:54:22.535Z root INFO Backend s.configure: 0.1 ms [Finished 0.505 s after backend start]
2024-04-29T15:54:22.535Z root INFO Backend l.configure: 0.1 ms [Finished 0.505 s after backend start]
2024-04-29T15:54:22.538Z root INFO Theia app listening on http://127.0.0.1:50042.
2024-04-29T15:54:22.538Z root INFO Finished starting backend application: 2.5 ms [Finished 0.507 s after backend start]
2024-04-29T15:54:22.544Z root WARN The local plugin referenced by local-dir:/c%3A/Users/mikerj/.arduinoIDE/plugins does not exist.
2024-04-29T15:54:22.544Z root WARN The local plugin referenced by local-dir:/c%3A/Users/mikerj/.arduinoIDE/extensions does not exist.
2024-04-29T15:54:22.544Z root WARN The local plugin referenced by local-dir:C:\Users\mikerj\.arduinoIDE\plugins does not exist.
2024-04-29T15:54:22.554Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[]},"build_cache":{"compilations_before_purge":10,"ttl":"720h0m0s"},"daemon":{"port":"50051"},"directories":{"data":"C:\\Users\\mikerj\\AppData\\Local\\Arduino15","downloads":"C:\\Users\\mikerj\\AppData\\Local\\Arduino15\\staging","user":"C:\\Users\\mikerj\\Documents\\Arduino"},"library":{"enable_unsafe_install":false},"logging":{"file":"","format":"text","level":"info"},"metrics":{"addr":":9090","enabled":true},"output":{"no_color":false},"sketch":{"always_export_binaries":false},"updater":{"enable_notification":true}}
2024-04-29T15:54:22.554Z config INFO 'directories.data' and 'directories.user' are set in the CLI configuration model.
2024-04-29T15:54:22.554Z config INFO Loaded the CLI configuration.
2024-04-29T15:54:22.557Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///c%3A/Users/mikerj/AppData/Local/Arduino15","sketchDirUri":"file:///c%3A/Users/mikerj/Documents/Arduino","additionalUrls":[],"network":"none","locale":"en"}
2024-04-29T15:54:22.557Z config INFO Validating the CLI configuration...
2024-04-29T15:54:22.558Z config INFO The CLI config is valid.
2024-04-29T15:54:22.558Z config INFO <<< Initialized the CLI configuration.
2024-04-29T15:54:22.573Z root INFO Resolve plugins list: 38.6 ms [Finished 0.542 s after backend start]
2024-04-29T15:54:22.591Z daemon INFO time="2024-04-29T16:54:22+01:00" level=info msg="Using config file: c:\\Users\\mikerj\\.arduinoIDE\\arduino-cli.yaml"
time="2024-04-29T16:54:22+01:00" level=info msg="arduino-cli.exe version 0.35.3"
time="2024-04-29T16:54:22+01:00" level=info msg="Executing `arduino-cli daemon`"
2024-04-29T15:54:22.597Z daemon INFO Daemon is now listening on 127.0.0.1:50043
{"IP":"127.0.0.1","Port":"50043"}
2024-04-29T15:54:22.597Z daemon INFO Daemon is running.
2024-04-29T15:54:22.669Z daemon INFO time="2024-04-29T16:54:22+01:00" level=info msg="Updating libraries index"
time="2024-04-29T16:54:22+01:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2024-04-29T15:54:23.358Z root INFO Deploy plugins list: 38.6 ms [Finished 1.327 s after backend start]
Opening channel for service path '/services/electron-window'.
Opening channel for service path '/services/ide-updater'.
2024-04-29T15:54:24.146Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 132.7 ms [Finished 1.512 s after frontend start]
2024-04-29T15:54:24.146Z root WARN A command editor.action.toggleStickyScroll is already registered.
2024-04-29T15:54:24.477Z root ERROR Detected an error response during the gRPC core client initialization: code: 3, message: Error verifying signature: openpgp: signature expired
2024-04-29T15:54:24.486Z daemon INFO time="2024-04-29T16:54:24+01:00" level=info msg="Checking signature" index="C:\\Users\\mikerj\\AppData\\Local\\Arduino15\\package_index.json" signatureFile="C:\\Users\\mikerj\\AppData\\Local\\Arduino15\\package_index.json.sig" trusted=true
2024-04-29T15:54:24.487Z daemon INFO time="2024-04-29T16:54:24+01:00" level=info msg="Loading hardware from: C:\\Users\\mikerj\\AppData\\Local\\Arduino15\\packages"
2024-04-29T15:54:24.487Z daemon INFO time="2024-04-29T16:54:24+01:00" level=info msg="Loading package builtin from: C:\\Users\\mikerj\\AppData\\Local\\Arduino15\\packages\\builtin"
2024-04-29T15:54:24.487Z daemon INFO time="2024-04-29T16:54:24+01:00" level=info msg="Checking existence of 'tools' path: C:\\Users\\mikerj\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
time="2024-04-29T16:54:24+01:00" level=info msg="Loading tools from dir: C:\\Users\\mikerj\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
2024-04-29T15:54:24.488Z daemon INFO time="2024-04-29T16:54:24+01:00" level=info msg="Loaded tool" tool="builtin:ctags@5.8-arduino11"
2024-04-29T15:54:24.488Z daemon INFO time="2024-04-29T16:54:24+01:00" level=info msg="Loaded tool" tool="builtin:dfu-discovery@0.1.2"
time="2024-04-29T16:54:24+01:00" level=info msg="Loaded tool" tool="builtin:mdns-discovery@1.0.9"
2024-04-29T15:54:24.488Z daemon INFO time="2024-04-29T16:54:24+01:00" level=info msg="Loaded tool" tool="builtin:serial-discovery@1.4.0"
2024-04-29T15:54:24.488Z daemon INFO time="2024-04-29T16:54:24+01:00" level=info msg="Loaded tool" tool="builtin:serial-monitor@0.14.1"
2024-04-29T15:54:24.488Z daemon INFO time="2024-04-29T16:54:24+01:00" level=info msg="Loading libraries index file" index="C:\\Users\\mikerj\\AppData\\Local\\Arduino15\\library_index.json"
2024-04-29T15:54:24.489Z daemon INFO time="2024-04-29T16:54:24+01:00" level=info msg="Adding libraries dir" dir="C:\\Users\\mikerj\\AppData\\Local\\Arduino15\\libraries" location=ide
2024-04-29T15:54:24.489Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: reading library_index.json: open C:\Users\mikerj\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2024-04-29T15:54:24.490Z daemon INFO time="2024-04-29T16:54:24+01:00" level=info msg="Adding libraries dir" dir="C:\\Users\\mikerj\\Documents\\Arduino\\libraries" location=user
2024-04-29T15:54:24.494Z root ERROR The primary packages indexes are missing. Running indexes update before initializing the core gRPC client The index of the cores and libraries must be updated before initializing the core gRPC client.
The following problems were detected during the gRPC client initialization:
[library-index] - code: 9, message: Loading index file: reading library_index.json: open C:\Users\mikerj\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2024-04-29T15:54:24.495Z daemon INFO time="2024-04-29T16:54:24+01:00" level=info msg="Updating libraries index"
2024-04-29T15:54:24.497Z daemon INFO time="2024-04-29T16:54:24+01:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2024-04-29T15:54:24.498Z root INFO core-client-provider [library-index] Downloading index: library_index.tar.bz2
2024-04-29T15:54:26.071Z daemon INFO time="2024-04-29T16:54:26+01:00" level=info msg="Updating libraries index"
2024-04-29T15:54:26.072Z daemon INFO time="2024-04-29T16:54:26+01:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2024-04-29T15:54:28.334Z root ERROR Detected an error response during the gRPC core client initialization: code: 3, message: Error verifying signature: openpgp: signature expired
2024-04-29T15:54:28.344Z daemon INFO time="2024-04-29T16:54:28+01:00" level=info msg="Checking signature" index="C:\\Users\\mikerj\\AppData\\Local\\Arduino15\\package_index.json" signatureFile="C:\\Users\\mikerj\\AppData\\Local\\Arduino15\\package_index.json.sig" trusted=true
2024-04-29T15:54:28.345Z daemon INFO time="2024-04-29T16:54:28+01:00" level=info msg="Loading hardware from: C:\\Users\\mikerj\\AppData\\Local\\Arduino15\\packages"
2024-04-29T15:54:28.345Z daemon INFO time="2024-04-29T16:54:28+01:00" level=info msg="Loading package builtin from: C:\\Users\\mikerj\\AppData\\Local\\Arduino15\\packages\\builtin"
2024-04-29T15:54:28.345Z daemon INFO time="2024-04-29T16:54:28+01:00" level=info msg="Checking existence of 'tools' path: C:\\Users\\mikerj\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
time="2024-04-29T16:54:28+01:00" level=info msg="Loading tools from dir: C:\\Users\\mikerj\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
2024-04-29T15:54:28.346Z daemon INFO time="2024-04-29T16:54:28+01:00" level=info msg="Loaded tool" tool="builtin:ctags@5.8-arduino11"
2024-04-29T15:54:28.346Z daemon INFO time="2024-04-29T16:54:28+01:00" level=info msg="Loaded tool" tool="builtin:dfu-discovery@0.1.2"
2024-04-29T15:54:28.346Z daemon INFO time="2024-04-29T16:54:28+01:00" level=info msg="Loaded tool" tool="builtin:mdns-discovery@1.0.9"
2024-04-29T15:54:28.346Z daemon INFO time="2024-04-29T16:54:28+01:00" level=info msg="Loaded tool" tool="builtin:serial-discovery@1.4.0"
2024-04-29T15:54:28.346Z daemon INFO time="2024-04-29T16:54:28+01:00" level=info msg="Loaded tool" tool="builtin:serial-monitor@0.14.1"
2024-04-29T15:54:28.346Z daemon INFO time="2024-04-29T16:54:28+01:00" level=info msg="Loading libraries index file" index="C:\\Users\\mikerj\\AppData\\Local\\Arduino15\\library_index.json"
2024-04-29T15:54:28.346Z daemon INFO time="2024-04-29T16:54:28+01:00" level=info msg="Adding libraries dir" dir="C:\\Users\\mikerj\\AppData\\Local\\Arduino15\\libraries" location=ide
2024-04-29T15:54:28.346Z daemon INFO time="2024-04-29T16:54:28+01:00" level=info msg="Adding libraries dir" dir="C:\\Users\\mikerj\\Documents\\Arduino\\libraries" location=user
2024-04-29T15:54:28.347Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: reading library_index.json: open C:\Users\mikerj\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2024-04-29T15:54:28.348Z root ERROR Uncaught Exception: Error: The index of the cores and libraries must be updated before initializing the core gRPC client.
The following problems were detected during the gRPC client initialization:
[library-index] - code: 9, message: Loading index file: reading library_index.json: open C:\Users\mikerj\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2024-04-29T15:54:28.348Z root ERROR Error: The index of the cores and libraries must be updated before initializing the core gRPC client.
The following problems were detected during the gRPC client initialization:
[library-index] - code: 9, message: Loading index file: reading library_index.json: open C:\Users\mikerj\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
at C:\Users\mikerj\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:622877
at E.evaluateErrorStatus (C:\Users\mikerj\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:622893)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async a.<anonymous> (C:\Users\mikerj\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:622563)
**** The IDE gets stuck here. The following log is from closing the IDE ****
Closing channel on service path '/services/electron-window'.
Closing channel on service path '/services/ide-updater'.
Stored workspaces roots:
No sketches were scheduled for deletion.