Hi @ptillisch ,
this is my first post here and I have a similiar problem. After installing and opening Arduino IDE on Win 10, the Arduino symbol starts just pulsating.
After checking the PowerShell (you'll find th eoutput below), it seems for me that some errors occured during the installation; the two folders "packages" and "staging" located in the "Arduino 15"-folder are completely empty and the files "package_index.json" and "library_index.json" are missing, which is really surprising me.
First idea was de- and reinstalling Arduino, but nothing really changed. Do you know how to fix this? Your help would be much appreciated ![]()
Best regards!
2023-10-20T09:45:51.347Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 574.7 ms [Finished 3.065 s after frontend start]
2023-10-20T09:45:51.366Z root WARN A command editor.action.toggleStickyScroll is already registered.
2023-10-20T09:46:30.802Z 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 104.18.32.201:443: connectex: Ein Verbindungsversuch ist fehlgeschlagen, da die Gegenstelle nach einer bestimmten Zeitspanne nicht richtig reagiert hat, oder die hergestellte Verbindung war fehlerhaft, da der verbundene Host nicht reagiert hat.
2023-10-20T09:46:30.807Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Indexdatei wird geladen: loading json index file C:\Users\xy\AppData\Local\Arduino15\package_index.json: open C:\Users\xy\AppData\Local\Arduino15\package_index.json: Das System kann die angegebene Datei nicht finden.
2023-10-20T09:46:30.810Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Fehler beim Laden der Hardware-Plattform: discovery builtin:serial-discovery not found
2023-10-20T09:46:30.813Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Fehler beim Laden der Hardware-Plattform: discovery builtin:mdns-discovery not found
2023-10-20T09:46:30.816Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Indexdatei wird geladen: lese library_index.json: open C:\Users\xy\AppData\Local\Arduino15\library_index.json: Das System kann die angegebene Datei nicht finden.
2023-10-20T09:46:30.818Z daemon INFO time="2023-10-20T11:46:30+02:00" level=info msg="Loading hardware from: C:\\Users\\xy\\AppData\\Local\\Arduino15\\packages"
time="2023-10-20T11:46:30+02:00" level=info msg="Loading libraries index file" index="C:\\Users\\xy\\AppData\\Local\\Arduino15\\library_index.json"
time="2023-10-20T11:46:30+02:00" level=info msg="Adding libraries dir" dir="C:\\Users\\xy\\AppData\\Local\\Arduino15\\libraries" location=ide
time="2023-10-20T11:46:30+02:00" level=info msg="Adding libraries dir" dir="H:\\Eigene Dateien\\Arduino\\libraries" location=user
2023-10-20T09:46:30.839Z 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: Indexdatei wird geladen: loading json index file C:\Users\xy\AppData\Local\Arduino15\package_index.json: open C:\Users\xy\AppData\Local\Arduino15\package_index.json: Das System kann die angegebene Datei nicht finden.
[platform-index] - code: 9, message: Fehler beim Laden der Hardware-Plattform: discovery builtin:serial-discovery not found
[platform-index] - code: 9, message: Fehler beim Laden der Hardware-Plattform: discovery builtin:mdns-discovery not found
[library-index] - code: 9, message: Indexdatei wird geladen: lese library_index.json: open C:\Users\xy\AppData\Local\Arduino15\library_index.json: Das System kann die angegebene Datei nicht finden.
2023-10-20T09:46:30.850Z daemon INFO time="2023-10-20T11:46:30+02:00" level=info msg="Updating libraries index"
time="2023-10-20T11:46:30+02:00" level=info msg="Updating index" url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
2023-10-20T09:46:30.853Z daemon INFO time="2023-10-20T11:46:30+02:00" level=info msg="Starting download" url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
2023-10-20T09:46:30.857Z root INFO core-client-provider [platform-index] Index wird heruntergeladen: package_index.tar.bz2
2023-10-20T09:46:30.864Z root INFO core-client-provider [library-index] Index wird heruntergeladen: library_index.tar.bz2
2023-10-20T09:46:30.865Z daemon INFO time="2023-10-20T11:46:30+02:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2023-10-20T09:47:12.957Z root ERROR Failed to update platform, library indexes. Error: 13 INTERNAL: Some indexes could not be updated.
at t.callErrorFromStatus (C:\Users\xy\AppData\Local\Programs\arduino-ide\resources\app\lib\backend\main.js:2:726940)
at Object.onReceiveStatus (C:\Users\xy\AppData\Local\Programs\arduino-ide\resources\app\lib\backend\main.js:2:754480)
at Object.onReceiveStatus (C:\Users\xy\AppData\Local\Programs\arduino-ide\resources\app\lib\backend\main.js:2:747504)
at C:\Users\xy\AppData\Local\Programs\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\xy\AppData\Local\Programs\arduino-ide\resources\app\lib\backend\main.js:2:754247)
at a.updateIndex (C:\Users\xy\AppData\Local\Programs\arduino-ide\resources\app\lib\backend\main.js:2:818456)
at C:\Users\xy\AppData\Local\Programs\arduino-ide\resources\app\lib\backend\main.js:2:587141
at C:\Users\xy\AppData\Local\Programs\arduino-ide\resources\app\lib\backend\main.js:2:587489
at new Promise (<anonymous>)
at _.doUpdateIndex (C:\Users\xy\AppData\Local\Programs\arduino-ide\resources\app\lib\backend\main.js:2:587468)
at _.updatePlatformIndex (C:\Users\xy\AppData\Local\Programs\arduino-ide\resources\app\lib\backend\main.js:2:587113)
at _.updateIndex (C:\Users\xy\AppData\Local\Programs\arduino-ide\resources\app\lib\backend\main.js:2:586481)
at _.initInstanceWithFallback (C:\Users\xy\AppData\Local\Programs\arduino-ide\resources\app\lib\backend\main.js:2:584725)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2023-10-20T09:47:12.973Z daemon INFO time="2023-10-20T11:47:12+02:00" level=info msg="Updating libraries index"
2023-10-20T09:47:12.984Z daemon INFO time="2023-10-20T11:47:12+02:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
[8152:1020/114747.622:ERROR:gpu_init.cc(523)] Passthrough is not supported, GL is disabled, ANGLE is
2023-10-20T09:47:55.098Z 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 104.18.32.201:443: connectex: Ein Verbindungsversuch ist fehlgeschlagen, da die Gegenstelle nach einer bestimmten Zeitspanne nicht richtig reagiert hat, oder die hergestellte Verbindung war fehlerhaft, da der verbundene Host nicht reagiert hat.
2023-10-20T09:47:55.106Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Indexdatei wird geladen: loading json index file C:\Users\xy\AppData\Local\Arduino15\package_index.json: open C:\Users\xy\AppData\Local\Arduino15\package_index.json: Das System kann die angegebene Datei nicht finden.
2023-10-20T09:47:55.125Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Fehler beim Laden der Hardware-Plattform: discovery builtin:serial-discovery not found
2023-10-20T09:47:55.127Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Fehler beim Laden der Hardware-Plattform: discovery builtin:mdns-discovery not found
2023-10-20T09:47:55.130Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Indexdatei wird geladen: lese library_index.json: open C:\Users\xy\AppData\Local\Arduino15\library_index.json: Das System kann die angegebene Datei nicht finden.
2023-10-20T09:47:55.131Z daemon INFO time="2023-10-20T11:47:55+02:00" level=info msg="Loading hardware from: C:\\Users\\xy\\AppData\\Local\\Arduino15\\packages"
time="2023-10-20T11:47:55+02:00" level=info msg="Loading libraries index file" index="C:\\Users\\xy\\AppData\\Local\\Arduino15\\library_index.json"
time="2023-10-20T11:47:55+02:00" level=info msg="Adding libraries dir" dir="C:\\Users\\xy\\AppData\\Local\\Arduino15\\libraries" location=ide
time="2023-10-20T11:47:55+02:00" level=info msg="Adding libraries dir" dir="H:\\Eigene Dateien\\Arduino\\libraries" location=user
2023-10-20T09:47:55.150Z 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: Indexdatei wird geladen: loading json index file C:\Users\xy\AppData\Local\Arduino15\package_index.json: open C:\Users\xy\AppData\Local\Arduino15\package_index.json: Das System kann die angegebene Datei nicht finden.
[platform-index] - code: 9, message: Fehler beim Laden der Hardware-Plattform: discovery builtin:serial-discovery not found
[platform-index] - code: 9, message: Fehler beim Laden der Hardware-Plattform: discovery builtin:mdns-discovery not found
[library-index] - code: 9, message: Indexdatei wird geladen: lese library_index.json: open C:\Users\xy\AppData\Local\Arduino15\library_index.json: Das System kann die angegebene Datei nicht finden.