Continuing the discussion from IDE not launching:
PS C:\Users\Anass PC\AppData\Local\Programs\Arduino IDE>
Arduino IDE 2.3.2
Checking for frontend application configuration customizations. Module path: C:\Users\Anass PC\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\electron-main.js, destination 'package.json': C:\Users\Anass PC\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: 8416
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///c%3A/Users/Anass%20PC/.arduinoIDE'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2024-07-13T12:59:18.724Z root INFO Backend Object.initialize: 29.9 ms [Finished 3.597 s after backend start]
2024-07-13T12:59:18.729Z root INFO Backend Object.configure: 26.4 ms [Finished 3.598 s after backend start]
2024-07-13T12:59:18.730Z root INFO Backend s.onStart: 8.0 ms [Finished 3.598 s after backend start]
2024-07-13T12:59:18.732Z root INFO Backend s.configure: 1.0 ms [Finished 3.726 s after backend start]
2024-07-13T12:59:18.743Z root INFO Backend d.onStart: 0.8 ms [Finished 3.726 s after backend start]
2024-07-13T12:59:18.746Z root INFO Backend d.configure: 0.4 ms [Finished 3.727 s after backend start]
2024-07-13T12:59:18.749Z root WARN Backend d.initialize took longer than the expected maximum 50 milliseconds: 128.7 ms [Finished 3.728 s after backend start]
2024-07-13T12:59:18.750Z root INFO Backend c.onStart: 1.2 ms [Finished 3.728 s after backend start]
2024-07-13T12:59:18.753Z root INFO Backend a.configure: 7.1 ms [Finished 3.736 s after backend start]
2024-07-13T12:59:18.770Z config INFO >>> Initializing CLI configuration...
2024-07-13T12:59:18.771Z root INFO Backend c.initialize: 2.3 ms [Finished 3.737 s after backend start]
2024-07-13T12:59:18.773Z root INFO Backend R.onStart: 11.1 ms [Finished 3.747 s after backend start]
2024-07-13T12:59:18.776Z config INFO Loading CLI configuration from c:\Users\Anass PC\.arduinoIDE\arduino-cli.yaml...
2024-07-13T12:59:18.779Z daemon INFO Starting daemon from C:\Users\Anass PC\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\resources\arduino-cli.exe...
2024-07-13T12:59:18.779Z root INFO Backend a.initialize: 1.7 ms [Finished 3.751 s after backend start]
2024-07-13T12:59:18.779Z root INFO Backend w.onStart: 4.7 ms [Finished 3.754 s after backend start]
2024-07-13T12:59:18.780Z root INFO Backend r.configure: 7.3 ms [Finished 3.754 s after backend start]
2024-07-13T12:59:18.780Z discovery-log INFO start
2024-07-13T12:59:18.780Z discovery-log INFO start new deferred
2024-07-13T12:59:18.780Z root INFO Backend d.initialize: 2.7 ms [Finished 3.757 s after backend start]
2024-07-13T12:59:18.781Z root INFO Backend y.onStart: 20.1 ms [Finished 3.775 s after backend start]
2024-07-13T12:59:18.781Z root INFO Backend r.configure: 19.8 ms [Finished 3.777 s after backend start]
2024-07-13T12:59:18.785Z root INFO Backend a.onStart: 1.9 ms [Finished 3.784 s after backend start]
2024-07-13T12:59:18.785Z root INFO Backend h.configure: 1.7 ms [Finished 3.784 s after backend start]
2024-07-13T12:59:18.785Z root INFO Backend s.configure: 0.9 ms [Finished 3.785 s after backend start]
2024-07-13T12:59:18.786Z root INFO Backend l.configure: 0.4 ms [Finished 3.790 s after backend start]
2024-07-13T12:59:18.907Z root INFO Theia app listening on http://127.0.0.1:51570.
2024-07-13T12:59:18.907Z root INFO Finished starting backend application: 126.9 ms [Finished 3.911 s after backend start]
2024-07-13T12:59:27.559Z root WARN The local plugin referenced by local-dir:/c%3A/Users/Anass%20PC/.arduinoIDE/plugins does not exist.
2024-07-13T12:59:27.559Z root WARN The local plugin referenced by local-dir:/c%3A/Users/Anass%20PC/.arduinoIDE/extensions does not exist.
2024-07-13T12:59:27.560Z root WARN The local plugin referenced by local-dir:C:\Users\Anass PC\.arduinoIDE\plugins does not exist.
2024-07-13T12:59:27.669Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[]},"build_cache":{"compilations_before_purge":10,"ttl":"720h0m0s"},"daemon":{"port":"50051"},"directories":{"data":"C:\\Users\\Anass PC\\AppData\\Local\\Arduino15","downloads":"C:\\Users\\Anass PC\\AppData\\Local\\Arduino15\\staging","user":"C:\\Users\\Anass PC\\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-07-13T12:59:27.669Z config INFO 'directories.data' and 'directories.user' are set in the CLI configuration model.
2024-07-13T12:59:27.669Z config INFO Loaded the CLI configuration.
2024-07-13T12:59:27.941Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///c%3A/Users/Anass%20PC/AppData/Local/Arduino15","sketchDirUri":"file:///c%3A/Users/Anass%20PC/Documents/Arduino","additionalUrls":[],"network":"none","locale":"en"}
2024-07-13T12:59:27.942Z config INFO Validating the CLI configuration...
2024-07-13T12:59:27.944Z config INFO The CLI config is valid.
2024-07-13T12:59:27.944Z config INFO <<< Initialized the CLI configuration.
2024-07-13T12:59:28.300Z daemon INFO time="2024-07-13T13:59:28+01:00" level=info msg="Using config file: c:\\Users\\Anass PC\\.arduinoIDE\\arduino-cli.yaml"
time="2024-07-13T13:59:28+01:00" level=info msg="arduino-cli.exe version 0.35.3"
time="2024-07-13T13:59:28+01:00" level=info msg="Executing `arduino-cli daemon`"
2024-07-13T12:59:28.435Z daemon INFO Daemon is now listening on 127.0.0.1:51575
{"IP":"127.0.0.1","Port":"51575"}
2024-07-13T12:59:28.436Z daemon INFO Daemon is running.
2024-07-13T12:59:28.989Z root INFO Resolve plugins list: 10213.6 ms [Finished 13.992 s after backend start]
2024-07-13T12:59:29.067Z daemon INFO time="2024-07-13T13:59:29+01:00" level=info msg="Updating libraries index"
2024-07-13T12:59:29.095Z daemon INFO time="2024-07-13T13:59:29+01:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
Opening channel for service path '/services/electron-window'.
Opening channel for service path '/services/ide-updater'.
2024-07-13T12:59:32.604Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 1192.1 ms [Finished 13.137 s after frontend start]
2024-07-13T12:59:32.604Z root WARN A command editor.action.toggleStickyScroll is already registered.
2024-07-13T12:59:32.604Z root WARN Frontend commands.onStart took longer than the expected maximum 100 milliseconds: 106.0 ms [Finished 13.248 s after frontend start]
2024-07-13T12:59:32.874Z root WARN Frontend keybindings.onStart took longer than the expected maximum 100 milliseconds: 260.7 ms [Finished 13.509 s after frontend start]
2024-07-13T12:59:34.029Z root WARN Frontend D.onStart took longer than the expected maximum 100 milliseconds: 939.1 ms [Finished 14.678 s after frontend start]
2024-07-13T12:59:41.368Z root INFO Deploy plugins list: 10213.6 ms [Finished 26.373 s after backend start]
2024-07-13T12:59:54.400Z root ERROR Detected an error response during the gRPC core client initialization: code: 3, message: Error verifying signature: openpgp: signature expired
2024-07-13T12:59:54.487Z daemon INFO time="2024-07-13T13:59:54+01:00" level=info msg="Checking signature" index="C:\\Users\\Anass PC\\AppData\\Local\\Arduino15\\package_index.json" signatureFile="C:\\Users\\Anass PC\\AppData\\Local\\Arduino15\\package_index.json.sig" trusted=true
2024-07-13T12:59:54.500Z daemon INFO time="2024-07-13T13:59:54+01:00" level=info msg="Loading hardware from: C:\\Users\\Anass PC\\AppData\\Local\\Arduino15\\packages"
2024-07-13T12:59:54.506Z daemon INFO time="2024-07-13T13:59:54+01:00" level=info msg="Loading package builtin from: C:\\Users\\Anass PC\\AppData\\Local\\Arduino15\\packages\\builtin"
2024-07-13T12:59:54.511Z daemon INFO time="2024-07-13T13:59:54+01:00" level=info msg="Checking existence of 'tools' path: C:\\Users\\Anass PC\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
time="2024-07-13T13:59:54+01:00" level=info msg="Loading tools from dir: C:\\Users\\Anass PC\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
2024-07-13T12:59:54.515Z daemon INFO time="2024-07-13T13:59:54+01:00" level=info msg="Loaded tool" tool="builtin:[email protected]"
2024-07-13T12:59:54.517Z daemon INFO time="2024-07-13T13:59:54+01:00" level=info msg="Loaded tool" tool="builtin:[email protected]"
2024-07-13T12:59:54.518Z daemon INFO time="2024-07-13T13:59:54+01:00" level=info msg="Loaded tool" tool="builtin:[email protected]"
2024-07-13T12:59:54.520Z daemon INFO time="2024-07-13T13:59:54+01:00" level=info msg="Loaded tool" tool="builtin:[email protected]"
2024-07-13T12:59:54.522Z daemon INFO time="2024-07-13T13:59:54+01:00" level=info msg="Loaded tool" tool="builtin:[email protected]"
2024-07-13T12:59:54.534Z daemon INFO time="2024-07-13T13:59:54+01:00" level=info msg="Loading libraries index file" index="C:\\Users\\Anass PC\\AppData\\Local\\Arduino15\\library_index.json"
2024-07-13T12:59:54.535Z daemon INFO time="2024-07-13T13:59:54+01:00" level=info msg="Adding libraries dir" dir="C:\\Users\\Anass PC\\AppData\\Local\\Arduino15\\libraries" location=ide
2024-07-13T12:59:54.536Z 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\Anass PC\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2024-07-13T12:59:54.536Z daemon INFO time="2024-07-13T13:59:54+01:00" level=info msg="Adding libraries dir" dir="C:\\Users\\Anass PC\\Documents\\Arduino\\libraries" location=user
2024-07-13T12:59:54.727Z daemon INFO time="2024-07-13T13:59:54+01:00" level=warning msg="Error loading library" error="rpc error: code = Internal desc = loading library from C:\\Users\\Anass PC\\Documents\\Arduino\\libraries\\libraries: invalid library: no header files found"
2024-07-13T12:59:54.747Z 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\Anass PC\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2024-07-13T12:59:54.751Z daemon INFO time="2024-07-13T13:59:54+01:00" level=info msg="Updating libraries index"
2024-07-13T12:59:54.770Z daemon INFO time="2024-07-13T13:59:54+01:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2024-07-13T12:59:54.776Z root INFO core-client-provider [library-index] Downloading index: library_index.tar.bz2
2024-07-13T13:00:16.470Z daemon INFO time="2024-07-13T14:00:16+01:00" level=info msg="Updating libraries index"
2024-07-13T13:00:16.478Z daemon INFO time="2024-07-13T14:00:16+01:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
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.