Stuck in 'Connecting to 'Arduino Uno' on ' Com#''

Has anyone experienced the problem of being stuck on 'Connecting to 'Arduino Uno' on 'Com#'''? This IDE was fine in the past, then when I use it again, it just shows up in the Serial Monitor. Can you help me fix this problem? We will use this Arduino for our school project.

The forum has a section dedicated to IDE 2.x; I've moved your topic there.


  1. What does Windows device manager think of your board?
  2. Is COM11 indeed the Uno? Does it disappear from the IDE when you disconnect the board?
  3. Is you board an original (with 16U2 serial-to-usb-converter) or a clone with e.g. CH340.
  4. Is anything else using the same port (maybe a terminal program)?
  5. Can you upload?

Screenshot 2024-09-18 1638091
2. I tried plugging it in and unplugging it again to see what port the Arduino is plugged into and that's the port I select in the IDE
3. I tried to use the original board and the clone board but the same problem still appears
4. I also tried with only the Arduino IDE open but the same problem still appears

Also, when the original Arduino board is connected to the laptop, RX, TX, L lights are always on.

I also think that the unstable nature of Windows 11 might be causing the problem.

You did not answer point #5.

That more than likely means that the serial-to-usb converter on the board is damaged.

Hi @kismad

I'm going to ask you to provide some additional information that might help us to identify the problem.


:exclamation: This procedure is not intended to solve the problem. The purpose is to gather more information.


Please do this:

  1. Select File > Quit from the Arduino IDE menus if it is running.
    All Arduino IDE windows will close.
  2. Start Windows "File Explorer".
  3. Open the Arduino IDE installation folder.
    The default installation location is at one of the following paths:
    • C:\Program Files\Arduino IDE
      
    • C:\Users\<username>\AppData\Local\Programs\Arduino IDE
      
      (where <username> is your Windows username)
      :exclamation: If looking for it with your file manager or command line, note that the 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".
  4. In the folder listing of the Arduino IDE installation folder, hold the Shift key while clicking the right hand button on the mouse.
    A context menu will open.
  5. Select "Open PowerShell window here" from the menu.
    Windows PowerShell will now open with the current directory set to the Arduino IDE installation folder.
  6. Type the following command:
    & ".\Arduino IDE"
    
  7. Press the Enter key.
    Debug output should now be printed to the PowerShell window as Arduino IDE starts.
  8. Wait for Arduino IDE to finish starting.
  9. If it isn't already, open Serial Monitor and wait for it to go into this persistent "Connecting to 'Arduino Uno' on 'COM11'" state.
  10. Switch back to the PowerShell window.
  11. Press the Ctrl+Shift+A keyboard shortcut.
    This will select all the text in the PowerShell window.
  12. Press the Ctrl+C keyboard shortcut.
    This will copy the contents of the PowerShell window to the clipboard.
  13. Open a forum reply here by clicking the "Reply" button.
  14. Click the <CODE/> 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.
    Code block icon on toolbar
  15. Press the Ctrl+V keyboard shortcut.
    This will paste the output into the code block.
  16. Move the cursor outside of the code block markup before you add any additional text to your reply.
  17. 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\Lenovo\AppData\Local\Programs\Arduino IDE> & ".\Arduino IDE"
