Hello all, my arduino IDE is stuck on the loading screen. I've tried reinstalling the software, i also tried downloading older versions of Arduino IDE but nothing worked. Can anyone help me?
Im on Windows 10 Enterprise
Hello all, my arduino IDE is stuck on the loading screen. I've tried reinstalling the software, i also tried downloading older versions of Arduino IDE but nothing worked. Can anyone help me?
Im on Windows 10 Enterprise
Hi @grammko. I'm going to ask you to post some additional information that might help us to identify the problem.
This procedure is not intended to solve the problem. The purpose is to gather more information.
Please do this:
C:\Program Files\Arduino IDE
C:\Users\<username>\AppData\Local\Programs\Arduino IDE
(where <username>
is your Windows username)AppData
folder is hidden by default. On Windows "File Explorer", you can make it visible by opening the "View" menu, then checking the box next to "☐ Hidden items".& ".\Arduino IDE"
<CODE/>
icon on the post composer toolbar.```
) to your reply to make sure the error messages are correctly formatted.Please let me know if you have any questions or problems while following those instructions.
Arduino IDE 2.2.1
Checking for frontend application configuration customizations. Module path: C:\Users\DLBVN2O\Desktop\Arduino IDE\resources\app\lib\backend\electron-main.js, destination 'package.json': C:\Users\DLBVN2O\Desktop\Arduino IDE\resources\app\package.json
Setting 'theia.frontend.config.appVersion' application configuration value to: "2.2.1" (type of string)
Setting 'theia.frontend.config.cliVersion' application configuration value to: "0.34.0" (type of string)
Setting 'theia.frontend.config.buildDate' application configuration value to: "2023-08-31T14:35:44.802Z" (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.2.1","cliVersion":"0.34.0","buildDate":"2023-08-31T14:35:44.802Z"}
Starting backend process. PID: 14480
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///c%3A/Users/DLBVN2O.VW/.arduinoIDE'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2023-12-11T11:55:39.200Z root INFO Backend Object.initialize: 7.3 ms [Finished 0.559 s after backend start]
2023-12-11T11:55:39.203Z root INFO Backend Object.configure: 6.5 ms [Finished 0.560 s after backend start]
2023-12-11T11:55:39.203Z root INFO Backend a.onStart: 3.5 ms [Finished 0.560 s after backend start]
2023-12-11T11:55:39.204Z root INFO Backend a.configure: 0.3 ms [Finished 0.605 s after backend start]
2023-12-11T11:55:39.205Z root INFO Backend u.onStart: 0.3 ms [Finished 0.605 s after backend start]
2023-12-11T11:55:39.206Z root INFO Backend d.configure: 0.1 ms [Finished 0.605 s after backend start]
2023-12-11T11:55:39.207Z root INFO Backend d.initialize: 45.2 ms [Finished 0.606 s after backend start]
2023-12-11T11:55:39.207Z root INFO Backend c.onStart: 0.3 ms [Finished 0.606 s after backend start]
2023-12-11T11:55:39.208Z root INFO Backend s.configure: 4.2 ms [Finished 0.610 s after backend start]
2023-12-11T11:55:39.210Z config INFO >>> Initializing CLI configuration...
2023-12-11T11:55:39.210Z root INFO Backend c.initialize: 0.5 ms [Finished 0.610 s after backend start]
2023-12-11T11:55:39.210Z root INFO Backend P.onStart: 1.0 ms [Finished 0.611 s after backend start]
2023-12-11T11:55:39.211Z config INFO Loading CLI configuration from c:\Users\DLBVN2O.VW\.arduinoIDE\arduino-cli.yaml...
2023-12-11T11:55:39.212Z daemon INFO Starting daemon from C:\Users\DLBVN2O\Desktop\Arduino IDE\resources\app\lib\backend\resources\arduino-cli.exe...
2023-12-11T11:55:39.212Z root INFO Backend s.initialize: 0.4 ms [Finished 0.612 s after backend start]
2023-12-11T11:55:39.212Z root INFO Backend w.onStart: 1.3 ms [Finished 0.613 s after backend start]
2023-12-11T11:55:39.212Z root INFO Backend r.configure: 2.3 ms [Finished 0.613 s after backend start]
2023-12-11T11:55:39.212Z discovery-log INFO start
2023-12-11T11:55:39.213Z discovery-log INFO start new deferred
2023-12-11T11:55:39.213Z root INFO Backend d.initialize: 0.4 ms [Finished 0.614 s after backend start]
2023-12-11T11:55:39.213Z root INFO Backend y.onStart: 2.3 ms [Finished 0.616 s after backend start]
2023-12-11T11:55:39.213Z root INFO Backend r.configure: 2.1 ms [Finished 0.616 s after backend start]
2023-12-11T11:55:39.213Z root INFO Backend s.onStart: 0.6 ms [Finished 0.618 s after backend start]
2023-12-11T11:55:39.213Z root INFO Backend h.configure: 0.7 ms [Finished 0.618 s after backend start]
2023-12-11T11:55:39.214Z root INFO Backend a.configure: 0.5 ms [Finished 0.619 s after backend start]
2023-12-11T11:55:39.214Z root INFO Backend s.configure: 0.1 ms [Finished 0.619 s after backend start]
2023-12-11T11:55:39.214Z root INFO Backend l.configure: 0.1 ms [Finished 0.620 s after backend start]
2023-12-11T11:55:39.217Z root INFO Theia app listening on http://localhost:64210.
2023-12-11T11:55:39.221Z root INFO Finished starting backend application: 4.9 ms [Finished 0.623 s after backend start]
2023-12-11T11:55:39.237Z root WARN The local plugin referenced by local-dir:/c%3A/Users/DLBVN2O.VW/.arduinoIDE/plugins does not exist.
2023-12-11T11:55:39.237Z root WARN The local plugin referenced by local-dir:/c%3A/Users/DLBVN2O.VW/.arduinoIDE/extensions does not exist.
2023-12-11T11:55:39.238Z root WARN The local plugin referenced by local-dir:C:\Users\DLBVN2O.VW\.arduinoIDE\plugins does not exist.
2023-12-11T11:55:39.290Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[]},"build_cache":{"compilations_before_purge":10,"ttl":"720h0m0s"},"daemon":{"port":"50051"},"directories":{"data":"C:\\Users\\DLBVN2O.VW\\AppData\\Local\\Arduino15","downloads":"C:\\Users\\DLBVN2O.VW\\AppData\\Local\\Arduino15\\staging","user":"C:\\Users\\DLBVN2O.VW\\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}}
2023-12-11T11:55:39.291Z config INFO 'directories.data' and 'directories.user' are set in the CLI configuration model.
2023-12-11T11:55:39.292Z config INFO Loaded the CLI configuration.
2023-12-11T11:55:39.293Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///c%3A/Users/DLBVN2O.VW/AppData/Local/Arduino15","sketchDirUri":"file:///c%3A/Users/DLBVN2O.VW/Documents/Arduino","additionalUrls":[],"network":"none","locale":"en"}
2023-12-11T11:55:39.294Z config INFO Validating the CLI configuration...
2023-12-11T11:55:39.294Z config INFO The CLI config is valid.
2023-12-11T11:55:39.294Z config INFO <<< Initialized the CLI configuration.
2023-12-11T11:55:39.312Z root INFO Resolve plugins list: 100.9 ms [Finished 0.717 s after backend start]
2023-12-11T11:55:39.634Z daemon INFO time="2023-12-11T12:55:39+01:00" level=info msg="Using config file: c:\\Users\\DLBVN2O.VW\\.arduinoIDE\\arduino-cli.yaml"
time="2023-12-11T12:55:39+01:00" level=info msg="arduino-cli.exe version 0.34.0"
time="2023-12-11T12:55:39+01:00" level=info msg="Executing `arduino-cli daemon`"
Daemon is now listening on 127.0.0.1:64230
{"IP":"127.0.0.1","Port":"64230"}
2023-12-11T11:55:39.635Z daemon INFO Daemon is running.
2023-12-11T11:55:39.771Z daemon INFO time="2023-12-11T12:55:39+01:00" level=info msg="Updating libraries index"
2023-12-11T11:55:39.904Z daemon INFO time="2023-12-11T12:55:39+01:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
time="2023-12-11T12:55:39+01:00" level=info msg="Loading hardware from: C:\\Users\\DLBVN2O.VW\\AppData\\Local\\Arduino15\\packages"
time="2023-12-11T12:55:39+01:00" level=info msg="Loading libraries index file" index="C:\\Users\\DLBVN2O.VW\\AppData\\Local\\Arduino15\\library_index.json"
time="2023-12-11T12:55:39+01:00" level=info msg="Adding libraries dir" dir="C:\\Users\\DLBVN2O.VW\\AppData\\Local\\Arduino15\\libraries" location=ide
time="2023-12-11T12:55:39+01:00" level=info msg="Adding libraries dir" dir="C:\\Users\\DLBVN2O.VW\\Documents\\Arduino\\libraries" location=user
2023-12-11T11:55:39.907Z root ERROR Detected an error response during the gRPC core client initialization: code: 3, message: Error downloading index 'https://downloads.arduino.cc/libraries/library_index.tar.bz2': Get "https://downloads.arduino.cc/libraries/library_index.tar.bz2": dial tcp: lookup downloads.arduino.cc: no such host
2023-12-11T11:55:39.907Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: loading json index file C:\Users\DLBVN2O.VW\AppData\Local\Arduino15\package_index.json: open C:\Users\DLBVN2O.VW\AppData\Local\Arduino15\package_index.json: The system cannot find the file specified.
2023-12-11T11:55:39.907Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not found
2023-12-11T11:55:39.908Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not found
2023-12-11T11:55:39.908Z 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\DLBVN2O.VW\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2023-12-11T11:55:39.913Z 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:
[platform-index] - code: 9, message: Loading index file: loading json index file C:\Users\DLBVN2O.VW\AppData\Local\Arduino15\package_index.json: open C:\Users\DLBVN2O.VW\AppData\Local\Arduino15\package_index.json: The system cannot find the file specified.
[platform-index] - code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not found
[platform-index] - code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not found
[library-index] - code: 9, message: Loading index file: reading library_index.json: open C:\Users\DLBVN2O.VW\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2023-12-11T11:55:39.914Z daemon INFO time="2023-12-11T12:55:39+01:00" level=info msg="Updating libraries index"
time="2023-12-11T12:55:39+01:00" level=info msg="Updating index" url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
2023-12-11T11:55:39.918Z root INFO core-client-provider [platform-index] Downloading index: package_index.tar.bz2
2023-12-11T11:55:39.920Z root ERROR Failed to update platform, library indexes. Error: 13 INTERNAL: Some indexes could not be updated.
at t.callErrorFromStatus (C:\Users\DLBVN2O\Desktop\Arduino IDE\resources\app\lib\backend\main.js:2:726940)
at Object.onReceiveStatus (C:\Users\DLBVN2O\Desktop\Arduino IDE\resources\app\lib\backend\main.js:2:754480)
at Object.onReceiveStatus (C:\Users\DLBVN2O\Desktop\Arduino IDE\resources\app\lib\backend\main.js:2:747504)
at C:\Users\DLBVN2O\Desktop\Arduino IDE\resources\app\lib\backend\main.js:2:833048
at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
for call at
at a.makeServerStreamRequest (C:\Users\DLBVN2O\Desktop\Arduino IDE\resources\app\lib\backend\main.js:2:754247)
at a.updateIndex (C:\Users\DLBVN2O\Desktop\Arduino IDE\resources\app\lib\backend\main.js:2:818456)
at C:\Users\DLBVN2O\Desktop\Arduino IDE\resources\app\lib\backend\main.js:2:587141
at C:\Users\DLBVN2O\Desktop\Arduino IDE\resources\app\lib\backend\main.js:2:587489
at new Promise (<anonymous>)
at _.doUpdateIndex (C:\Users\DLBVN2O\Desktop\Arduino IDE\resources\app\lib\backend\main.js:2:587468)
at _.updatePlatformIndex (C:\Users\DLBVN2O\Desktop\Arduino IDE\resources\app\lib\backend\main.js:2:587113)
at _.updateIndex (C:\Users\DLBVN2O\Desktop\Arduino IDE\resources\app\lib\backend\main.js:2:586481)
at _.initInstanceWithFallback (C:\Users\DLBVN2O\Desktop\Arduino IDE\resources\app\lib\backend\main.js:2:584725)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2023-12-11T11:55:39.921Z root INFO core-client-provider [library-index] Downloading index: library_index.tar.bz2
2023-12-11T11:55:39.921Z daemon INFO time="2023-12-11T12:55:39+01:00" level=info msg="Starting download" url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
time="2023-12-11T12:55:39+01:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2023-12-11T11:55:39.922Z daemon INFO time="2023-12-11T12:55:39+01:00" level=info msg="Updating libraries index"
2023-12-11T11:55:40.039Z daemon INFO time="2023-12-11T12:55:39+01:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
time="2023-12-11T12:55:39+01:00" level=info msg="Loading hardware from: C:\\Users\\DLBVN2O.VW\\AppData\\Local\\Arduino15\\packages"
time="2023-12-11T12:55:39+01:00" level=info msg="Loading libraries index file" index="C:\\Users\\DLBVN2O.VW\\AppData\\Local\\Arduino15\\library_index.json"
time="2023-12-11T12:55:39+01:00" level=info msg="Adding libraries dir" dir="C:\\Users\\DLBVN2O.VW\\AppData\\Local\\Arduino15\\libraries" location=ide
time="2023-12-11T12:55:39+01:00" level=info msg="Adding libraries dir" dir="C:\\Users\\DLBVN2O.VW\\Documents\\Arduino\\libraries" location=user
2023-12-11T11:55:40.040Z root ERROR Detected an error response during the gRPC core client initialization: code: 3, message: Error downloading index 'https://downloads.arduino.cc/libraries/library_index.tar.bz2': Get "https://downloads.arduino.cc/libraries/library_index.tar.bz2": dial tcp: lookup downloads.arduino.cc: no such host
2023-12-11T11:55:40.041Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: loading json index file C:\Users\DLBVN2O.VW\AppData\Local\Arduino15\package_index.json: open C:\Users\DLBVN2O.VW\AppData\Local\Arduino15\package_index.json: The system cannot find the file specified.
2023-12-11T11:55:40.042Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not found
2023-12-11T11:55:40.042Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not found
2023-12-11T11:55:40.042Z 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\DLBVN2O.VW\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2023-12-11T11:55:40.044Z 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:
[platform-index] - code: 9, message: Loading index file: loading json index file C:\Users\DLBVN2O.VW\AppData\Local\Arduino15\package_index.json: open C:\Users\DLBVN2O.VW\AppData\Local\Arduino15\package_index.json: The system cannot find the file specified.
[platform-index] - code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not found
[platform-index] - code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not found
[library-index] - code: 9, message: Loading index file: reading library_index.json: open C:\Users\DLBVN2O.VW\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2023-12-11T11:55:40.044Z 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:
[platform-index] - code: 9, message: Loading index file: loading json index file C:\Users\DLBVN2O.VW\AppData\Local\Arduino15\package_index.json: open C:\Users\DLBVN2O.VW\AppData\Local\Arduino15\package_index.json: The system cannot find the file specified.
[platform-index] - code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not found
[platform-index] - code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not found
[library-index] - code: 9, message: Loading index file: reading library_index.json: open C:\Users\DLBVN2O.VW\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
at C:\Users\DLBVN2O\Desktop\Arduino IDE\resources\app\lib\backend\main.js:2:586285
at _.evaluateErrorStatus (C:\Users\DLBVN2O\Desktop\Arduino IDE\resources\app\lib\backend\main.js:2:586301)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async s.<anonymous> (C:\Users\DLBVN2O\Desktop\Arduino IDE\resources\app\lib\backend\main.js:2:585971)
Opening channel for service path '/services/electron-window'.
Opening channel for service path '/services/ide-updater'.
2023-12-11T11:55:41.429Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 525.1 ms [Finished 2.000 s after frontend start]
2023-12-11T11:55:41.429Z root WARN A command editor.action.toggleStickyScroll is already registered.
2023-12-11T11:55:41.573Z root WARN Frontend keybindings.onStart took longer than the expected maximum 100 milliseconds: 127.6 ms [Finished 2.151 s after frontend start]
2023-12-11T11:55:41.607Z root INFO Deploy plugins list: 100.9 ms [Finished 3.013 s after backend start]
I'm not the specialist so I might have this wrong. Does your computer have internet access? Is this in a corporate network? Antivirus that blocks access to or removes the files mentioned in the errors?
Which older versions? The above problems (usually) don't show with IDE 1.x, only with IDE 2.x.
Yeah im using corporate network. And i tried 2.1.1
First I would talk to IT to allow the IDE to have internet access; it needs it at least on the first run to install some 'stuff'
Alternatively the instructions below might help you on the way. They were for Linux but you might be able to figure out how to do it on a Windows system.
See How to install Arduino IDE on computer without Internet access? - #4 by ptillisch.
It might not solve the complete problem, not sure.
okay thank you very much
A post was split to a new topic: IDE hangs on startup: "EPERM: operation not permitted, mkdir"
A post was split to a new topic: IDE hangs on startup: "panic: runtime error: slice bounds out of range"
A post was split to a new topic: IDE hangs on startup: "Error verifying signature: openpgp: signature expired"
A post was split to a new topic: IDE hangs on startup: "Error verifying signature: openpgp: signature expired"