I've been installing libraries with no issues and suddenly they stopped installing and when I restarted the program no libraries are shown though if I look in the folder I see all the files that I installed thru the program. Is there a limit on how many libraries can be loaded?
I'm not sure I understood correctly what you mean by this. Please provide a more detailed description to help me to understand it.
Provide the full and exact text of any error or warning messages you might be encountering.
Where exactly in the IDE are they not shown?
I have 683 in my "stress test" sketchbook (I actually had to install a few more to surpass you because previously I only had 665). I think it slows down some operations such as the population of the menus such as File > Examples that are generated on the fly, but other than that the IDE works perfectly fine for me.
I removed about half the libraries, and it started working again. I guess I'll just load in the libraries I need versus all of them which I'd done in the past. This looks like a new bug in the V2 product. I'm all set now with this workaround.
If you are happy with the workaround, then I'm happy also. In case you do want to investigate the problem further I would ask you to post some additional information that might help us to identify the problem:
Start Windows "File Explorer".
Open the Arduino IDE installation folder.
(usually C:\Program Files\Arduino IDE or C:\Users\<user name>\AppData\Local\Programs\Arduino IDE).
In the folder listing of the Arduino IDE installation folder, hold the Shift key while clicking the right hand button on the mouse.
From the context menu, click "Open PowerShell window here".
PowerShell will now open with the current directory set to the Arduino IDE installation folder.
Type the following command:
& ".\Arduino IDE"
Press the Enter key.
Debug output should now be printed to the PowerShell window as the Arduino IDE starts (or fails to start).
Wait for the Arduino IDE to finish starting.
Switch back to the PowerShell window.
Right click on the title bar of the PowerShell window.
This will open a context menu.
Select Edit > Select All from the context menu.
This will select all the text in the PowerShell window.
Press Ctrl+C.
This will copy the contents of the PowerShell window to the clipboard.
Open a forum reply here by clicking the Reply button.
Click the </> icon on the post composer toolbar.
This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
Press Ctrl+V.
This will paste the output into the code block.
Move the cursor outside of the code block markup before you add any additional text to your reply.
Click the Reply button to post the output.
Please let me know if you have any questions or problems while following those instructions.
PS C:\Users\rayha\AppData\Local\Programs\Arduino IDE> & ".\Arduino IDE.exe"
PS C:\Users\rayha\AppData\Local\Programs\Arduino IDE>
Arduino IDE 2.0.1
Starting backend process. PID: 13412
Using browser-only version of superagent in non-browser environment
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
root INFO Configuration directory URI: 'file:///c%3A/Users/rayha/.theia'
root INFO Backend Object.initialize: 4.4 ms [Finished 1.090 s after backend start]
root INFO Backend Object.configure: 3.6 ms [Finished 1.090 s after backend start]
root INFO Backend MessagingContribution.onStart: 1.8 ms [Finished 1.090 s after backend start]
root INFO Backend OSBackendApplicationContribution.configure: 0.3 ms [Finished 1.123 s after backend start]
root INFO Backend DefaultWorkspaceServer.onStart: 0.3 ms [Finished 1.123 s after backend start]
root INFO Backend LocalizationBackendContribution.configure: 0.1 ms [Finished 1.124 s after backend start]
root INFO Backend LocalizationBackendContribution.initialize: 33.3 ms [Finished 1.124 s after backend start]
root INFO Backend TaskBackendApplicationContribution.onStart: 0.2 ms [Finished 1.124 s after backend start]
root INFO Backend ElectronTokenBackendContribution.configure: 2.1 ms [Finished 1.126 s after backend start]
root INFO Backend PluginDeployerContribution.initialize: 0.7 ms [Finished 1.126 s after backend start]
root INFO Backend ConfigServiceImpl.onStart: 1.3 ms [Finished 1.127 s after backend start]
root INFO Backend WebviewBackendSecurityWarnings.initialize: 0.4 ms [Finished 1.129 s after backend start]
root INFO Backend ArduinoDaemonImpl.onStart: 1.1 ms [Finished 1.130 s after backend start]
root INFO Backend NodeFileUploadService.configure: 2.5 ms [Finished 1.130 s after backend start]
daemon INFO Starting daemon from C:\Users\rayha\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\arduino-ide-extension\build\arduino-cli.exe...
discovery-log INFO start
discovery-log INFO start new deferred
root INFO Backend BoardDiscovery.onStart: 0.9 ms [Finished 1.131 s after backend start]
root INFO Backend FileDownloadEndpoint.configure: 0.6 ms [Finished 1.132 s after backend start]
root INFO Backend AuthenticationServiceImpl.onStart: 0.8 ms [Finished 1.134 s after backend start]
root INFO Backend PluginApiContribution.configure: 0.9 ms [Finished 1.134 s after backend start]
root INFO Backend HostedPluginReader.configure: 0.2 ms [Finished 1.135 s after backend start]
root INFO Backend HostedPluginReader.configure: 0.1 ms [Finished 1.135 s after backend start]
root INFO Backend PlotterBackendContribution.configure: 0.8 ms [Finished 1.136 s after backend start]
root INFO Theia app listening on http://localhost:63671.
root INFO Finished starting backend application: 4.7 ms [Finished 1.139 s after backend start]
root WARN The local plugin referenced by local-dir:/c%3A/Users/rayha/.arduinoIDE/plugins does not exist.
root WARN The local plugin referenced by local-dir:/c%3A/Users/rayha/.arduinoIDE/extensions does not exist.
root WARN The local plugin referenced by local-dir:C:\Users\rayha\.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.2-beta.5" 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 PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-bg" to a VS Code extension "vscode-language-pack-bg@1.48.3" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-cs" to a VS Code extension "vscode-language-pack-cs@1.53.2" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-de" to a VS Code extension "vscode-language-pack-de@1.53.2" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-es" to a VS Code extension "vscode-language-pack-es@1.53.2" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-fr" to a VS Code extension "vscode-language-pack-fr@1.53.2" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-hu" to a VS Code extension "vscode-language-pack-hu@1.48.3" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-it" to a VS Code extension "vscode-language-pack-it@1.53.2" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-ja" to a VS Code extension "vscode-language-pack-ja@1.53.2" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-ko" to a VS Code extension "vscode-language-pack-ko@1.53.2" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-nl" to a VS Code extension "vscode-language-pack-nl@1.48.3" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-pl" to a VS Code extension "vscode-language-pack-pl@1.53.2" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-pt-BR" to a VS Code extension "vscode-language-pack-pt-BR@1.53.2" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-ru" to a VS Code extension "vscode-language-pack-ru@1.53.2" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-tr" to a VS Code extension "vscode-language-pack-tr@1.53.2" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-uk" to a VS Code extension "vscode-language-pack-uk@1.48.3" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-zh-hans" to a VS Code extension "vscode-language-pack-zh-hans@1.53.2" with engines:
root INFO Resolve plugins list: 57.5 ms [Finished 1.189 s after backend start]
root INFO Deployed backend plugin "cortex-debug@0.3.10" from "C:\Users\rayha\AppData\Local\Programs\Arduino IDE\resources\app\plugins\cortex-debug\extension\dist\extension": 5.8 ms [Finished 1.196 s after backend start]
root INFO Deployed backend plugin "vscode-arduino-tools@0.0.2-beta.5" from "C:\Users\rayha\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-arduino-tools\extension\dist\bundle": 5.3 ms [Finished 1.201 s after backend start]
root INFO Deployed backend plugin "cpp@1.52.1" from "C:\Users\rayha\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-builtin-cpp\extension": 12.3 ms [Finished 1.213 s after backend start]
root INFO Deployed backend plugin "json@1.46.1" from "C:\Users\rayha\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-builtin-json\extension": 1.9 ms [Finished 1.215 s after backend start]
root INFO Deployed backend plugin "json-language-features@1.46.1" from "C:\Users\rayha\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-builtin-json-language-features\extension\client\dist\jsonMain": 0.9 ms [Finished 1.216 safter backend start]
root INFO Deployed backend plugin "vscode-language-pack-bg@1.48.3" from "C:\Users\rayha\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-bg\extension": 98.6 ms [Finished 1.315 s after backend start]
daemon INFO INFO[0000] Using config file: c:\Users\rayha\.arduinoIDE\arduino-cli.yaml
INFO[0000] arduino-cli.exe version 0.28.0
INFO[0000] Executing `arduino-cli daemon`
{"IP":"127.0.0.1","Port":"63672"}
daemon INFO Daemon is running.
root INFO Deployed backend plugin "vscode-language-pack-cs@1.53.2" from "C:\Users\rayha\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-cs\extension": 127.3 ms [Finished 1.442 s after backend start]
root INFO Deployed backend plugin "vscode-language-pack-de@1.53.2" from "C:\Users\rayha\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-de\extension": 109.1 ms [Finished 1.551 s after backend start]
daemon INFO INFO[0000] Loading hardware from: c:\Users\rayha\AppData\Local\Arduino15\packages
INFO[0000] Loading package Microsoft from: C:\Users\rayha\AppData\Local\Arduino15\packages\Microsoft\hardware
INFO[0000] Checking signature error="opening signature file: open C:\\Users\\rayha\\AppData\\Local\\Arduino15\\packages\\Microsoft\\hardware\\win10\\1.1.2\\installed.json.sig: The system cannot find the file specified." index="C:\\Users\\rayha\\AppData\\Local\\Arduino15\\packages\\Microsoft\\hardware\\win10\\1.1.2\\installed.json"signatureFile="C:\\Users\\rayha\\AppData\\Local\\Arduino15\\packages\\Microsoft\\hardware\\win10\\1.1.2\\installed.json.sig"
INFO[0000] Adding monitor tool protocol=serial tool="builtin:serial-monitor"
INFO[0000] Loaded platform platform="Microsoft:win10@1.1.2"
INFO[0000] Loading package SPRESENSE from: C:\Users\rayha\AppData\Local\Arduino15\packages\SPRESENSE\hardware
INFO[0000] Checking signature error="opening signature file: open C:\\Users\\rayha\\AppData\\Local\\Arduino15\\packages\\SPRESENSE\\hardware\\spresense\\2.6.0\\installed.json.sig: The system cannot find the file specified." index="C:\\Users\\rayha\\AppData\\Local\\Arduino15\\packages\\SPRESENSE\\hardware\\spresense\\2.6.0\\installed.json" signatureFile="C:\\Users\\rayha\\AppData\\Local\\Arduino15\\packages\\SPRESENSE\\hardware\\spresense\\2.6.0\\installed.json.sig"
INFO[0000] Adding monitor tool protocol=serial tool="builtin:serial-monitor"
INFO[0000] Loaded platform platform="SPRESENSE:spresense@2.6.0"
INFO[0000] Checking existence of 'tools' path: C:\Users\rayha\AppData\Local\Arduino15\packages\SPRESENSE\tools
INFO[0000] Loading tools from dir: C:\Users\rayha\AppData\Local\Arduino15\packages\SPRESENSE\tools
INFO[0000] Loaded tool tool="SPRESENSE:gcc-arm-none-eabi@9.2.1"
INFO[0000] Loaded tool tool="SPRESENSE:spresense-sdk@2.6.0"
INFO[0000] Loaded tool tool="SPRESENSE:spresense-tools@2.6.0"
INFO[0000] Loading package arduino from: C:\Users\rayha\AppData\Local\Arduino15\packages\arduino\hardware
INFO[0000] Checking signature error="opening signature file: open C:\\Users\\rayha\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\installed.json.sig: The system cannot find the file specified." index="C:\\Users\\rayha\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\installed.json" signatureFile="C:\\Users\\rayha\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\installed.json.sig"
INFO[0000] Adding monitor tool protocol=serial tool="builtin:serial-monitor"
INFO[0000] Loaded platform platform="arduino:avr@1.8.6"
INFO[0000] Checking existence of 'tools' path: C:\Users\rayha\AppData\Local\Arduino15\packages\arduino\tools
INFO[0000] Loading tools from dir: C:\Users\rayha\AppData\Local\Arduino15\packages\arduino\tools
INFO[0000] Loaded tool tool="arduino:arduinoOTA@1.3.0"
INFO[0000] Loaded tool tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
INFO[0000] Loaded tool tool="arduino:avrdude@6.3.0-arduino17"
INFO[0000] Loading package builtin from: C:\Users\rayha\AppData\Local\Arduino15\packages\builtin
INFO[0000] Checking existence of 'tools' path: C:\Users\rayha\AppData\Local\Arduino15\packages\builtin\tools
INFO[0000] Loading tools from dir: C:\Users\rayha\AppData\Local\Arduino15\packages\builtin\tools
INFO[0000] Loaded tool tool="builtin:ctags@5.8-arduino11"
INFO[0000] Loaded tool tool="builtin:mdns-discovery@1.0.6"
INFO[0000] Loaded tool tool="builtin:serial-discovery@1.3.2"
INFO[0000] Loaded tool tool="builtin:serial-monitor@0.10.0"
INFO[0000] Checking signature index="c:\\Users\\rayha\\AppData\\Local\\Arduino15\\package_index.json" signatureFile="c:\\Users\\rayha\\AppData\\Local\\Arduino15\\package_index.json.sig" trusted=true
INFO[0000] Checking signature error="opening signature file: open c:\\Users\\rayha\\AppData\\Local\\Arduino15\\package_spresense_index.json.sig: The system cannot find the file specified." index="c:\\Users\\rayha\\AppData\\Local\\Arduino15\\package_spresense_index.json" signatureFile="c:\\Users\\rayha\\AppData\\Local\\Arduino15\\package_spresense_index.json.sig"
INFO[0000] Adding libraries dir dir="C:\\Users\\rayha\\AppData\\Local\\Arduino15\\packages\\SPRESENSE\\hardware\\spresense\\2.6.0\\libraries" location=platform
INFO[0000] Adding libraries dir dir="C:\\Users\\rayha\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\libraries" location=platform
INFO[0000] Loading libraries index file index="c:\\Users\\rayha\\AppData\\Local\\Arduino15\\library_index.json"
root INFO Deployed backend plugin "vscode-language-pack-es@1.53.2" from "C:\Users\rayha\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-es\extension": 75.0 ms [Finished 1.626 s after backend start]
daemon INFO INFO[0000] Adding libraries dir dir="C:\\Users\\rayha\\AppData\\Local\\Arduino15\\libraries" location=ide
INFO[0000] Adding libraries dir dir="c:\\Users\\rayha\\Documents\\Arduino\\libraries" location=user
root INFO Deployed backend plugin "vscode-language-pack-fr@1.53.2" from "C:\Users\rayha\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-fr\extension": 54.0 ms [Finished 1.680 s after backend start]
root INFO Deployed backend plugin "vscode-language-pack-hu@1.48.3" from "C:\Users\rayha\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-hu\extension": 41.2 ms [Finished 1.722 s after backend start]
root INFO Deployed backend plugin "vscode-language-pack-it@1.53.2" from "C:\Users\rayha\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-it\extension": 51.1 ms [Finished 1.773 s after backend start]
root INFO Deployed backend plugin "vscode-language-pack-ja@1.53.2" from "C:\Users\rayha\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-ja\extension": 54.2 ms [Finished 1.827 s after backend start]
root INFO Deployed backend plugin "vscode-language-pack-ko@1.53.2" from "C:\Users\rayha\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-ko\extension": 49.5 ms [Finished 1.876 s after backend start]
root INFO Deployed backend plugin "vscode-language-pack-nl@1.48.3" from "C:\Users\rayha\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-nl\extension": 20.3 ms [Finished 1.897 s after backend start]
root INFO Deployed backend plugin "vscode-language-pack-pl@1.53.2" from "C:\Users\rayha\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-pl\extension": 52.4 ms [Finished 1.949 s after backend start]
root INFO Deployed backend plugin "vscode-language-pack-pt-BR@1.53.2" from "C:\Users\rayha\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-pt-BR\extension": 55.3 ms [Finished 2.004 s after backend start]
root INFO Deployed backend plugin "vscode-language-pack-ru@1.53.2" from "C:\Users\rayha\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-ru\extension": 60.6 ms [Finished 2.065 s after backend start]
root INFO Deployed backend plugin "vscode-language-pack-tr@1.53.2" from "C:\Users\rayha\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-tr\extension": 62.0 ms [Finished 2.127 s after backend start]
root INFO Deployed backend plugin "vscode-language-pack-uk@1.48.3" from "C:\Users\rayha\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-uk\extension": 38.3 ms [Finished 2.165 s after backend start]
root INFO Deployed backend plugin "vscode-language-pack-zh-hans@1.53.2" from "C:\Users\rayha\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-zh-hans\extension": 57.7 ms [Finished 2.223 s after backend start]
root INFO Deploy plugins list: 57.5 ms [Finished 2.231 s after backend start]
root WARN Frontend s.configure took longer than the expected maximum 100 milliseconds: 165.1 ms [Finished 1.762 s afterfrontend start]
discovery-log INFO start request start watch
discovery-log INFO start requested start watch
discovery-log INFO start resolved watching
daemon INFO INFO[0006] starting discovery builtin:mdns-discovery process
INFO[0006] starting discovery builtin:serial-discovery process
daemon INFO INFO[0006] started discovery builtin:mdns-discovery process
INFO[0006] sending command HELLO 1 "arduino-cli 0.28.0" to discovery builtin:mdns-discovery
daemon INFO INFO[0006] started discovery builtin:serial-discovery process
INFO[0006] sending command HELLO 1 "arduino-cli 0.28.0" to discovery builtin:serial-discovery
daemon INFO INFO[0006] from discovery builtin:serial-discovery received message type: hello, message: OK, protocol version: 1
daemon INFO INFO[0006] sending command START_SYNC to discovery builtin:serial-discovery
INFO[0006] from discovery builtin:serial-discovery received message type: start_sync, message: OK
daemon INFO INFO[0006] from discovery builtin:mdns-discovery received message type: hello, message: OK, protocol version: 1
INFO[0006] sending command START_SYNC to discovery builtin:mdns-discovery
daemon INFO INFO[0006] from discovery builtin:mdns-discovery received message type: start_sync, message: OK
root WARN Frontend l.onStart took longer than the expected maximum 100 milliseconds: 4668.1 ms [Finished 6.675 s after frontend start]
root INFO Start frontend contributions: 5138.6 ms [Finished 6.684 s after frontend start]
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 <<< Nothing to restore.
root INFO Initialize the workbench layout: 45.6 ms [Finished 6.790 s after frontend start]
root INFO Changed application state from 'attached_shell' to 'initialized_layout'.
root INFO [1ffd0fea-f6ee-46f0-afd6-ed8f425f37f8] Waiting for backend deployment: 150.3 ms [Finished 6.827 s after frontend start]
root INFO [hosted-plugin: 5676] PLUGIN_HOST(5676) starting instance
root INFO Frontend application start: 6305.0 ms [Finished 9.272 s after backend start]
root INFO Replace loading indicator with ready workbench UI (animation): 830.1 ms [Finished 7.622 s after frontend start]
root INFO Changed application state from 'initialized_layout' to 'ready'.
Checking for update
root ERROR Request search failed with error: 13 INTERNAL: grpc: error while marshaling: string field contains invalid UTF-8
root ERROR Request installed failed with error: 13 INTERNAL: grpc: error while marshaling: string field contains invalid UTF-8
root ERROR Request list failed with error: 13 INTERNAL: grpc: error while marshaling: string field contains invalid UTF-8
daemon INFO ERROR: 2022/11/08 10:03:40 [core] grpc: server failed to encode response: rpc error: code = Internal desc = grpc: error while marshaling: string field contains invalid UTF-8
ERROR: 2022/11/08 10:03:40 [core] grpc: server failed to encode response: rpc error: code = Internal desc = grpc: error while marshaling: string field contains invalid UTF-8
ERROR: 2022/11/08 10:03:40 [core] grpc: server failed to encode response: rpc error: code = Internal desc = grpc: error while marshaling: string field contains invalid UTF-8
root INFO [1ffd0fea-f6ee-46f0-afd6-ed8f425f37f8] Sync of 21 plugins: 1631.2 ms [Finished 8.458 s after frontend start]
root INFO [1ffd0fea-f6ee-46f0-afd6-ed8f425f37f8][marus25.cortex-debug]: Loaded contributions.
root INFO [1ffd0fea-f6ee-46f0-afd6-ed8f425f37f8][arduino.vscode-arduino-tools]: Loaded contributions.
root INFO [1ffd0fea-f6ee-46f0-afd6-ed8f425f37f8][vscode.cpp]: Loaded contributions.
root INFO [1ffd0fea-f6ee-46f0-afd6-ed8f425f37f8][vscode.json]: Loaded contributions.
root INFO [1ffd0fea-f6ee-46f0-afd6-ed8f425f37f8][vscode.json-language-features]: Loaded contributions.
root INFO [1ffd0fea-f6ee-46f0-afd6-ed8f425f37f8][ms-ceintl.vscode-language-pack-bg]: Loaded contributions.
root INFO [1ffd0fea-f6ee-46f0-afd6-ed8f425f37f8][ms-ceintl.vscode-language-pack-cs]: Loaded contributions.
root INFO [1ffd0fea-f6ee-46f0-afd6-ed8f425f37f8][ms-ceintl.vscode-language-pack-de]: Loaded contributions.
root INFO [1ffd0fea-f6ee-46f0-afd6-ed8f425f37f8][ms-ceintl.vscode-language-pack-es]: Loaded contributions.
root INFO [1ffd0fea-f6ee-46f0-afd6-ed8f425f37f8][ms-ceintl.vscode-language-pack-fr]: Loaded contributions.
root INFO [1ffd0fea-f6ee-46f0-afd6-ed8f425f37f8][ms-ceintl.vscode-language-pack-hu]: Loaded contributions.
root INFO [1ffd0fea-f6ee-46f0-afd6-ed8f425f37f8][ms-ceintl.vscode-language-pack-it]: Loaded contributions.
root INFO [1ffd0fea-f6ee-46f0-afd6-ed8f425f37f8][ms-ceintl.vscode-language-pack-ja]: Loaded contributions.
root INFO [1ffd0fea-f6ee-46f0-afd6-ed8f425f37f8][ms-ceintl.vscode-language-pack-ko]: Loaded contributions.
root INFO [1ffd0fea-f6ee-46f0-afd6-ed8f425f37f8][ms-ceintl.vscode-language-pack-nl]: Loaded contributions.
root INFO [1ffd0fea-f6ee-46f0-afd6-ed8f425f37f8][ms-ceintl.vscode-language-pack-pl]: Loaded contributions.
root INFO [1ffd0fea-f6ee-46f0-afd6-ed8f425f37f8][ms-ceintl.vscode-language-pack-pt-br]: Loaded contributions.
root INFO [1ffd0fea-f6ee-46f0-afd6-ed8f425f37f8][ms-ceintl.vscode-language-pack-ru]: Loaded contributions.
root INFO [1ffd0fea-f6ee-46f0-afd6-ed8f425f37f8][ms-ceintl.vscode-language-pack-tr]: Loaded contributions.
root INFO [1ffd0fea-f6ee-46f0-afd6-ed8f425f37f8][ms-ceintl.vscode-language-pack-uk]: Loaded contributions.
root INFO [1ffd0fea-f6ee-46f0-afd6-ed8f425f37f8][ms-ceintl.vscode-language-pack-zh-hans]: Loaded contributions.
root INFO [1ffd0fea-f6ee-46f0-afd6-ed8f425f37f8] Load contributions of 21 plugins: 30.0 ms [Finished 8.488 s after frontend start]
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
Update for version 2.0.1 is not available (latest version: 2.0.1, downgrade is allowed).
root INFO [hosted-plugin: 5676] PLUGIN_HOST(5676): PluginManagerExtImpl/init()
root INFO [hosted-plugin: 5676] PLUGIN_HOST(5676): initializing(cortex-debug@0.3.10 with C:\Users\rayha\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO [hosted-plugin: 5676] Debugger contribution has been registered: cortex-debug
root INFO [hosted-plugin: 5676] PLUGIN_HOST(5676): initializing(vscode-arduino-tools@0.0.2-beta.5 with C:\Users\rayha\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO [hosted-plugin: 5676] PLUGIN_HOST(5676): initializing(cpp@1.52.1 with C:\Users\rayha\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO [hosted-plugin: 5676] PLUGIN_HOST(5676): initializing(json@1.46.1 with C:\Users\rayha\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO [hosted-plugin: 5676] PLUGIN_HOST(5676): initializing(json-language-features@1.46.1 with C:\Users\rayha\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO [hosted-plugin: 5676] PLUGIN_HOST(5676): initializing(vscode-language-pack-bg@1.48.3 with C:\Users\rayha\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO [hosted-plugin: 5676] PLUGIN_HOST(5676): initializing(vscode-language-pack-cs@1.53.2 with C:\Users\rayha\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO [hosted-plugin: 5676] PLUGIN_HOST(5676): initializing(vscode-language-pack-de@1.53.2 with C:\Users\rayha\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO [hosted-plugin: 5676] PLUGIN_HOST(5676): initializing(vscode-language-pack-es@1.53.2 with C:\Users\rayha\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO [hosted-plugin: 5676] PLUGIN_HOST(5676): initializing(vscode-language-pack-fr@1.53.2 with C:\Users\rayha\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO [hosted-plugin: 5676] PLUGIN_HOST(5676): initializing(vscode-language-pack-hu@1.48.3 with C:\Users\rayha\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO [hosted-plugin: 5676] PLUGIN_HOST(5676): initializing(vscode-language-pack-it@1.53.2 with C:\Users\rayha\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO [hosted-plugin: 5676] PLUGIN_HOST(5676): initializing(vscode-language-pack-ja@1.53.2 with C:\Users\rayha\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO [hosted-plugin: 5676] PLUGIN_HOST(5676): initializing(vscode-language-pack-ko@1.53.2 with C:\Users\rayha\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO [hosted-plugin: 5676] PLUGIN_HOST(5676): initializing(vscode-language-pack-nl@1.48.3 with C:\Users\rayha\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO [hosted-plugin: 5676] PLUGIN_HOST(5676): initializing(vscode-language-pack-pl@1.53.2 with C:\Users\rayha\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO [hosted-plugin: 5676] PLUGIN_HOST(5676): initializing(vscode-language-pack-pt-BR@1.53.2 with C:\Users\rayha\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO [hosted-plugin: 5676] PLUGIN_HOST(5676): initializing(vscode-language-pack-ru@1.53.2 with C:\Users\rayha\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO [hosted-plugin: 5676] PLUGIN_HOST(5676): initializing(vscode-language-pack-tr@1.53.2 with C:\Users\rayha\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO [hosted-plugin: 5676] PLUGIN_HOST(5676): initializing(vscode-language-pack-uk@1.48.3 with C:\Users\rayha\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO [hosted-plugin: 5676] PLUGIN_HOST(5676): initializing(vscode-language-pack-zh-hans@1.53.2 with C:\Users\rayha\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO [hosted-plugin: 5676] PLUGIN_HOST(5676): PluginManagerExtImpl/loadPlugin(C:\Users\rayha\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-builtin-json-language-features\extension\client\dist\jsonMain)
root INFO [1ffd0fea-f6ee-46f0-afd6-ed8f425f37f8][marus25.cortex-debug]: Started plugin.
root INFO [1ffd0fea-f6ee-46f0-afd6-ed8f425f37f8][arduino.vscode-arduino-tools]: Started plugin.
root INFO [1ffd0fea-f6ee-46f0-afd6-ed8f425f37f8][vscode.cpp]: Started plugin.
root INFO [1ffd0fea-f6ee-46f0-afd6-ed8f425f37f8][vscode.json]: Started plugin.
root INFO [1ffd0fea-f6ee-46f0-afd6-ed8f425f37f8][vscode.json-language-features]: Started plugin.
root INFO [1ffd0fea-f6ee-46f0-afd6-ed8f425f37f8][ms-ceintl.vscode-language-pack-bg]: Started plugin.
root INFO [1ffd0fea-f6ee-46f0-afd6-ed8f425f37f8][ms-ceintl.vscode-language-pack-cs]: Started plugin.
root INFO [1ffd0fea-f6ee-46f0-afd6-ed8f425f37f8][ms-ceintl.vscode-language-pack-de]: Started plugin.
root INFO [1ffd0fea-f6ee-46f0-afd6-ed8f425f37f8][ms-ceintl.vscode-language-pack-es]: Started plugin.
root INFO [1ffd0fea-f6ee-46f0-afd6-ed8f425f37f8][ms-ceintl.vscode-language-pack-fr]: Started plugin.
root INFO [1ffd0fea-f6ee-46f0-afd6-ed8f425f37f8][ms-ceintl.vscode-language-pack-hu]: Started plugin.
root INFO [1ffd0fea-f6ee-46f0-afd6-ed8f425f37f8][ms-ceintl.vscode-language-pack-it]: Started plugin.
root INFO [1ffd0fea-f6ee-46f0-afd6-ed8f425f37f8][ms-ceintl.vscode-language-pack-ja]: Started plugin.
root INFO [1ffd0fea-f6ee-46f0-afd6-ed8f425f37f8][ms-ceintl.vscode-language-pack-ko]: Started plugin.
root INFO [1ffd0fea-f6ee-46f0-afd6-ed8f425f37f8][ms-ceintl.vscode-language-pack-nl]: Started plugin.
root INFO [1ffd0fea-f6ee-46f0-afd6-ed8f425f37f8][ms-ceintl.vscode-language-pack-pl]: Started plugin.
root INFO [1ffd0fea-f6ee-46f0-afd6-ed8f425f37f8][ms-ceintl.vscode-language-pack-pt-br]: Started plugin.
root INFO [1ffd0fea-f6ee-46f0-afd6-ed8f425f37f8][ms-ceintl.vscode-language-pack-ru]: Started plugin.
root INFO [1ffd0fea-f6ee-46f0-afd6-ed8f425f37f8][ms-ceintl.vscode-language-pack-tr]: Started plugin.
root INFO [1ffd0fea-f6ee-46f0-afd6-ed8f425f37f8][ms-ceintl.vscode-language-pack-uk]: Started plugin.
root INFO [1ffd0fea-f6ee-46f0-afd6-ed8f425f37f8][ms-ceintl.vscode-language-pack-zh-hans]: Started plugin.
root INFO [1ffd0fea-f6ee-46f0-afd6-ed8f425f37f8] Start of 21 plugins: 631.8 ms [Finished 9.132 s after frontend start]
daemon INFO ERROR: 2022/11/08 10:03:45 [core] grpc: server failed to encode response: rpc error: code = Internal desc = grpc: error while marshaling: string field contains invalid UTF-8
root ERROR Request search failed with error: 13 INTERNAL: grpc: error while marshaling: string field contains invalid UTF-8
isTempSketch: true. Input was c:\Users\rayha\AppData\Local\Temp\.arduinoIDE-unsaved2022108-13412-sc9mwz.u0qq\sketch_nov8a
Ignored marking workspace as a closed sketch. The sketch was detected as temporary. Workspace URI: file:///c%3A/Users/rayha/AppData/Local/Temp/.arduinoIDE-unsaved2022108-13412-sc9mwz.u0qq/sketch_nov8a.
isTempSketch: true. Input was c:\Users\rayha\AppData\Local\Temp\.arduinoIDE-unsaved2022108-13412-sc9mwz.u0qq\sketch_nov8a
Ignored marking workspace as a closed sketch. The sketch was detected as temporary. Workspace URI: file:///c%3A/Users/rayha/AppData/Local/Temp/.arduinoIDE-unsaved2022108-13412-sc9mwz.u0qq/sketch_nov8a.
Stored workspaces roots:
There is currently a bug in Arduino IDE 2.x that causes the symptoms you observed when a library is installed that contains extended characters in its metadata file:
The bug was actually fixed just earlier today, but it will take a little while before there is a release of Arduino IDE 2.x with that fix.
Unfortunately, the error message does not mention the specific problematic library.
You already know it is in the half you removed. You can continue this "bisection" technique to identify the specific library or libraries that causes the problem.
Since you say the problem appeared only recently, you might remember the last library you installed before the problem appeared.
But if you can operate with the good half of the libraries in place, then your best bet might be to simply bide your time until the next release of Arduino IDE 2.x. Once you update to the new version, you will be able to add all your libraries back in because the problem will no longer occur.
Actually, I vaguely remembered which ones were last so checked the properties files. The file in C:\Users\rayha\Documents\Arduino\libraries\ClosedCube_TMP116 was not UTF-8 but stored as ANSI. Once I changed it to UTF-8, the UX loaded correctly.