PS C:\Users\Lenovo\AppData\Local\Programs\Arduino IDE>
Arduino IDE 2.1.1
Starting backend process. PID: 14028
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///c%3A/Users/Lenovo/.theia'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2024-09-18T11:40:12.599Z root INFO Backend Object.initialize: 3.4 ms [Finished 1.364 s after backend start]
2024-09-18T11:40:12.600Z root INFO Backend Object.configure: 2.7 ms [Finished 1.364 s after backend start]
2024-09-18T11:40:12.600Z root INFO Backend MessagingContribution.onStart: 1.2 ms [Finished 1.364 s after backend start]
2024-09-18T11:40:12.600Z root INFO Backend OSBackendApplicationContribution.configure: 0.3 ms [Finished 1.404 s after backend start]
2024-09-18T11:40:12.601Z root INFO Backend DefaultWorkspaceServer.onStart: 0.3 ms [Finished 1.404 s after backend start]
2024-09-18T11:40:12.602Z root INFO Backend PluginLocalizationBackendContribution.configure: 0.1 ms [Finished 1.404 s after backend start]
2024-09-18T11:40:12.602Z root INFO Backend PluginLocalizationBackendContribution.initialize: 39.8 ms [Finished 1.404 s after backend start]
2024-09-18T11:40:12.602Z root INFO Backend TaskBackendApplicationContribution.onStart: 0.2 ms [Finished 1.404 s after backend start]
2024-09-18T11:40:12.603Z root INFO Backend ElectronTokenBackendContribution.configure: 0.8 ms [Finished 1.405 s after backend start]
2024-09-18T11:40:12.603Z config INFO >>> Initializing CLI configuration...
2024-09-18T11:40:12.603Z root INFO Backend PluginDeployerContribution.initialize: 0.4 ms [Finished 1.405 s after backend start]
2024-09-18T11:40:12.604Z root INFO Backend ConfigServiceImpl.onStart: 0.7 ms [Finished 1.406 s after backend start]
2024-09-18T11:40:12.604Z config INFO Loading CLI configuration from c:\Users\Lenovo\.arduinoIDE\arduino-cli.yaml...
2024-09-18T11:40:12.605Z root INFO Backend WebviewBackendSecurityWarnings.initialize: 0.3 ms [Finished 1.406 s after backend start]
2024-09-18T11:40:12.605Z root INFO Backend ArduinoDaemonImpl.onStart: 0.8 ms [Finished 1.407 s after backend start]
2024-09-18T11:40:12.605Z root INFO Backend NodeFileUploadService.configure: 1.5 ms [Finished 1.407 s after backend start]
2024-09-18T11:40:12.605Z daemon INFO Starting daemon from C:\Users\Lenovo\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\arduino-ide-extension\build\arduino-cli.exe...
2024-09-18T11:40:12.606Z discovery-log INFO start
2024-09-18T11:40:12.606Z discovery-log INFO start new deferred
2024-09-18T11:40:12.606Z root INFO Backend HostedPluginLocalizationService.initialize: 0.3 ms [Finished 1.408 s after backend start]
2024-09-18T11:40:12.606Z root INFO Backend BoardDiscovery.onStart: 0.8 ms [Finished 1.408 s after backend start]
2024-09-18T11:40:12.606Z root INFO Backend FileDownloadEndpoint.configure: 0.7 ms [Finished 1.409 s after backend start]
2024-09-18T11:40:12.606Z root INFO Backend AuthenticationServiceImpl.onStart: 0.4 ms [Finished 1.410 s after backend start]
2024-09-18T11:40:12.606Z root INFO Backend PluginApiContribution.configure: 0.5 ms [Finished 1.410 s after backend start]
2024-09-18T11:40:12.607Z root INFO Backend HostedPluginReader.configure: 0.5 ms [Finished 1.411 s after backend start]
2024-09-18T11:40:12.607Z root INFO Backend HostedPluginReader.configure: 0.1 ms [Finished 1.411 s after backend start]
2024-09-18T11:40:12.608Z root INFO Backend PlotterBackendContribution.configure: 0.8 ms [Finished 1.412 s after backend start]
2024-09-18T11:40:12.610Z root INFO Theia app listening on http://localhost:52300.
2024-09-18T11:40:12.610Z root INFO Finished starting backend application: 4.2 ms [Finished 1.415 s after backend start]
2024-09-18T11:40:12.611Z root WARN The local plugin referenced by local-dir:/c%3A/Users/Lenovo/.arduinoIDE/plugins does not exist.
2024-09-18T11:40:12.612Z root WARN The local plugin referenced by local-dir:/c%3A/Users/Lenovo/.arduinoIDE/extensions does not exist.
2024-09-18T11:40:12.612Z root WARN The local plugin referenced by local-dir:C:\Users\Lenovo\.arduinoIDE\plugins does not exist.
Restoring workspace roots: c:\Users\Lenovo\Documents\Arduino\semiFinalCognate
isTempSketch: false. Input was c:\Users\Lenovo\Documents\Arduino\semiFinalCognate\semiFinalCognate.ino
2024-09-18T11:40:12.626Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2024-09-18T11:40:12.626Z root INFO Resolved "cortex-debug" to a VS Code extension "cortex-debug@1.5.1" with engines:
2024-09-18T11:40:12.627Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2024-09-18T11:40:12.627Z root INFO Resolved "vscode-arduino-tools" to a VS Code extension "vscode-arduino-tools@0.0.2-beta.8" with engines:
2024-09-18T11:40:12.627Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2024-09-18T11:40:12.627Z root INFO Resolved "vscode-builtin-cpp" to a VS Code extension "cpp@1.52.1" with engines:
2024-09-18T11:40:12.627Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2024-09-18T11:40:12.627Z root INFO Resolved "vscode-builtin-json" to a VS Code extension "json@1.46.1" with engines:
2024-09-18T11:40:12.627Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2024-09-18T11:40:12.627Z root INFO Resolved "vscode-builtin-json-language-features" to a VS Code extension "json-language-features@1.46.1" with engines:
2024-09-18T11:40:12.628Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2024-09-18T11:40:12.628Z root INFO Resolved "vscode-language-pack-bg" to a VS Code extension "vscode-language-pack-bg@1.48.3" with engines:
2024-09-18T11:40:12.628Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2024-09-18T11:40:12.628Z root INFO Resolved "vscode-language-pack-cs" to a VS Code extension "vscode-language-pack-cs@1.53.2" with engines:
2024-09-18T11:40:12.628Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2024-09-18T11:40:12.628Z root INFO Resolved "vscode-language-pack-de" to a VS Code extension "vscode-language-pack-de@1.53.2" with engines:
2024-09-18T11:40:12.628Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2024-09-18T11:40:12.628Z root INFO Resolved "vscode-language-pack-es" to a VS Code extension "vscode-language-pack-es@1.53.2" with engines:
2024-09-18T11:40:12.628Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2024-09-18T11:40:12.628Z root INFO Resolved "vscode-language-pack-fr" to a VS Code extension "vscode-language-pack-fr@1.53.2" with engines:
2024-09-18T11:40:12.628Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2024-09-18T11:40:12.629Z root INFO Resolved "vscode-language-pack-hu" to a VS Code extension "vscode-language-pack-hu@1.48.3" with engines:
2024-09-18T11:40:12.629Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2024-09-18T11:40:12.629Z root INFO Resolved "vscode-language-pack-it" to a VS Code extension "vscode-language-pack-it@1.53.2" with engines:
2024-09-18T11:40:12.629Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2024-09-18T11:40:12.629Z root INFO Resolved "vscode-language-pack-ja" to a VS Code extension "vscode-language-pack-ja@1.53.2" with engines:
2024-09-18T11:40:12.629Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2024-09-18T11:40:12.629Z root INFO Resolved "vscode-language-pack-ko" to a VS Code extension "vscode-language-pack-ko@1.53.2" with engines:
2024-09-18T11:40:12.629Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2024-09-18T11:40:12.629Z root INFO Resolved "vscode-language-pack-nl" to a VS Code extension "vscode-language-pack-nl@1.48.3" with engines:
2024-09-18T11:40:12.629Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2024-09-18T11:40:12.629Z root INFO Resolved "vscode-language-pack-pl" to a VS Code extension "vscode-language-pack-pl@1.53.2" with engines:
2024-09-18T11:40:12.629Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2024-09-18T11:40:12.630Z root INFO Resolved "vscode-language-pack-pt-BR" to a VS Code extension "vscode-language-pack-pt-BR@1.53.2" with engines:
2024-09-18T11:40:12.630Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2024-09-18T11:40:12.630Z root INFO Resolved "vscode-language-pack-ru" to a VS Code extension "vscode-language-pack-ru@1.53.2" with engines:
2024-09-18T11:40:12.630Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2024-09-18T11:40:12.630Z root INFO Resolved "vscode-language-pack-tr" to a VS Code extension "vscode-language-pack-tr@1.53.2" with engines:
2024-09-18T11:40:12.630Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2024-09-18T11:40:12.630Z root INFO Resolved "vscode-language-pack-uk" to a VS Code extension "vscode-language-pack-uk@1.48.3" with engines:
2024-09-18T11:40:12.630Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2024-09-18T11:40:12.630Z root INFO Resolved "vscode-language-pack-zh-hans" to a VS Code extension "vscode-language-pack-zh-hans@1.53.2" with engines:
2024-09-18T11:40:12.650Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[]},"build_cache":{"compilations_before_purge":10,"ttl":"720h0m0s"},"daemon":{"port":"50051"},"directories":{"data":"C:\\Users\\Lenovo\\AppData\\Local\\Arduino15","downloads":"C:\\Users\\Lenovo\\AppData\\Local\\Arduino15\\staging","user":"C:\\Users\\Lenovo\\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-09-18T11:40:12.651Z config INFO 'directories.data' and 'directories.user' are set in the CLI configuration model.
2024-09-18T11:40:12.651Z config INFO Loaded the CLI configuration.
2024-09-18T11:40:12.653Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///c%3A/Users/Lenovo/AppData/Local/Arduino15","sketchDirUri":"file:///c%3A/Users/Lenovo/Documents/Arduino","additionalUrls":[],"network":"none","locale":"en"}
2024-09-18T11:40:12.654Z config INFO Validating the CLI configuration...
2024-09-18T11:40:12.655Z config INFO The CLI config is valid.
2024-09-18T11:40:12.655Z config INFO <<< Initialized the CLI configuration.
2024-09-18T11:40:12.666Z root INFO Resolve plugins list: 61.6 ms [Finished 1.470 s after backend start]
2024-09-18T11:40:12.672Z root INFO Deployed backend plugin "marus25.cortex-debug@1.5.1" from "C:\Users\Lenovo\AppData\Local\Programs\Arduino IDE\resources\app\plugins\cortex-debug\extension\dist\extension.js": 5.7 ms [Finished 1.477 s after backend start]
2024-09-18T11:40:12.680Z root INFO Deployed backend plugin "arduino.vscode-arduino-tools@0.0.2-beta.8" from "C:\Users\Lenovo\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-arduino-tools\extension\dist\bundle": 7.5 ms [Finished 1.485 s after backend start]
2024-09-18T11:40:12.696Z root INFO Deployed backend plugin "vscode.cpp@1.52.1" from "C:\Users\Lenovo\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-builtin-cpp\extension": 15.3 ms [Finished 1.500 s after backend start]
2024-09-18T11:40:12.699Z root INFO Deployed backend plugin "vscode.json@1.46.1" from "C:\Users\Lenovo\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-builtin-json\extension": 3.7 ms [Finished 1.504 s after backend start]
2024-09-18T11:40:12.701Z root INFO Deployed backend plugin "vscode.json-language-features@1.46.1" from "C:\Users\Lenovo\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-builtin-json-language-features\extension\client\dist\jsonMain": 1.5 ms [Finished 1.506 s after backend start]
2024-09-18T11:40:12.789Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-bg@1.48.3" from "C:\Users\Lenovo\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-bg\extension": 88.2 ms [Finished 1.594 s after backend start]
2024-09-18T11:40:12.809Z daemon INFO INFO[0000] Using config file: c:\Users\Lenovo\.arduinoIDE\arduino-cli.yaml
INFO[0000] arduino-cli.exe version 0.32.3
INFO[0000] Executing `arduino-cli daemon`
Daemon is now listening on 127.0.0.1:52301
{"IP":"127.0.0.1","Port":"52301"}


2024-09-18T11:40:12.810Z daemon INFO Daemon is running.
2024-09-18T11:40:12.931Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-cs@1.53.2" from "C:\Users\Lenovo\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-cs\extension": 141.7 ms [Finished 1.736 s after backend start]
2024-09-18T11:40:12.938Z daemon INFO INFO[0000] Loading hardware from: C:\Users\Lenovo\AppData\Local\Arduino15\packages

2024-09-18T11:40:12.939Z daemon INFO INFO[0000] Loading package arduino from: C:\Users\Lenovo\AppData\Local\Arduino15\packages\arduino\hardware

2024-09-18T11:40:13.107Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-de@1.53.2" from "C:\Users\Lenovo\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-de\extension": 175.5 ms [Finished 1.911 s after backend start]
2024-09-18T11:40:13.108Z daemon INFO INFO[0000] Checking signature                            error="opening signature file: open C:\\Users\\Lenovo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\installed.json.sig: The system cannot find the file specified." index="C:\\Users\\Lenovo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\installed.json" signatureFile="C:\\Users\\Lenovo\\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\Lenovo\AppData\Local\Arduino15\packages\arduino\tools
INFO[0000] Loading tools from dir: C:\Users\Lenovo\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\Lenovo\AppData\Local\Arduino15\packages\builtin
INFO[0000] Checking existence of 'tools' path: C:\Users\Lenovo\AppData\Local\Arduino15\packages\builtin\tools
INFO[0000] Loading tools from dir: C:\Users\Lenovo\AppData\Local\Arduino15\packages\builtin\tools
INFO[0000] Loaded tool                                   tool="builtin:ctags@5.8-arduino11"
INFO[0000] Loaded tool                                   tool="builtin:dfu-discovery@0.1.2"
INFO[0000] Loaded tool                                   tool="builtin:mdns-discovery@1.0.9"
INFO[0000] Loaded tool                                   tool="builtin:serial-discovery@1.4.0"
INFO[0000] Loaded tool                                   tool="builtin:serial-monitor@0.13.0"
INFO[0000] Checking signature                            index="C:\\Users\\Lenovo\\AppData\\Local\\Arduino15\\package_index.json" signatureFile="C:\\Users\\Lenovo\\AppData\\Local\\Arduino15\\package_index.json.sig" trusted=true
INFO[0000] Adding libraries dir                          dir="C:\\Users\\Lenovo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\libraries" location=platform
INFO[0000] Loading libraries index file                  index="C:\\Users\\Lenovo\\AppData\\Local\\Arduino15\\library_index.json"

2024-09-18T11:40:13.186Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-es@1.53.2" from "C:\Users\Lenovo\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-es\extension": 79.4 ms [Finished 1.991 s after backend start]
2024-09-18T11:40:13.253Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-fr@1.53.2" from "C:\Users\Lenovo\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-fr\extension": 66.7 ms [Finished 2.058 s after backend start]
2024-09-18T11:40:13.253Z daemon INFO INFO[0000] Adding libraries dir                          dir="C:\\Users\\Lenovo\\AppData\\Local\\Arduino15\\libraries" location=ide
INFO[0000] Adding libraries dir                          dir="C:\\Users\\Lenovo\\Documents\\Arduino\\libraries" location=user

2024-09-18T11:40:13.301Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-hu@1.48.3" from "C:\Users\Lenovo\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-hu\extension": 48.0 ms [Finished 2.106 s after backend start]
2024-09-18T11:40:13.304Z discovery-log INFO start request start watch
2024-09-18T11:40:13.304Z discovery-log INFO start requested start watch
2024-09-18T11:40:13.304Z discovery-log INFO start resolved watching
2024-09-18T11:40:13.379Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-it@1.53.2" from "C:\Users\Lenovo\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-it\extension": 78.2 ms [Finished 2.184 s after backend start]
2024-09-18T11:40:13.380Z daemon INFO INFO[0000] starting discovery builtin:mdns-discovery process
INFO[0000] starting discovery builtin:serial-discovery process
INFO[0000] started discovery builtin:serial-discovery process
INFO[0000] started discovery builtin:mdns-discovery process
INFO[0000] sending command HELLO 1 "arduino-cli 0.32.3" to discovery builtin:serial-discovery
INFO[0000] sending command HELLO 1 "arduino-cli 0.32.3" to discovery builtin:mdns-discovery
INFO[0000] from discovery builtin:mdns-discovery received message type: hello, message: OK, protocol version: 1
INFO[0000] sending command START_SYNC to discovery builtin:mdns-discovery
INFO[0000] from discovery builtin:serial-discovery received message type: hello, message: OK, protocol version: 1
INFO[0000] sending command START_SYNC to discovery builtin:serial-discovery
INFO[0000] from discovery builtin:mdns-discovery received message type: start_sync, message: OK
INFO[0000] from discovery builtin:serial-discovery received message type: start_sync, message: OK
INFO[0000] from discovery builtin:serial-discovery received message type: add, port: COM5
INFO[0000] from discovery builtin:serial-discovery received message type: add, port: COM9
INFO[0000] from discovery builtin:serial-discovery received message type: add, port: COM10
INFO[0000] from discovery builtin:serial-discovery received message type: add, port: COM4
INFO[0000] from discovery builtin:serial-discovery received message type: add, port: COM13

2024-09-18T11:40:13.383Z discovery-log INFO {"eventType":"add","port":{"matchingBoardsList":[],"port":{"address":"COM5","label":"COM5","protocol":"serial","protocolLabel":"Serial Port","propertiesMap":[],"hardwareId":""}},"error":""}
2024-09-18T11:40:13.384Z discovery-log INFO {"eventType":"add","port":{"matchingBoardsList":[],"port":{"address":"COM9","label":"COM9","protocol":"serial","protocolLabel":"Serial Port","propertiesMap":[],"hardwareId":""}},"error":""}
2024-09-18T11:40:13.385Z discovery-log INFO {"eventType":"add","port":{"matchingBoardsList":[],"port":{"address":"COM10","label":"COM10","protocol":"serial","protocolLabel":"Serial Port","propertiesMap":[],"hardwareId":""}},"error":""}
2024-09-18T11:40:13.385Z discovery-log INFO {"eventType":"add","port":{"matchingBoardsList":[],"port":{"address":"COM4","label":"COM4","protocol":"serial","protocolLabel":"Serial Port","propertiesMap":[],"hardwareId":""}},"error":""}
2024-09-18T11:40:13.387Z discovery-log INFO {"eventType":"add","port":{"matchingBoardsList":[{"name":"Arduino Uno","fqbn":"arduino:avr:uno","isHidden":false}],"port":{"address":"COM13","label":"COM13","protocol":"serial","protocolLabel":"Serial Port (USB)","propertiesMap":[["pid","0x0043"],["serialNumber","55936343034351215091"],["vid","0x2341"]],"hardwareId":"55936343034351215091"}},"error":""}
2024-09-18T11:40:13.451Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-ja@1.53.2" from "C:\Users\Lenovo\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-ja\extension": 72.0 ms [Finished 2.256 s after backend start]
2024-09-18T11:40:13.505Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-ko@1.53.2" from "C:\Users\Lenovo\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-ko\extension": 53.9 ms [Finished 2.310 s after backend start]
2024-09-18T11:40:13.527Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-nl@1.48.3" from "C:\Users\Lenovo\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-nl\extension": 21.5 ms [Finished 2.332 s after backend start]
2024-09-18T11:40:13.591Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-pl@1.53.2" from "C:\Users\Lenovo\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-pl\extension": 63.9 ms [Finished 2.396 s after backend start]
2024-09-18T11:40:13.648Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-pt-br@1.53.2" from "C:\Users\Lenovo\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-pt-BR\extension": 57.4 ms [Finished 2.453 s after backend start]
2024-09-18T11:40:13.711Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-ru@1.53.2" from "C:\Users\Lenovo\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-ru\extension": 62.4 ms [Finished 2.515 s after backend start]
2024-09-18T11:40:13.766Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-tr@1.53.2" from "C:\Users\Lenovo\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-tr\extension": 55.8 ms [Finished 2.571 s after backend start]
2024-09-18T11:40:13.804Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-uk@1.48.3" from "C:\Users\Lenovo\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-uk\extension": 37.5 ms [Finished 2.609 s after backend start]
2024-09-18T11:40:13.860Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-zh-hans@1.53.2" from "C:\Users\Lenovo\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-zh-hans\extension": 55.6 ms [Finished 2.664 s after backend start]
2024-09-18T11:40:13.860Z root INFO Deploy plugins list: 61.6 ms [Finished 2.665 s after backend start]
Opening channel for service path '/services/electron-window-ext'.
Opening channel for service path '/services/electron-window'.
Opening channel for service path '/services/ide-updater'.
2024-09-18T11:40:14.335Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 172.2 ms [Finished 1.648 s after frontend start]
2024-09-18T11:40:14.419Z sketches-service WARN Warning! The request sketch path was different than the response sketch path from the CLI. This could be a potential bug. Request: <c:\Users\Lenovo\Documents\Arduino\semiFinalCognate\semiFinalCognate.ino>, response: <c:\Users\Lenovo\Documents\Arduino\semiFinalCognate>.
2024-09-18T11:40:14.453Z root ERROR Uncaught Exception:
2024-09-18T11:40:14.453Z root ERROR Error: EPERM: operation not permitted, open 'c:\Users\Lenovo\.arduinoIDE\recentworkspace.json'
2024-09-18T11:40:14.625Z root INFO Start frontend contributions: 398.3 ms [Finished 1.808 s after frontend start]
2024-09-18T11:40:14.625Z root INFO Changed application state from 'init' to 'started_contributions'.
2024-09-18T11:40:14.625Z root INFO Changed application state from 'started_contributions' to 'attached_shell'.
2024-09-18T11:40:14.625Z root INFO >>> Restoring the layout state...
2024-09-18T11:40:14.625Z root INFO ------- SERIALIZED LAYOUT DATA -------
2024-09-18T11:40:14.625Z root INFO {"version":5,"mainPanel":{"main":{"type":"tab-area","widgets":[{"constructionOptions":{"factoryId":"code-editor-opener","options":{"counter":0,"kind":"navigatable","uri":"file:///c%3A/Users/Lenovo/Documents/Arduino/semiFinalCognate/semiFinalCognate.ino"}},"innerWidgetState":"{\"cursorState\":[{\"inSelectionMode\":false,\"selectionStart\":{\"lineNumber\":10,\"column\":18},\"position\":{\"lineNumber\":10,\"column\":18}}],\"viewState\":{\"scrollLeft\":0,\"firstPosition\":{\"lineNumber\":1,\"column\":1},\"firstPositionDeltaTop\":0},\"contributionsState\":{\"editor.contrib.folding\":{\"lineCount\":129,\"provider\":\"indent\",\"foldedImports\":false},\"editor.contrib.wordHighlighter\":false}}"}],"currentIndex":0}},"mainPanelPinned":[false],"bottomPanel":{"config":{"main":{"type":"tab-area","widgets":[{"constructionOptions":{"factoryId":"outputView"},"innerWidgetState":"{\"locked\":false}"},{"constructionOptions":{"factoryId":"serial-monitor"}}],"currentIndex":1}},"pinned":[false,false],"size":272,"expanded":true},"leftPanel":{"type":"sidepanel","items":[{"widget":{"constructionOptions":{"factoryId":"arduino-sketchbook-widget"}},"rank":1,"expanded":false,"pinned":false},{"widget":{"constructionOptions":{"factoryId":"boards-list-widget"}},"rank":2,"expanded":false,"pinned":false},{"widget":{"constructionOptions":{"factoryId":"library-list-widget"}},"rank":3,"expanded":false,"pinned":false},{"widget":{"constructionOptions":{"factoryId":"debug"},"innerWidgetState":"{\"parts\":[{\"partId\":\"debug:threads:-1\",\"collapsed\":false,\"hidden\":false,\"originalContainerId\":\"debug:view-container:-1\",\"originalContainerTitle\":{\"label\":\"debug\",\"iconClass\":\"codicon codicon-debug-alt\",\"closeable\":true},\"widget\":{\"constructionOptions\":{\"factoryId\":\"debug:threads\"},\"innerWidgetState\":\"{}\"}},{\"partId\":\"debug:frames:-1\",\"collapsed\":false,\"hidden\":false,\"originalContainerId\":\"debug:view-container:-1\",\"originalContainerTitle\":{\"label\":\"debug\",\"iconClass\":\"codicon codicon-debug-alt\",\"closeable\":true},\"widget\":{\"constructionOptions\":{\"factoryId\":\"debug:frames\"},\"innerWidgetState\":\"{}\"}},{\"partId\":\"debug:variables:-1\",\"collapsed\":false,\"hidden\":false,\"originalContainerId\":\"debug:view-container:-1\",\"originalContainerTitle\":{\"label\":\"debug\",\"iconClass\":\"codicon codicon-debug-alt\",\"closeable\":true},\"widget\":{\"constructionOptions\":{\"factoryId\":\"debug:variables\"},\"innerWidgetState\":\"{}\"}},{\"partId\":\"debug:watch:-1\",\"collapsed\":false,\"hidden\":false,\"originalContainerId\":\"debug:view-container:-1\",\"originalContainerTitle\":{\"label\":\"debug\",\"iconClass\":\"codicon codicon-debug-alt\",\"closeable\":true},\"widget\":{\"constructionOptions\":{\"factoryId\":\"debug:watch\"},\"innerWidgetState\":\"{}\"}},{\"partId\":\"debug:breakpoints:-1\",\"collapsed\":false,\"hidden\":false,\"originalContainerId\":\"debug:view-container:-1\",\"originalContainerTitle\":{\"label\":\"debug\",\"iconClass\":\"codicon codicon-debug-alt\",\"closeable\":true},\"widget\":{\"constructionOptions\":{\"factoryId\":\"debug:breakpoints\"},\"innerWidgetState\":\"{}\"}},{\"partId\":\"plugin-view:cortex-debug.peripherals\",\"collapsed\":true,\"hidden\":true,\"originalContainerId\":\"debug:view-container:-1\",\"originalContainerTitle\":{\"label\":\"debug\",\"iconClass\":\"codicon codicon-debug-alt\",\"closeable\":true},\"widget\":{\"constructionOptions\":{\"factoryId\":\"plugin-view\",\"options\":{\"id\":\"plugin-view:cortex-debug.peripherals\",\"viewId\":\"cortex-debug.peripherals\"}},\"innerWidgetState\":\"{\\\"label\\\":\\\"Cortex Peripherals\\\",\\\"widgets\\\":[],\\\"suppressUpdateViewVisibility\\\":false,\\\"currentViewContainerId\\\":\\\"debug\\\"}\"}},{\"partId\":\"plugin-view:cortex-debug.registers\",\"collapsed\":true,\"hidden\":true,\"originalContainerId\":\"debug:view-container:-1\",\"originalContainerTitle\":{\"label\":\"debug\",\"iconClass\":\"codicon codicon-debug-alt\",\"closeable\":true},\"widget\":{\"constructionOptions\":{\"factoryId\":\"plugin-view\",\"options\":{\"id\":\"plugin-view:cortex-debug.registers\",\"viewId\":\"cortex-debug.registers\"}},\"innerWidgetState\":\"{\\\"label\\\":\\\"Cortex Registers\\\",\\\"widgets\\\":[],\\\"suppressUpdateViewVisibility\\\":false,\\\"currentViewContainerId\\\":\\\"debug\\\"}\"}}],\"title\":{\"label\":\"debug\",\"iconClass\":\"codicon codicon-debug-alt\",\"closeable\":true}}"},"rank":4,"expanded":false,"pinned":false},{"widget":{"constructionOptions":{"factoryId":"search-view-container"},"innerWidgetState":"{\"parts\":[{\"partId\":\"search-in-workspace\",\"collapsed\":false,\"hidden\":false,\"originalContainerId\":\"search-view-container\",\"originalContainerTitle\":{\"label\":\"Search\",\"iconClass\":\"codicon codicon-search\",\"closeable\":true},\"widget\":{\"constructionOptions\":{\"factoryId\":\"search-in-workspace\"},\"innerWidgetState\":\"{\\\"matchCaseState\\\":{\\\"className\\\":\\\"codicon codicon-case-sensitive\\\",\\\"enabled\\\":false,\\\"title\\\":\\\"Match Case\\\"},\\\"wholeWordState\\\":{\\\"className\\\":\\\"codicon codicon-whole-word\\\",\\\"enabled\\\":false,\\\"title\\\":\\\"Match Whole Word\\\"},\\\"regExpState\\\":{\\\"className\\\":\\\"codicon codicon-regex\\\",\\\"enabled\\\":false,\\\"title\\\":\\\"Use Regular Expression\\\"},\\\"includeIgnoredState\\\":{\\\"className\\\":\\\"codicon codicon-eye\\\",\\\"enabled\\\":false,\\\"title\\\":\\\"Include Ignored Files\\\"},\\\"showSearchDetails\\\":false,\\\"searchInWorkspaceOptions\\\":{\\\"matchCase\\\":false,\\\"matchWholeWord\\\":false,\\\"useRegExp\\\":false,\\\"includeIgnored\\\":false,\\\"include\\\":[],\\\"exclude\\\":[],\\\"maxResults\\\":2000},\\\"searchTerm\\\":\\\"\\\",\\\"replaceTerm\\\":\\\"\\\",\\\"showReplaceField\\\":false,\\\"searchHistoryState\\\":{\\\"history\\\":[],\\\"index\\\":0},\\\"replaceHistoryState\\\":{\\\"history\\\":[],\\\"index\\\":0},\\\"includeHistoryState\\\":{\\\"history\\\":[],\\\"index\\\":0},\\\"excludeHistoryState\\\":{\\\"history\\\":[],\\\"index\\\":0}}\"}}],\"title\":{\"label\":\"Search\",\"iconClass\":\"fa fa-arduino-search\",\"closeable\":true}}"},"rank":5,"expanded":false,"pinned":false}],"size":293},"rightPanel":{"type":"sidepanel","items":[]},"activeWidgetId":"serial-monitor"}
2024-09-18T11:40:14.626Z root INFO ------- END SERIALIZED LAYOUT DATA -------
2024-09-18T11:40:14.649Z root INFO [825705b6-45c3-4bb2-a4c5-c4de3378ab1c] Waiting for backend deployment: 180.4 ms [Finished 1.985 s after frontend start]
2024-09-18T11:40:15.018Z root INFO [hosted-plugin: 17736] PLUGIN_HOST(17736) starting instance
2024-09-18T11:40:15.339Z root INFO [825705b6-45c3-4bb2-a4c5-c4de3378ab1c] Sync of 21 plugins: 695.2 ms [Finished 2.680 s after frontend start]
2024-09-18T11:40:15.600Z root INFO <<< The layout has been successfully restored.
2024-09-18T11:40:15.675Z root INFO Initialize the workbench layout: 1112.1 ms [Finished 2.942 s after frontend start]
2024-09-18T11:40:15.677Z root INFO Changed application state from 'attached_shell' to 'initialized_layout'.
2024-09-18T11:40:15.678Z root INFO [825705b6-45c3-4bb2-a4c5-c4de3378ab1c][marus25.cortex-debug]: Loaded contributions.
2024-09-18T11:40:15.678Z root INFO [825705b6-45c3-4bb2-a4c5-c4de3378ab1c][arduino.vscode-arduino-tools]: Loaded contributions.
2024-09-18T11:40:15.680Z root INFO [825705b6-45c3-4bb2-a4c5-c4de3378ab1c][vscode.cpp]: Loaded contributions.
2024-09-18T11:40:15.680Z root INFO [825705b6-45c3-4bb2-a4c5-c4de3378ab1c][vscode.json]: Loaded contributions.
2024-09-18T11:40:15.680Z root INFO [825705b6-45c3-4bb2-a4c5-c4de3378ab1c][vscode.json-language-features]: Loaded contributions.
2024-09-18T11:40:15.680Z root INFO [825705b6-45c3-4bb2-a4c5-c4de3378ab1c][ms-ceintl.vscode-language-pack-bg]: Loaded contributions.
2024-09-18T11:40:15.680Z root INFO [825705b6-45c3-4bb2-a4c5-c4de3378ab1c][ms-ceintl.vscode-language-pack-cs]: Loaded contributions.
2024-09-18T11:40:15.681Z root INFO [825705b6-45c3-4bb2-a4c5-c4de3378ab1c][ms-ceintl.vscode-language-pack-de]: Loaded contributions.
2024-09-18T11:40:15.681Z root INFO [825705b6-45c3-4bb2-a4c5-c4de3378ab1c][ms-ceintl.vscode-language-pack-es]: Loaded contributions.
2024-09-18T11:40:15.681Z root INFO [825705b6-45c3-4bb2-a4c5-c4de3378ab1c][ms-ceintl.vscode-language-pack-fr]: Loaded contributions.
2024-09-18T11:40:15.681Z root INFO [825705b6-45c3-4bb2-a4c5-c4de3378ab1c][ms-ceintl.vscode-language-pack-hu]: Loaded contributions.
2024-09-18T11:40:15.681Z root INFO [825705b6-45c3-4bb2-a4c5-c4de3378ab1c][ms-ceintl.vscode-language-pack-it]: Loaded contributions.
2024-09-18T11:40:15.681Z root INFO [825705b6-45c3-4bb2-a4c5-c4de3378ab1c][ms-ceintl.vscode-language-pack-ja]: Loaded contributions.
2024-09-18T11:40:15.681Z root INFO [825705b6-45c3-4bb2-a4c5-c4de3378ab1c][ms-ceintl.vscode-language-pack-ko]: Loaded contributions.
2024-09-18T11:40:15.681Z root INFO [825705b6-45c3-4bb2-a4c5-c4de3378ab1c][ms-ceintl.vscode-language-pack-nl]: Loaded contributions.
2024-09-18T11:40:15.682Z root INFO [825705b6-45c3-4bb2-a4c5-c4de3378ab1c][ms-ceintl.vscode-language-pack-pl]: Loaded contributions.
2024-09-18T11:40:15.682Z root INFO [825705b6-45c3-4bb2-a4c5-c4de3378ab1c][ms-ceintl.vscode-language-pack-pt-br]: Loaded contributions.
2024-09-18T11:40:15.682Z root INFO [825705b6-45c3-4bb2-a4c5-c4de3378ab1c][ms-ceintl.vscode-language-pack-ru]: Loaded contributions.
2024-09-18T11:40:15.682Z root INFO [825705b6-45c3-4bb2-a4c5-c4de3378ab1c][ms-ceintl.vscode-language-pack-tr]: Loaded contributions.
2024-09-18T11:40:15.682Z root INFO [825705b6-45c3-4bb2-a4c5-c4de3378ab1c][ms-ceintl.vscode-language-pack-uk]: Loaded contributions.
2024-09-18T11:40:15.682Z root INFO [825705b6-45c3-4bb2-a4c5-c4de3378ab1c][ms-ceintl.vscode-language-pack-zh-hans]: Loaded contributions.
2024-09-18T11:40:15.682Z root INFO [825705b6-45c3-4bb2-a4c5-c4de3378ab1c] Load contributions of 21 plugins: 73.4 ms [Finished 3.017 s after frontend start]
2024-09-18T11:40:15.723Z root WARN 'cpp' language is remapped from 'source.cpp.embedded.macro' to 'source.cpp' scope
2024-09-18T11:40:15.723Z root WARN a registered grammar configuration for 'cpp' language is overridden
2024-09-18T11:40:15.734Z root ERROR Request markAsRecentlyOpened failed with error: EPERM: operation not permitted, open 'c:\Users\Lenovo\.arduinoIDE\recent-sketches.json'
2024-09-18T11:40:16.027Z root INFO [hosted-plugin: 17736] PLUGIN_HOST(17736): PluginManagerExtImpl/init()
2024-09-18T11:40:16.029Z root INFO [hosted-plugin: 17736] PLUGIN_HOST(17736): initializing(cortex-debug@1.5.1 with C:\Users\Lenovo\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
2024-09-18T11:40:16.033Z root INFO [hosted-plugin: 17736] Debugger contribution has been registered: cortex-debug
2024-09-18T11:40:16.035Z root INFO [hosted-plugin: 17736] PLUGIN_HOST(17736): initializing(vscode-arduino-tools@0.0.2-beta.8 with C:\Users\Lenovo\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
2024-09-18T11:40:16.035Z root INFO [hosted-plugin: 17736] PLUGIN_HOST(17736): initializing(cpp@1.52.1 with C:\Users\Lenovo\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
2024-09-18T11:40:16.035Z root INFO [hosted-plugin: 17736] PLUGIN_HOST(17736): initializing(json@1.46.1 with C:\Users\Lenovo\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
2024-09-18T11:40:16.036Z root INFO [hosted-plugin: 17736] PLUGIN_HOST(17736): initializing(json-language-features@1.46.1 with C:\Users\Lenovo\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
2024-09-18T11:40:16.036Z root INFO [hosted-plugin: 17736] PLUGIN_HOST(17736): initializing(vscode-language-pack-bg@1.48.3 with C:\Users\Lenovo\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
2024-09-18T11:40:16.037Z root INFO [hosted-plugin: 17736] PLUGIN_HOST(17736): initializing(vscode-language-pack-cs@1.53.2 with C:\Users\Lenovo\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
2024-09-18T11:40:16.038Z root INFO [hosted-plugin: 17736] PLUGIN_HOST(17736): initializing(vscode-language-pack-de@1.53.2 with C:\Users\Lenovo\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
2024-09-18T11:40:16.038Z root INFO [hosted-plugin: 17736] PLUGIN_HOST(17736): initializing(vscode-language-pack-es@1.53.2 with C:\Users\Lenovo\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
2024-09-18T11:40:16.039Z root INFO [hosted-plugin: 17736] PLUGIN_HOST(17736): initializing(vscode-language-pack-fr@1.53.2 with C:\Users\Lenovo\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
2024-09-18T11:40:16.039Z root INFO [hosted-plugin: 17736] PLUGIN_HOST(17736): initializing(vscode-language-pack-hu@1.48.3 with C:\Users\Lenovo\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
2024-09-18T11:40:16.040Z root INFO [hosted-plugin: 17736] PLUGIN_HOST(17736): initializing(vscode-language-pack-it@1.53.2 with C:\Users\Lenovo\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
2024-09-18T11:40:16.041Z root INFO [hosted-plugin: 17736] PLUGIN_HOST(17736): initializing(vscode-language-pack-ja@1.53.2 with C:\Users\Lenovo\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
2024-09-18T11:40:16.041Z root INFO [hosted-plugin: 17736] PLUGIN_HOST(17736): initializing(vscode-language-pack-ko@1.53.2 with C:\Users\Lenovo\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
2024-09-18T11:40:16.041Z root INFO [hosted-plugin: 17736] PLUGIN_HOST(17736): initializing(vscode-language-pack-nl@1.48.3 with C:\Users\Lenovo\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
2024-09-18T11:40:16.042Z root INFO [hosted-plugin: 17736] PLUGIN_HOST(17736): initializing(vscode-language-pack-pl@1.53.2 with C:\Users\Lenovo\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
2024-09-18T11:40:16.042Z root INFO [hosted-plugin: 17736] PLUGIN_HOST(17736): initializing(vscode-language-pack-pt-BR@1.53.2 with C:\Users\Lenovo\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
2024-09-18T11:40:16.043Z root INFO [hosted-plugin: 17736] PLUGIN_HOST(17736): initializing(vscode-language-pack-ru@1.53.2 with C:\Users\Lenovo\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
2024-09-18T11:40:16.043Z root INFO [hosted-plugin: 17736] PLUGIN_HOST(17736): initializing(vscode-language-pack-tr@1.53.2 with C:\Users\Lenovo\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
2024-09-18T11:40:16.043Z root INFO [hosted-plugin: 17736] PLUGIN_HOST(17736): initializing(vscode-language-pack-uk@1.48.3 with C:\Users\Lenovo\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
2024-09-18T11:40:16.044Z root INFO [hosted-plugin: 17736] PLUGIN_HOST(17736): initializing(vscode-language-pack-zh-hans@1.53.2 with C:\Users\Lenovo\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
2024-09-18T11:40:16.060Z root INFO [hosted-plugin: 17736] PLUGIN_HOST(17736): PluginManagerExtImpl/loadPlugin(C:\Users\Lenovo\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-builtin-json-language-features\extension\client\dist\jsonMain)
2024-09-18T11:40:16.112Z root INFO [hosted-plugin: 17736] PLUGIN_HOST(17736): PluginManagerExtImpl/loadPlugin(C:\Users\Lenovo\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-arduino-tools\extension\dist\bundle)
2024-09-18T11:40:16.138Z root INFO [825705b6-45c3-4bb2-a4c5-c4de3378ab1c][marus25.cortex-debug]: Started plugin.
2024-09-18T11:40:16.140Z root INFO [825705b6-45c3-4bb2-a4c5-c4de3378ab1c][arduino.vscode-arduino-tools]: Started plugin.
2024-09-18T11:40:16.141Z root INFO [825705b6-45c3-4bb2-a4c5-c4de3378ab1c][vscode.cpp]: Started plugin.
2024-09-18T11:40:16.141Z root INFO [825705b6-45c3-4bb2-a4c5-c4de3378ab1c][vscode.json]: Started plugin.
2024-09-18T11:40:16.141Z root INFO [825705b6-45c3-4bb2-a4c5-c4de3378ab1c][vscode.json-language-features]: Started plugin.
2024-09-18T11:40:16.141Z root INFO [825705b6-45c3-4bb2-a4c5-c4de3378ab1c][ms-ceintl.vscode-language-pack-bg]: Started plugin.
2024-09-18T11:40:16.141Z root INFO [825705b6-45c3-4bb2-a4c5-c4de3378ab1c][ms-ceintl.vscode-language-pack-cs]: Started plugin.
2024-09-18T11:40:16.141Z root INFO [825705b6-45c3-4bb2-a4c5-c4de3378ab1c][ms-ceintl.vscode-language-pack-de]: Started plugin.
2024-09-18T11:40:16.142Z root INFO [825705b6-45c3-4bb2-a4c5-c4de3378ab1c][ms-ceintl.vscode-language-pack-es]: Started plugin.
2024-09-18T11:40:16.142Z root INFO [825705b6-45c3-4bb2-a4c5-c4de3378ab1c][ms-ceintl.vscode-language-pack-fr]: Started plugin.
2024-09-18T11:40:16.142Z root INFO [825705b6-45c3-4bb2-a4c5-c4de3378ab1c][ms-ceintl.vscode-language-pack-hu]: Started plugin.
2024-09-18T11:40:16.142Z root INFO [825705b6-45c3-4bb2-a4c5-c4de3378ab1c][ms-ceintl.vscode-language-pack-it]: Started plugin.
2024-09-18T11:40:16.142Z root INFO [825705b6-45c3-4bb2-a4c5-c4de3378ab1c][ms-ceintl.vscode-language-pack-ja]: Started plugin.
2024-09-18T11:40:16.142Z root INFO [825705b6-45c3-4bb2-a4c5-c4de3378ab1c][ms-ceintl.vscode-language-pack-ko]: Started plugin.
2024-09-18T11:40:16.142Z root INFO [825705b6-45c3-4bb2-a4c5-c4de3378ab1c][ms-ceintl.vscode-language-pack-nl]: Started plugin.
2024-09-18T11:40:16.143Z root INFO [825705b6-45c3-4bb2-a4c5-c4de3378ab1c][ms-ceintl.vscode-language-pack-pl]: Started plugin.
2024-09-18T11:40:16.143Z root INFO [825705b6-45c3-4bb2-a4c5-c4de3378ab1c][ms-ceintl.vscode-language-pack-pt-br]: Started plugin.
2024-09-18T11:40:16.143Z root INFO [825705b6-45c3-4bb2-a4c5-c4de3378ab1c][ms-ceintl.vscode-language-pack-ru]: Started plugin.
2024-09-18T11:40:16.143Z root INFO [825705b6-45c3-4bb2-a4c5-c4de3378ab1c][ms-ceintl.vscode-language-pack-tr]: Started plugin.
2024-09-18T11:40:16.143Z root INFO [825705b6-45c3-4bb2-a4c5-c4de3378ab1c][ms-ceintl.vscode-language-pack-uk]: Started plugin.
2024-09-18T11:40:16.143Z root INFO [825705b6-45c3-4bb2-a4c5-c4de3378ab1c][ms-ceintl.vscode-language-pack-zh-hans]: Started plugin.
2024-09-18T11:40:16.165Z root INFO [hosted-plugin: 17736] PLUGIN_HOST(17736): PluginManagerExtImpl/loadPlugin(C:\Users\Lenovo\AppData\Local\Programs\Arduino IDE\resources\app\plugins\cortex-debug\extension\dist\extension.js)
2024-09-18T11:40:16.197Z root INFO [hosted-plugin: 17736] Debug configuration provider has been registered: cortex-debug, trigger: 1
2024-09-18T11:40:16.201Z root INFO [hosted-plugin: 17736] GDB server console created
2024-09-18T11:40:16.213Z root INFO [825705b6-45c3-4bb2-a4c5-c4de3378ab1c] Start of 21 plugins: 532.4 ms [Finished 3.554 s after frontend start]
2024-09-18T11:40:16.842Z root INFO Frontend application start: 2539.9 ms [Finished 5.644 s after backend start]
2024-09-18T11:40:16.847Z root INFO Replace loading indicator with ready workbench UI (animation): 841.9 ms [Finished 3.860 s after frontend start]
2024-09-18T11:40:16.847Z root INFO Changed application state from 'initialized_layout' to 'ready'.
2024-09-18T11:40:16.847Z root WARN Linked preference "workbench.colorCustomizations" not found. Source: "editor.bracketPairColorization.enabled"
2024-09-18T11:40:16.906Z daemon INFO INFO[0004] Required tool                                 tool="arduino:arduinoOTA@1.3.0"
INFO[0004] Required tool                                 tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
INFO[0004] Required tool                                 tool="arduino:avrdude@6.3.0-arduino17"
INFO[0004] Required tool                                 tool="arduino:arduinoOTA@1.3.0"
INFO[0004] Required tool                                 tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
INFO[0004] Required tool                                 tool="arduino:avrdude@6.3.0-arduino17"

2024-09-18T11:40:16.917Z daemon INFO INFO[0004] Required tool                                 tool="arduino:arduinoOTA@1.3.0"
INFO[0004] Required tool                                 tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
INFO[0004] Required tool                                 tool="arduino:avrdude@6.3.0-arduino17"
INFO[0004] Required tool                                 tool="arduino:arduinoOTA@1.3.0"
INFO[0004] Required tool                                 tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
INFO[0004] Required tool                                 tool="arduino:avrdude@6.3.0-arduino17"

2024-09-18T11:40:16.935Z daemon INFO INFO[0004] Required tool                                 tool="arduino:arduinoOTA@1.3.0"
INFO[0004] Required tool                                 tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
INFO[0004] Required tool                                 tool="arduino:avrdude@6.3.0-arduino17"

Checking for update
2024-09-18T11:40:16.939Z daemon INFO INFO[0004] Required tool                                 tool="arduino:arduinoOTA@1.3.0"
INFO[0004] Required tool                                 tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
INFO[0004] Required tool                                 tool="arduino:avrdude@6.3.0-arduino17"

2024-09-18T11:40:17.039Z daemon INFO INFO[0004] Required tool                                 tool="arduino:arduinoOTA@1.3.0"
INFO[0004] Required tool                                 tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
INFO[0004] Required tool                                 tool="arduino:avrdude@6.3.0-arduino17"
INFO[0004] Required tool                                 tool="arduino:arduinoOTA@1.3.0"
INFO[0004] Required tool                                 tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
INFO[0004] Required tool                                 tool="arduino:avrdude@6.3.0-arduino17"

2024-09-18T11:40:17.043Z daemon INFO INFO[0004] Required tool                                 tool="arduino:arduinoOTA@1.3.0"
INFO[0004] Required tool                                 tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
INFO[0004] Required tool                                 tool="arduino:avrdude@6.3.0-arduino17"

2024-09-18T11:40:17.044Z daemon INFO INFO[0004] Required tool                                 tool="arduino:arduinoOTA@1.3.0"
INFO[0004] Required tool                                 tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
INFO[0004] Required tool                                 tool="arduino:avrdude@6.3.0-arduino17"

2024-09-18T11:40:17.048Z daemon INFO INFO[0004] Required tool                                 tool="arduino:arduinoOTA@1.3.0"
INFO[0004] Required tool                                 tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"

2024-09-18T11:40:17.049Z daemon INFO INFO[0004] Required tool                                 tool="arduino:avrdude@6.3.0-arduino17"

2024-09-18T11:40:17.061Z daemon INFO INFO[0004] Required tool                                 tool="arduino:arduinoOTA@1.3.0"
INFO[0004] Required tool                                 tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
INFO[0004] Required tool                                 tool="arduino:avrdude@6.3.0-arduino17"

2024-09-18T11:40:17.102Z daemon INFO INFO[0004] Required tool                                 tool="arduino:arduinoOTA@1.3.0"
INFO[0004] Required tool                                 tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
INFO[0004] Required tool                                 tool="arduino:avrdude@6.3.0-arduino17"

2024-09-18T11:40:17.552Z root ERROR ---- !!!SLOW!!! DURATION: search took 309.743 ms. Args: [{"type":"Updatable"}] ----
2024-09-18T11:40:17.556Z root INFO Starting language server: arduino:avr:uno
2024-09-18T11:40:17.558Z root ERROR Uncaught Exception:
2024-09-18T11:40:17.558Z root ERROR Error: EPERM: operation not permitted, open 'c:\Users\Lenovo\.arduinoIDE\pluggable-monitor-settings.json'
2024-09-18T11:40:17.566Z daemon INFO INFO[0004] Required tool                                 tool="arduino:arduinoOTA@1.3.0"
INFO[0004] Required tool                                 tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
INFO[0004] Required tool                                 tool="arduino:avrdude@6.3.0-arduino17"
INFO[0004] Required tool                                 tool="arduino:arduinoOTA@1.3.0"
INFO[0004] Required tool                                 tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
INFO[0004] Required tool                                 tool="arduino:avrdude@6.3.0-arduino17"
INFO[0004] Required tool                                 tool="arduino:arduinoOTA@1.3.0"
INFO[0004] Required tool                                 tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
INFO[0004] Required tool                                 tool="arduino:avrdude@6.3.0-arduino17"
INFO[0004] Starting monitor process                      monitor=serial-monitor

2024-09-18T11:40:17.568Z monitor-service INFO starting monitor
2024-09-18T11:40:17.578Z daemon INFO INFO[0004] Monitor process started successfully!         monitor=serial-monitor
INFO[0004] sending command                               command="HELLO 1 \"arduino-cli 0.32.3\"" monitor=serial-monitor
INFO[0004] Required tool                                 tool="arduino:arduinoOTA@1.3.0"
INFO[0004] Required tool                                 tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
INFO[0004] Required tool                                 tool="arduino:avrdude@6.3.0-arduino17"
INFO[0004] Starting monitor process                      monitor=serial-monitor

2024-09-18T11:40:17.579Z daemon INFO INFO[0004] Monitor process started successfully!         monitor=serial-monitor
INFO[0004] sending command                               command="HELLO 1 \"arduino-cli 0.32.3\"" monitor=serial-monitor
INFO[0004] received message                              error=false event_type=hello message=OK monitor=serial-monitor
INFO[0004] sending command                               command=DESCRIBE monitor=serial-monitor
INFO[0004] received message                              error=false event_type=describe message=OK monitor=serial-monitor
INFO[0004] sending command                               command=QUIT monitor=serial-monitor
INFO[0004] received message                              error=false event_type=quit message=OK monitor=serial-monitor
INFO[0004] Killing monitor process                       monitor=serial-monitor

2024-09-18T11:40:17.580Z daemon INFO ERRO[0004] stopped decode loop: EOF                      monitor=serial-monitor

2024-09-18T11:40:17.588Z daemon INFO ERRO[0004] Waiting for process end                       error="exit status 1" monitor=serial-monitor
INFO[0004] Monitor process killed                        monitor=serial-monitor

2024-09-18T11:40:17.591Z daemon INFO INFO[0004] received message                              error=false event_type=hello message=OK monitor=serial-monitor

2024-09-18T11:40:17.592Z daemon INFO INFO[0004] sending command                               command=DESCRIBE monitor=serial-monitor
INFO[0004] received message                              error=false event_type=describe message=OK monitor=serial-monitor
INFO[0004] sending command                               command=QUIT monitor=serial-monitor
INFO[0004] received message                              error=false event_type=quit message=OK monitor=serial-monitor
INFO[0004] Killing monitor process                       monitor=serial-monitor

2024-09-18T11:40:17.593Z daemon INFO ERRO[0004] stopped decode loop: EOF                      monitor=serial-monitor

2024-09-18T11:40:17.603Z daemon INFO ERRO[0004] Waiting for process end                       error="exit status 1" monitor=serial-monitor
INFO[0004] Monitor process killed                        monitor=serial-monitor

2024-09-18T11:40:17.615Z daemon INFO INFO[0004] Required tool                                 tool="arduino:arduinoOTA@1.3.0"
INFO[0004] Required tool                                 tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"

2024-09-18T11:40:17.615Z daemon INFO INFO[0004] Required tool                                 tool="arduino:avrdude@6.3.0-arduino17"

2024-09-18T11:40:17.657Z daemon INFO INFO[0004] Required tool                                 tool="arduino:arduinoOTA@1.3.0"
INFO[0004] Required tool                                 tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"

2024-09-18T11:40:17.659Z daemon INFO INFO[0004] Required tool                                 tool="arduino:avrdude@6.3.0-arduino17"

2024-09-18T11:40:17.702Z daemon INFO INFO[0005] Required tool                                 tool="arduino:arduinoOTA@1.3.0"
INFO[0005] Required tool                                 tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
INFO[0005] Required tool                                 tool="arduino:avrdude@6.3.0-arduino17"

2024-09-18T11:40:17.708Z daemon INFO INFO[0005] Required tool                                 tool="arduino:arduinoOTA@1.3.0"
INFO[0005] Required tool                                 tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
INFO[0005] Required tool                                 tool="arduino:avrdude@6.3.0-arduino17"

2024-09-18T11:40:17.747Z daemon INFO INFO[0005] Required tool                                 tool="arduino:arduinoOTA@1.3.0"
INFO[0005] Required tool                                 tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
INFO[0005] Required tool                                 tool="arduino:avrdude@6.3.0-arduino17"

2024-09-18T11:40:17.754Z daemon INFO INFO[0005] Required tool                                 tool="arduino:arduinoOTA@1.3.0"
INFO[0005] Required tool                                 tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
INFO[0005] Required tool                                 tool="arduino:avrdude@6.3.0-arduino17"

2024-09-18T11:40:17.975Z daemon INFO INFO[0005] Required tool                                 tool="arduino:arduinoOTA@1.3.0"
INFO[0005] Required tool                                 tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
INFO[0005] Required tool                                 tool="arduino:avrdude@6.3.0-arduino17"

2024-09-18T11:40:17.978Z daemon INFO INFO[0005] Required tool                                 tool="arduino:arduinoOTA@1.3.0"
INFO[0005] Required tool                                 tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
INFO[0005] Required tool                                 tool="arduino:avrdude@6.3.0-arduino17"

2024-09-18T11:40:17.980Z daemon INFO INFO[0005] Required tool                                 tool="arduino:arduinoOTA@1.3.0"
INFO[0005] Required tool                                 tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
INFO[0005] Required tool                                 tool="arduino:avrdude@6.3.0-arduino17"

2024-09-18T11:40:17.980Z daemon INFO INFO[0005] Adding libraries dir                          dir="C:\\Users\\Lenovo\\AppData\\Local\\Arduino15\\libraries" location=ide
INFO[0005] Adding libraries dir                          dir="C:\\Users\\Lenovo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\libraries" location=platform

2024-09-18T11:40:17.980Z daemon INFO INFO[0005] Adding libraries dir                          dir="C:\\Users\\Lenovo\\Documents\\Arduino\\libraries" location=user

Found version 2.3.2 (url: arduino-ide_2.3.2_Windows_64bit.exe)
2024-09-18T11:40:18.229Z daemon INFO INFO[0005] Resolving include MFRC522.h for arch avr
INFO[0005]   found better lib                            lib=MFRC522 prio=64D

2024-09-18T11:40:18.291Z daemon INFO INFO[0005] Resolving include SPI.h for arch avr
INFO[0005]   found better lib                            lib=SPI prio=64C

2024-09-18T11:40:18.354Z daemon INFO INFO[0005] Resolving include Servo.h for arch avr
INFO[0005]   found better lib                            lib=Servo prio=64A
INFO[0005]   found better lib                            lib=Servo prio=64D

2024-09-18T11:40:18.416Z daemon INFO INFO[0005] Resolving include Wire.h for arch avr
INFO[0005]   found better lib                            lib=Wire prio=64C

2024-09-18T11:40:18.478Z daemon INFO INFO[0005] Resolving include LiquidCrystal_I2C.h for arch avr
INFO[0005]   found better lib                            lib="LiquidCrystal I2C" prio=64D

2024-09-18T11:40:18.478Z daemon INFO INFO[0005]   discarded                                   lib=Arduino-LiquidCrystal-I2C-library-master prio=3EB

2024-09-18T11:40:20.064Z daemon INFO INFO[0007] Required tool                                 tool="arduino:arduinoOTA@1.3.0"
INFO[0007] Required tool                                 tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
INFO[0007] Required tool                                 tool="arduino:avrdude@6.3.0-arduino17"

2024-09-18T11:40:20.068Z daemon INFO INFO[0007] Required tool                                 tool="arduino:arduinoOTA@1.3.0"
INFO[0007] Required tool                                 tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
INFO[0007] Required tool                                 tool="arduino:avrdude@6.3.0-arduino17"

2024-09-18T11:40:20.069Z daemon INFO INFO[0007] Required tool                                 tool="arduino:arduinoOTA@1.3.0"
INFO[0007] Required tool                                 tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
INFO[0007] Required tool                                 tool="arduino:avrdude@6.3.0-arduino17"


I see the problem here:

For some reason, your operating system is not allowing Arduino IDE to open this file:

c:\Users\Lenovo\.arduinoIDE\pluggable-monitor-settings.json

I see that it is able to open some other files in the folder, so it seems to be specific to the file, rather than the operating system denying access to the entire folder.

My hypothesis is that this is caused by a different Windows user account somehow having ownership of the file. If so, it should be possible to fix this by deleting the file. Arduino IDE will automatically generate it again, and this time the ownership of the file should be configured correctly. The file is only used to store which baud rate you selected from the menu in Serial Monitor the last time you used it for convenience, so deleting the file won't cause the loss of any important data.

I'll provide instructions you can follow to do that:

  1. Select File > Quit from the Arduino IDE menus if it is running.
    All Arduino IDE windows will close.
  2. Delete the file at the following path on your hard drive:
    c:\Users\Lenovo\.arduinoIDE\pluggable-monitor-settings.json
    
    :warning: Please be careful when deleting things from your computer. When in doubt, back up!
  3. Start Arduino IDE.

Now try using Serial Monitor again, just as you did before. Hopefully this time it will be able to open the serial port and work as expected.

1 Like

Thank you very much! I cannot find the words to express how happy I am now that what has been bothering me for several weeks has been fixed. I think you helped me to continue our project at school. Once again, thank you very much!

You are welcome. I'm glad it is working now.

I did notice a similar problem in your logs:

The recentworkspace.json file mentioned in the error message is used by Arduino IDE for a feature where the saved sketches you had open the last time you exited Arduino IDE are automatically opened when you start the IDE.

This is only a convenience feature (and I think the feature will even mostly work without this file since another data file is also used by the feature), so the IDE not being able to access this data file isn't so impactful as with pluggable-monitor-settings.json, but you might find that the feature doesn't always work as expected.

So if you like, you can perform the same procedure described in post #7, except this time deleting the recentworkspace.json file:

  1. Select File > Quit from the Arduino IDE menus if it is running.
    All Arduino IDE windows will close.
  2. Delete the file at the following path on your hard drive:
    c:\Users\Lenovo\.arduinoIDE\recentworkspace.json
    
    :warning: Please be careful when deleting things from your computer. When in doubt, back up!
  3. Start Arduino IDE.

As with pluggable-monitor-settings.json, there isn't any essential data in recentworkspace.json and Arduino IDE will automatically generate a fresh copy of the file after you delete it, so deleting the file won't cause the loss of anything important.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.