Nor did I for a few months. Dudę, this forum is for issues and errors, when occur. Made a post, someone helped me. Leave it alone, let it go. Everything (almost) works.
Do I have to show you that i CANT save anything in my arduino folder in docs folder? Do I have to make a video of it, let you remote control my screen? i have everything in order, I know how save and save as works, IDE is (expletive deleted) in my docs folder, but one folder above everything works. And stop reply under solved post. Had no problem for a few months, did exacly same thing every day, today something (expletive deleted) in IDE, but I solved it with someone help. Done.
Please refrain from using profanity in your posts @maciej_tor.
The forum is intended to be a resource for all members of the Arduino community and profanity does not further that goal.
Thanks in advance for your cooperation.
Did you ever get this resolved? I have the EXACT same problem. It started when I installed 2.2.1 - yesterday.
Ctrl-S or File | Save appears to save, but it doesn't (I lost lots of work!!!).
Then, when I try to Close I get the Don't Save / Save dialog box (so it still thinks the doc is dirty).
Click Save and it'll close the IDE but not save (dangerous!).
If I do File | Save As it creates a new file name with "copy" and a date stamp. Attempting to save that (or any other name) yields the error dialogs you posted.
NOTE: This failure occurs saving with Windows 11 to my documents folder which is shared to my account's One Drive cloud. After experimenting some, saving appears to work correctly (none of the above happens) if I change the default file save location to another local drive on my PC.
This is so obviously broken there has to be others experiencing it.
Hi @vivaware. I'm going to ask you to post some additional information that might help us to identify the problem.
Please do this:
- Select File > Quit from the Arduino IDE menus if it is running.
- Start Windows "File Explorer".
- Open the Arduino IDE installation folder.
ⓘ The default installation location is at one of the following paths:-
C:\Program Files\Arduino IDE
-
(whereC:\Users\<username>\AppData\Local\Programs\Arduino IDE
<username>
is your Windows username)
If looking for it with your file manager or command line, note that theAppData
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".
-
- 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".
Windows 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 Arduino IDE starts. - Wait for Arduino IDE to finish starting.
- Perform whatever procedure is needed to reproduce the problem with the "Save" operation not actually saving the sketch, just as you did before.
- 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
<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.
- 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\rs_pa\AppData\Local\Programs\Arduino IDE> & ".\Arduino IDE"
PS C:\Users\rs_pa\AppData\Local\Programs\Arduino IDE>
Arduino IDE 2.2.1
Checking for frontend application configuration customizations. Module path: C:\Users\rs_pa\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\electron-main.js, destination 'package.json': C:\Users\rs_pa\AppData\Local\Programs\Arduino IDE\resources\app\package.json
Setting 'theia.frontend.config.appVersion' application configuration value to: "2.2.1" (type of string)
Setting 'theia.frontend.config.cliVersion' application configuration value to: "0.34.0" (type of string)
Setting 'theia.frontend.config.buildDate' application configuration value to: "2023-08-31T14:35:44.802Z" (type of string)
Frontend application configuration after modifications: {"applicationName":"Arduino IDE","defaultTheme":{"light":"arduino-theme","dark":"arduino-theme-dark"},"defaultIconTheme":"none","electron":{"windowOptions":{}},"defaultLocale":"","validatePreferencesSchema":false,"preferences":{"window.title":"${rootName}${activeEditorShort}${appName}","files.autoSave":"afterDelay","editor.minimap.enabled":false,"editor.tabSize":2,"editor.scrollBeyondLastLine":false,"editor.quickSuggestions":{"other":false,"comments":false,"strings":false},"editor.maxTokenizationLineLength":500,"editor.bracketPairColorization.enabled":false,"breadcrumbs.enabled":false,"workbench.tree.renderIndentGuides":"none","explorer.compactFolders":false},"appVersion":"2.2.1","cliVersion":"0.34.0","buildDate":"2023-08-31T14:35:44.802Z"}
Starting backend process. PID: 14168
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///c%3A/Users/rs_pa/.arduinoIDE'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2023-09-08T23:07:00.891Z root INFO Backend Object.initialize: 3.9 ms [Finished 0.413 s after backend start]
2023-09-08T23:07:00.892Z root INFO Backend Object.configure: 3.2 ms [Finished 0.413 s after backend start]
2023-09-08T23:07:00.892Z root INFO Backend a.onStart: 1.2 ms [Finished 0.413 s after backend start]
2023-09-08T23:07:00.892Z root INFO Backend a.configure: 0.3 ms [Finished 0.435 s after backend start]
2023-09-08T23:07:00.893Z root INFO Backend u.onStart: 0.2 ms [Finished 0.435 s after backend start]
2023-09-08T23:07:00.894Z root INFO Backend d.configure: 0.1 ms [Finished 0.435 s after backend start]
2023-09-08T23:07:00.894Z root INFO Backend d.initialize: 22.4 ms [Finished 0.435 s after backend start]
2023-09-08T23:07:00.895Z root INFO Backend c.onStart: 0.2 ms [Finished 0.435 s after backend start]
2023-09-08T23:07:00.895Z root INFO Backend s.configure: 0.8 ms [Finished 0.436 s after backend start]
2023-09-08T23:07:00.896Z config INFO >>> Initializing CLI configuration...
2023-09-08T23:07:00.897Z root INFO Backend c.initialize: 0.3 ms [Finished 0.436 s after backend start]
2023-09-08T23:07:00.897Z root INFO Backend P.onStart: 0.7 ms [Finished 0.437 s after backend start]
2023-09-08T23:07:00.898Z config INFO Loading CLI configuration from c:\Users\rs_pa\.arduinoIDE\arduino-cli.yaml...
2023-09-08T23:07:00.898Z daemon INFO Starting daemon from C:\Users\rs_pa\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\resources\arduino-cli.exe...
2023-09-08T23:07:00.898Z root INFO Backend s.initialize: 0.3 ms [Finished 0.438 s after backend start]
2023-09-08T23:07:00.898Z root INFO Backend w.onStart: 0.9 ms [Finished 0.438 s after backend start]
2023-09-08T23:07:00.898Z root INFO Backend r.configure: 1.7 ms [Finished 0.439 s after backend start]
2023-09-08T23:07:00.899Z discovery-log INFO start
2023-09-08T23:07:00.899Z discovery-log INFO start new deferred
2023-09-08T23:07:00.899Z root INFO Backend d.initialize: 0.3 ms [Finished 0.439 s after backend start]
2023-09-08T23:07:00.899Z root INFO Backend y.onStart: 1.7 ms [Finished 0.441 s after backend start]
2023-09-08T23:07:00.899Z root INFO Backend r.configure: 1.6 ms [Finished 0.441 s after backend start]
2023-09-08T23:07:00.900Z root INFO Backend s.onStart: 0.5 ms [Finished 0.442 s after backend start]
2023-09-08T23:07:00.900Z root INFO Backend h.configure: 0.6 ms [Finished 0.442 s after backend start]
2023-09-08T23:07:00.900Z root INFO Backend a.configure: 0.5 ms [Finished 0.443 s after backend start]
2023-09-08T23:07:00.900Z root INFO Backend s.configure: 0.0 ms [Finished 0.443 s after backend start]
2023-09-08T23:07:00.900Z root INFO Backend l.configure: 0.1 ms [Finished 0.444 s after backend start]
2023-09-08T23:07:00.902Z root INFO Theia app listening on http://localhost:60395.
2023-09-08T23:07:00.903Z root INFO Finished starting backend application: 3.8 ms [Finished 0.446 s after backend start]
2023-09-08T23:07:00.904Z root WARN The local plugin referenced by local-dir:/c%3A/Users/rs_pa/.arduinoIDE/plugins does not exist.
2023-09-08T23:07:00.904Z root WARN The local plugin referenced by local-dir:/c%3A/Users/rs_pa/.arduinoIDE/extensions does not exist.
2023-09-08T23:07:00.904Z root WARN The local plugin referenced by local-dir:C:\Users\rs_pa\.arduinoIDE\plugins does not exist.
Restoring workspace roots: c:\Users\rs_pa\OneDrive\Documents\Arduino\Smoker Project\ValveTest
isTempSketch: false. Input was c:\Users\rs_pa\OneDrive\Documents\Arduino\Smoker Project\ValveTest\ValveTest.ino
2023-09-08T23:07:00.921Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[]},"build_cache":{"compilations_before_purge":10,"ttl":"720h0m0s"},"daemon":{"port":"50051"},"directories":{"builtin":{"libraries":"C:\\Users\\rs_pa\\AppData\\Local\\Arduino15\\libraries"},"data":"c:\\Users\\rs_pa\\AppData\\Local\\Arduino15","downloads":"C:\\Users\\rs_pa\\AppData\\Local\\Arduino15\\staging","user":"c:\\Users\\rs_pa\\OneDrive\\Documents\\Arduino"},"library":{"enable_unsafe_install":false},"locale":"en","logging":{"file":"","format":"text","level":"info"},"metrics":{"addr":":9090","enabled":true},"output":{"no_color":false},"sketch":{"always_export_binaries":false},"updater":{"enable_notification":true}}
2023-09-08T23:07:00.922Z config INFO 'directories.data' and 'directories.user' are set in the CLI configuration model.
2023-09-08T23:07:00.922Z config INFO Loaded the CLI configuration.
2023-09-08T23:07:00.931Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///c%3A/Users/rs_pa/AppData/Local/Arduino15","sketchDirUri":"file:///c%3A/Users/rs_pa/OneDrive/Documents/Arduino","additionalUrls":[],"network":"none","locale":"en"}
2023-09-08T23:07:00.932Z config INFO Validating the CLI configuration...
2023-09-08T23:07:00.932Z config INFO The CLI config is valid.
2023-09-08T23:07:00.932Z config INFO <<< Initialized the CLI configuration.
2023-09-08T23:07:00.946Z root INFO Resolve plugins list: 48.0 ms [Finished 0.489 s after backend start]
2023-09-08T23:07:01.020Z daemon INFO time="2023-09-08T19:07:00-04:00" level=info msg="Using config file: c:\\Users\\rs_pa\\.arduinoIDE\\arduino-cli.yaml"
time="2023-09-08T19:07:00-04:00" level=info msg="arduino-cli.exe version 0.34.0"
time="2023-09-08T19:07:00-04:00" level=info msg="Executing `arduino-cli daemon`"
Daemon is now listening on 127.0.0.1:60396
{"IP":"127.0.0.1","Port":"60396"}
2023-09-08T23:07:01.021Z daemon INFO Daemon is running.
2023-09-08T23:07:01.092Z daemon INFO time="2023-09-08T19:07:01-04:00" level=info msg="Checking signature" index="c:\\Users\\rs_pa\\AppData\\Local\\Arduino15\\package_index.json" signatureFile="c:\\Users\\rs_pa\\AppData\\Local\\Arduino15\\package_index.json.sig" trusted=true
time="2023-09-08T19:07:01-04:00" level=info msg="Loading hardware from: c:\\Users\\rs_pa\\AppData\\Local\\Arduino15\\packages"
time="2023-09-08T19:07:01-04:00" level=info msg="Loading package arduino from: C:\\Users\\rs_pa\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware"
time="2023-09-08T19:07:01-04:00" level=info msg="Missing signature file" index="C:\\Users\\rs_pa\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\installed.json"
time="2023-09-08T19:07:01-04:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2023-09-08T19:07:01-04:00" level=info msg="Loaded platform" platform="arduino:avr@1.8.6"
time="2023-09-08T19:07:01-04:00" level=info msg="Checking existence of 'tools' path: C:\\Users\\rs_pa\\AppData\\Local\\Arduino15\\packages\\arduino\\tools"
time="2023-09-08T19:07:01-04:00" level=info msg="Loading tools from dir: C:\\Users\\rs_pa\\AppData\\Local\\Arduino15\\packages\\arduino\\tools"
time="2023-09-08T19:07:01-04:00" level=info msg="Loaded tool" tool="arduino:arduinoOTA@1.3.0"
time="2023-09-08T19:07:01-04:00" level=info msg="Loaded tool" tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
time="2023-09-08T19:07:01-04:00" level=info msg="Loaded tool" tool="arduino:avrdude@6.3.0-arduino17"
time="2023-09-08T19:07:01-04:00" level=info msg="Loading package builtin from: C:\\Users\\rs_pa\\AppData\\Local\\Arduino15\\packages\\builtin"
time="2023-09-08T19:07:01-04:00" level=info msg="Checking existence of 'tools' path: C:\\Users\\rs_pa\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
time="2023-09-08T19:07:01-04:00" level=info msg="Loading tools from dir: C:\\Users\\rs_pa\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
time="2023-09-08T19:07:01-04:00" level=info msg="Loaded tool" tool="builtin:ctags@5.8-arduino11"
time="2023-09-08T19:07:01-04:00" level=info msg="Loaded tool" tool="builtin:dfu-discovery@0.1.2"
time="2023-09-08T19:07:01-04:00" level=info msg="Loaded tool" tool="builtin:mdns-discovery@1.0.9"
time="2023-09-08T19:07:01-04:00" level=info msg="Loaded tool" tool="builtin:serial-discovery@1.4.0"
time="2023-09-08T19:07:01-04:00" level=info msg="Loaded tool" tool="builtin:serial-monitor@0.13.0"
time="2023-09-08T19:07:01-04:00" level=info msg="Adding libraries dir" dir="C:\\Users\\rs_pa\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\libraries" location=platform
time="2023-09-08T19:07:01-04:00" level=info msg="Loading libraries index file" index="c:\\Users\\rs_pa\\AppData\\Local\\Arduino15\\library_index.json"
2023-09-08T23:07:01.227Z daemon INFO time="2023-09-08T19:07:01-04:00" level=info msg="Adding libraries dir" dir="C:\\Users\\rs_pa\\AppData\\Local\\Arduino15\\libraries" location=ide
time="2023-09-08T19:07:01-04:00" level=info msg="Adding libraries dir" dir="c:\\Users\\rs_pa\\OneDrive\\Documents\\Arduino\\libraries" location=user
time="2023-09-08T19:07:01-04:00" level=warning msg="Error loading library" error="rpc error: code = Internal desc = loading library from c:\\Users\\rs_pa\\OneDrive\\Documents\\Arduino\\libraries\\HX711_Arduino_Library: invalid library: no header files found"
time="2023-09-08T19:07:01-04:00" level=warning msg="Error loading library" error="rpc error: code = Internal desc = loading library from c:\\Users\\rs_pa\\OneDrive\\Documents\\Arduino\\libraries\\LiquidCrystal_I2C: invalid library: no header files found"
time="2023-09-08T19:07:01-04:00" level=warning msg="Error loading library" error="rpc error: code = Internal desc = loading library from c:\\Users\\rs_pa\\OneDrive\\Documents\\Arduino\\libraries\\MAX6675-master: invalid library: no header files found"
2023-09-08T23:07:01.229Z discovery-log INFO start request start watch
2023-09-08T23:07:01.230Z discovery-log INFO start requested start watch
2023-09-08T23:07:01.230Z discovery-log INFO start resolved watching
2023-09-08T23:07:01.260Z daemon INFO time="2023-09-08T19:07:01-04:00" level=info msg="starting discovery builtin:mdns-discovery process"
time="2023-09-08T19:07:01-04:00" level=info msg="starting discovery builtin:serial-discovery process"
time="2023-09-08T19:07:01-04:00" level=info msg="started discovery builtin:mdns-discovery process"
time="2023-09-08T19:07:01-04:00" level=info msg="started discovery builtin:serial-discovery process"
time="2023-09-08T19:07:01-04:00" level=info msg="sending command HELLO 1 \"arduino-cli 0.34.0\" to discovery builtin:serial-discovery"
time="2023-09-08T19:07:01-04:00" level=info msg="sending command HELLO 1 \"arduino-cli 0.34.0\" to discovery builtin:mdns-discovery"
time="2023-09-08T19:07:01-04:00" level=info msg="from discovery builtin:serial-discovery received message type: hello, message: OK, protocol version: 1"
time="2023-09-08T19:07:01-04:00" level=info msg="sending command START_SYNC to discovery builtin:serial-discovery"
time="2023-09-08T19:07:01-04:00" level=info msg="from discovery builtin:mdns-discovery received message type: hello, message: OK, protocol version: 1"
time="2023-09-08T19:07:01-04:00" level=info msg="sending command START_SYNC to discovery builtin:mdns-discovery"
time="2023-09-08T19:07:01-04:00" level=info msg="from discovery builtin:serial-discovery received message type: start_sync, message: OK"
time="2023-09-08T19:07:01-04:00" level=info msg="from discovery builtin:mdns-discovery received message type: start_sync, message: OK"
time="2023-09-08T19:07:01-04:00" level=info msg="from discovery builtin:serial-discovery received message type: add, port: COM3"
time="2023-09-08T19:07:01-04:00" level=info msg="from discovery builtin:serial-discovery received message type: add, port: COM1"
time="2023-09-08T19:07:01-04:00" level=info msg="from discovery builtin:serial-discovery received message type: add, port: COM4"
2023-09-08T23:07:01.261Z discovery-log INFO {"eventType":"add","port":{"matchingBoardsList":[],"port":{"address":"COM3","label":"COM3","protocol":"serial","protocolLabel":"Serial Port (USB)","propertiesMap":[["pid","0x02AD"],["serialNumber","U63479D8J800324"],["vid","0x04F9"]],"hardwareId":"U63479D8J800324"}},"error":""}
2023-09-08T23:07:01.262Z discovery-log INFO {"eventType":"add","port":{"matchingBoardsList":[],"port":{"address":"COM1","label":"COM1","protocol":"serial","protocolLabel":"Serial Port","propertiesMap":[],"hardwareId":""}},"error":""}
2023-09-08T23:07:01.262Z discovery-log INFO {"eventType":"add","port":{"matchingBoardsList":[],"port":{"address":"COM4","label":"COM4","protocol":"serial","protocolLabel":"Serial Port (USB)","propertiesMap":[["pid","0x6001"],["serialNumber","A600B3HXA"],["vid","0x0403"]],"hardwareId":"A600B3HXA"}},"error":""}
2023-09-08T23:07:01.741Z root INFO Deploy plugins list: 48.0 ms [Finished 1.285 s after backend start]
Opening channel for service path '/services/electron-window'.
Opening channel for service path '/services/ide-updater'.
2023-09-08T23:07:02.209Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 215.9 ms [Finished 1.260 s after frontend start]
2023-09-08T23:07:02.215Z root WARN A command editor.action.toggleStickyScroll is already registered.
2023-09-08T23:07:02.222Z 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\rs_pa\OneDrive\Documents\Arduino\Smoker Project\ValveTest\ValveTest.ino>, response: <c:\Users\rs_pa\OneDrive\Documents\Arduino\Smoker Project\ValveTest>.
2023-09-08T23:07:02.348Z root INFO Start frontend contributions: 406.8 ms [Finished 1.397 s after frontend start]
2023-09-08T23:07:02.349Z root INFO Changed application state from 'init' to 'started_contributions'.
2023-09-08T23:07:02.365Z root INFO Changed application state from 'started_contributions' to 'attached_shell'.
2023-09-08T23:07:02.365Z root INFO >>> Restoring the layout state...
2023-09-08T23:07:02.366Z root INFO ------- SERIALIZED LAYOUT DATA -------
2023-09-08T23:07:02.366Z 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/rs_pa/OneDrive/Documents/Arduino/Smoker%20Project/ValveTest/ValveTest.ino"}},"innerWidgetState":"{\"cursorState\":[{\"inSelectionMode\":false,\"selectionStart\":{\"lineNumber\":1,\"column\":17},\"position\":{\"lineNumber\":1,\"column\":17}}],\"viewState\":{\"scrollLeft\":0,\"firstPosition\":{\"lineNumber\":1,\"column\":1},\"firstPositionDeltaTop\":0},\"contributionsState\":{\"editor.contrib.folding\":{\"lineCount\":35,\"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}"}],"currentIndex":0}},"pinned":[false],"size":320,"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}]},"rightPanel":{"type":"sidepanel","items":[]},"activeWidgetId":"code-editor-opener:file:///c%3A/Users/rs_pa/OneDrive/Documents/Arduino/Smoker%20Project/ValveTest/ValveTest.ino:0"}
2023-09-08T23:07:02.367Z root INFO ------- END SERIALIZED LAYOUT DATA -------
2023-09-08T23:07:02.402Z root INFO [b3fd5a2e-3466-4df7-bc47-7bb9bb37d782] Waiting for backend deployment: 74.6 ms [Finished 1.468 s after frontend start]
2023-09-08T23:07:02.782Z root INFO [hosted-plugin: 23432] PLUGIN_HOST(23432) starting instance
2023-09-08T23:07:03.209Z root INFO [b3fd5a2e-3466-4df7-bc47-7bb9bb37d782] Sync of 23 plugins: 808.2 ms [Finished 2.276 s after frontend start]
2023-09-08T23:07:03.385Z root INFO <<< The layout has been successfully restored.
2023-09-08T23:07:03.448Z root INFO Initialize the workbench layout: 1030.6 ms [Finished 2.453 s after frontend start]
2023-09-08T23:07:03.450Z root INFO Changed application state from 'attached_shell' to 'initialized_layout'.
2023-09-08T23:07:03.450Z root INFO [b3fd5a2e-3466-4df7-bc47-7bb9bb37d782] Loading plugin contributions
2023-09-08T23:07:03.451Z root INFO [b3fd5a2e-3466-4df7-bc47-7bb9bb37d782] Load contributions of 23 plugins: 61.1 ms [Finished 2.515 s after frontend start]
2023-09-08T23:07:03.456Z root WARN 'cpp' language is remapped from 'source.cpp.embedded.macro' to 'source.cpp' scope
2023-09-08T23:07:03.457Z root WARN a registered grammar configuration for 'cpp' language is overridden
2023-09-08T23:07:03.846Z root ERROR [hosted-plugin: 23432] Conflict in settings file Default: Ignoring cortex-debug.armToolchainPath.linux as cortex-debug.armToolchainPath is null
Conflict in settings file Default: Ignoring cortex-debug.armToolchainPath.osx as cortex-debug.armToolchainPath is null
2023-09-08T23:07:03.846Z root ERROR [hosted-plugin: 23432] Conflict in settings file Default: Ignoring cortex-debug.armToolchainPath.windows as cortex-debug.armToolchainPath is null
Conflict in settings file Default: Ignoring cortex-debug.JLinkGDBServerPath.linux as cortex-debug.JLinkGDBServerPath is null
Conflict in settings file Default: Ignoring cortex-debug.JLinkGDBServerPath.osx as cortex-debug.JLinkGDBServerPath is null
Conflict in settings file Default: Ignoring cortex-debug.JLinkGDBServerPath.windows as cortex-debug.JLinkGDBServerPath is null
Conflict in settings file Default: Ignoring cortex-debug.openocdPath.linux as cortex-debug.openocdPath is null
Conflict in settings file Default: Ignoring cortex-debug.openocdPath.osx as cortex-debug.openocdPath is null
Conflict in settings file Default: Ignoring cortex-debug.openocdPath.windows as cortex-debug.openocdPath is null
Conflict in settings file Default: Ignoring cortex-debug.pyocdPath.linux as cortex-debug.pyocdPath is null
Conflict in settings file Default: Ignoring cortex-debug.pyocdPath.osx as cortex-debug.pyocdPath is null
Conflict in settings file Default: Ignoring cortex-debug.pyocdPath.windows as cortex-debug.pyocdPath is null
Conflict in settings file Default: Ignoring cortex-debug.PEGDBServerPath.linux as cortex-debug.PEGDBServerPath is null
Conflict in settings file Default: Ignoring cortex-debug.PEGDBServerPath.osx as cortex-debug.PEGDBServerPath is null
Conflict in settings file Default: Ignoring cortex-debug.PEGDBServerPath.windows as cortex-debug.PEGDBServerPath is null
Conflict in settings file Default: Ignoring cortex-debug.stutilPath.linux as cortex-debug.stutilPath is null
Conflict in settings file Default: Ignoring cortex-debug.stutilPath.osx as cortex-debug.stutilPath is null
Conflict in settings file Default: Ignoring cortex-debug.stutilPath.windows as cortex-debug.stutilPath is null
Conflict in settings file Default: Ignoring cortex-debug.stlinkPath.linux as cortex-debug.stlinkPath is null
Conflict in settings file Default: Ignoring cortex-debug.stlinkPath.osx as cortex-debug.stlinkPath is null
Conflict in settings file Default: Ignoring cortex-debug.stlinkPath.windows as cortex-debug.stlinkPath is null
Conflict in settings file Default: Ignoring cortex-debug.stm32cubeprogrammer.linux as cortex-debug.stm32cubeprogrammer is null
Conflict in settings file Default: Ignoring cortex-debug.stm32cubeprogrammer.osx as cortex-debug.stm32cubeprogrammer is null
Conflict in settings file Default: Ignoring cortex-debug.stm32cubeprogrammer.windows as cortex-debug.stm32cubeprogrammer is null
2023-09-08T23:07:03.863Z root INFO [hosted-plugin: 23432] PLUGIN_HOST(23432): PluginManagerExtImpl/init()
2023-09-08T23:07:03.864Z root INFO [hosted-plugin: 23432] PLUGIN_HOST(23432): initializing(vscode-arduino-api@0.1.2 with C:\Users\rs_pa\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2023-09-08T23:07:03.907Z root INFO [hosted-plugin: 23432] PLUGIN_HOST(23432): initializing(cortex-debug@1.5.1 with C:\Users\rs_pa\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2023-09-08T23:07:03.907Z root INFO [hosted-plugin: 23432] Debugger contribution has been registered: cortex-debug
2023-09-08T23:07:03.908Z root INFO [hosted-plugin: 23432] PLUGIN_HOST(23432): initializing(vscode-arduino-tools@0.0.2-beta.8 with C:\Users\rs_pa\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2023-09-08T23:07:03.909Z root INFO [hosted-plugin: 23432] PLUGIN_HOST(23432): initializing(cpp@1.52.1 with C:\Users\rs_pa\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2023-09-08T23:07:03.909Z root INFO [hosted-plugin: 23432] PLUGIN_HOST(23432): initializing(json@1.46.1 with C:\Users\rs_pa\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2023-09-08T23:07:03.910Z root INFO [hosted-plugin: 23432] PLUGIN_HOST(23432): initializing(json-language-features@1.46.1 with C:\Users\rs_pa\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2023-09-08T23:07:03.911Z root INFO [hosted-plugin: 23432] PLUGIN_HOST(23432): initializing(vscode-language-pack-bg@1.48.3 with C:\Users\rs_pa\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2023-09-08T23:07:03.912Z root INFO [hosted-plugin: 23432] PLUGIN_HOST(23432): initializing(vscode-language-pack-cs@1.78.0 with C:\Users\rs_pa\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2023-09-08T23:07:03.913Z root INFO [hosted-plugin: 23432] PLUGIN_HOST(23432): initializing(vscode-language-pack-de@1.78.0 with C:\Users\rs_pa\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2023-09-08T23:07:03.913Z root INFO [hosted-plugin: 23432] PLUGIN_HOST(23432): initializing(vscode-language-pack-es@1.78.0 with C:\Users\rs_pa\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2023-09-08T23:07:03.914Z root INFO [hosted-plugin: 23432] PLUGIN_HOST(23432): initializing(vscode-language-pack-fr@1.78.0 with C:\Users\rs_pa\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2023-09-08T23:07:03.915Z root INFO [hosted-plugin: 23432] PLUGIN_HOST(23432): initializing(vscode-language-pack-hu@1.48.3 with C:\Users\rs_pa\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2023-09-08T23:07:03.915Z root INFO [hosted-plugin: 23432] PLUGIN_HOST(23432): initializing(vscode-language-pack-it@1.78.0 with C:\Users\rs_pa\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2023-09-08T23:07:03.915Z root INFO [hosted-plugin: 23432] PLUGIN_HOST(23432): initializing(vscode-language-pack-ja@1.78.0 with C:\Users\rs_pa\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2023-09-08T23:07:03.916Z root INFO [hosted-plugin: 23432] PLUGIN_HOST(23432): initializing(vscode-language-pack-ko@1.78.0 with C:\Users\rs_pa\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2023-09-08T23:07:03.916Z root INFO [hosted-plugin: 23432] PLUGIN_HOST(23432): initializing(vscode-language-pack-nl@1.48.3 with C:\Users\rs_pa\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2023-09-08T23:07:03.917Z root INFO [hosted-plugin: 23432] PLUGIN_HOST(23432): initializing(vscode-language-pack-pl@1.78.0 with C:\Users\rs_pa\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2023-09-08T23:07:03.917Z root INFO [hosted-plugin: 23432] PLUGIN_HOST(23432): initializing(vscode-language-pack-pt-BR@1.78.0 with C:\Users\rs_pa\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2023-09-08T23:07:03.918Z root INFO [hosted-plugin: 23432] PLUGIN_HOST(23432): initializing(vscode-language-pack-ru@1.78.0 with C:\Users\rs_pa\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2023-09-08T23:07:03.918Z root INFO [hosted-plugin: 23432] PLUGIN_HOST(23432): initializing(vscode-language-pack-tr@1.78.0 with C:\Users\rs_pa\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2023-09-08T23:07:03.918Z root INFO [hosted-plugin: 23432] PLUGIN_HOST(23432): initializing(vscode-language-pack-uk@1.48.3 with C:\Users\rs_pa\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2023-09-08T23:07:03.919Z root INFO [hosted-plugin: 23432] PLUGIN_HOST(23432): initializing(vscode-language-pack-zh-hans@1.78.0 with C:\Users\rs_pa\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2023-09-08T23:07:03.919Z root INFO [hosted-plugin: 23432] PLUGIN_HOST(23432): initializing(vscode-language-pack-zh-hant@1.78.0 with C:\Users\rs_pa\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2023-09-08T23:07:03.922Z root INFO [hosted-plugin: 23432] PLUGIN_HOST(23432): PluginManagerExtImpl/loadPlugin(C:\Users\rs_pa\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-arduino-api\extension\dist\extension.js)
2023-09-08T23:07:03.927Z root INFO [hosted-plugin: 23432] PLUGIN_HOST(23432): PluginManagerExtImpl/loadPlugin(C:\Users\rs_pa\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-builtin-json-language-features\extension\client\dist\jsonMain)
2023-09-08T23:07:03.974Z root INFO [hosted-plugin: 23432] PLUGIN_HOST(23432): PluginManagerExtImpl/loadPlugin(C:\Users\rs_pa\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-arduino-tools\extension\dist\bundle)
2023-09-08T23:07:04.007Z root INFO [b3fd5a2e-3466-4df7-bc47-7bb9bb37d782] Starting plugins.
2023-09-08T23:07:04.009Z root INFO [hosted-plugin: 23432] PLUGIN_HOST(23432): PluginManagerExtImpl/loadPlugin(C:\Users\rs_pa\AppData\Local\Programs\Arduino IDE\resources\app\plugins\cortex-debug\extension\dist\extension.js)
2023-09-08T23:07:04.034Z root INFO [hosted-plugin: 23432] Debug configuration provider has been registered: cortex-debug, trigger: 1
2023-09-08T23:07:04.037Z root INFO [hosted-plugin: 23432] GDB server console created
2023-09-08T23:07:04.041Z root INFO [b3fd5a2e-3466-4df7-bc47-7bb9bb37d782] Start of 23 plugins: 589.2 ms [Finished 3.108 s after frontend start]
Checking for update
2023-09-08T23:07:04.612Z root INFO Replace loading indicator with ready workbench UI (animation): 857.3 ms [Finished 3.374 s after frontend start]
2023-09-08T23:07:04.612Z root INFO Changed application state from 'initialized_layout' to 'ready'.
2023-09-08T23:07:04.612Z root WARN Linked preference "workbench.colorCustomizations" not found. Source: "editor.bracketPairColorization.enabled"
2023-09-08T23:07:04.614Z root INFO Frontend application start: 2409.4 ms [Finished 4.142 s after backend start]
2023-09-08T23:07:04.734Z daemon INFO time="2023-09-08T19:07:04-04:00" level=info msg="Required tool" tool="arduino:arduinoOTA@1.3.0"
time="2023-09-08T19:07:04-04:00" level=info msg="Required tool" tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
time="2023-09-08T19:07:04-04:00" level=info msg="Required tool" tool="arduino:avrdude@6.3.0-arduino17"
2023-09-08T23:07:04.741Z daemon INFO time="2023-09-08T19:07:04-04:00" level=info msg="Required tool" tool="arduino:arduinoOTA@1.3.0"
time="2023-09-08T19:07:04-04:00" level=info msg="Required tool" tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
time="2023-09-08T19:07:04-04:00" level=info msg="Required tool" tool="arduino:avrdude@6.3.0-arduino17"
2023-09-08T23:07:04.879Z root ERROR ---- !!!SLOW!!! DURATION: search took 262.268 ms. Args: [{"type":"Updatable"}] ----
2023-09-08T23:07:04.880Z root INFO Starting language server: arduino:avr:uno
Update for version 2.2.1 is not available (latest version: 2.2.1, downgrade is allowed).
2023-09-08T23:07:05.234Z daemon INFO time="2023-09-08T19:07:05-04:00" level=info msg="Required tool" tool="arduino:arduinoOTA@1.3.0"
time="2023-09-08T19:07:05-04:00" level=info msg="Required tool" tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
time="2023-09-08T19:07:05-04:00" level=info msg="Required tool" tool="arduino:avrdude@6.3.0-arduino17"
2023-09-08T23:07:05.235Z daemon INFO time="2023-09-08T19:07:05-04:00" level=info msg="Required tool" tool="arduino:arduinoOTA@1.3.0"
time="2023-09-08T19:07:05-04:00" level=info msg="Required tool" tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
time="2023-09-08T19:07:05-04:00" level=info msg="Required tool" tool="arduino:avrdude@6.3.0-arduino17"
2023-09-08T23:07:05.237Z daemon INFO time="2023-09-08T19:07:05-04:00" level=info msg="Required tool" tool="arduino:arduinoOTA@1.3.0"
time="2023-09-08T19:07:05-04:00" level=info msg="Required tool" tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
time="2023-09-08T19:07:05-04:00" level=info msg="Required tool" tool="arduino:avrdude@6.3.0-arduino17"
2023-09-08T23:07:05.238Z daemon INFO time="2023-09-08T19:07:05-04:00" level=info msg="Adding libraries dir" dir="C:\\Users\\rs_pa\\AppData\\Local\\Arduino15\\libraries" location=ide
2023-09-08T23:07:05.238Z daemon INFO time="2023-09-08T19:07:05-04:00" level=info msg="Adding libraries dir" dir="C:\\Users\\rs_pa\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\libraries" location=platform
2023-09-08T23:07:05.238Z daemon INFO time="2023-09-08T19:07:05-04:00" level=info msg="Adding libraries dir" dir="c:\\Users\\rs_pa\\OneDrive\\Documents\\Arduino\\libraries" location=user
2023-09-08T23:07:05.794Z daemon INFO time="2023-09-08T19:07:05-04:00" level=info msg="Required tool" tool="arduino:arduinoOTA@1.3.0"
time="2023-09-08T19:07:05-04:00" level=info msg="Required tool" tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
time="2023-09-08T19:07:05-04:00" level=info msg="Required tool" tool="arduino:avrdude@6.3.0-arduino17"
2023-09-08T23:07:05.795Z daemon INFO time="2023-09-08T19:07:05-04:00" level=info msg="Required tool" tool="arduino:arduinoOTA@1.3.0"
time="2023-09-08T19:07:05-04:00" level=info msg="Required tool" tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
2023-09-08T23:07:05.795Z daemon INFO time="2023-09-08T19:07:05-04:00" level=info msg="Required tool" tool="arduino:avrdude@6.3.0-arduino17"
2023-09-08T23:07:05.797Z daemon INFO time="2023-09-08T19:07:05-04:00" level=info msg="Required tool" tool="arduino:arduinoOTA@1.3.0"
time="2023-09-08T19:07:05-04:00" level=info msg="Required tool" tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
2023-09-08T23:07:05.797Z daemon INFO time="2023-09-08T19:07:05-04:00" level=info msg="Required tool" tool="arduino:avrdude@6.3.0-arduino17"
2023-09-08T23:07:11.544Z daemon INFO time="2023-09-08T19:07:11-04:00" level=info msg="Required tool" tool="arduino:arduinoOTA@1.3.0"
time="2023-09-08T19:07:11-04:00" level=info msg="Required tool" tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
time="2023-09-08T19:07:11-04:00" level=info msg="Required tool" tool="arduino:avrdude@6.3.0-arduino17"
2023-09-08T23:07:11.544Z daemon INFO time="2023-09-08T19:07:11-04:00" level=info msg="Required tool" tool="arduino:arduinoOTA@1.3.0"
time="2023-09-08T19:07:11-04:00" level=info msg="Required tool" tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
time="2023-09-08T19:07:11-04:00" level=info msg="Required tool" tool="arduino:avrdude@6.3.0-arduino17"
2023-09-08T23:07:11.546Z daemon INFO time="2023-09-08T19:07:11-04:00" level=info msg="Required tool" tool="arduino:arduinoOTA@1.3.0"
time="2023-09-08T19:07:11-04:00" level=info msg="Required tool" tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
time="2023-09-08T19:07:11-04:00" level=info msg="Required tool" tool="arduino:avrdude@6.3.0-arduino17"
2023-09-08T23:07:17.554Z daemon INFO time="2023-09-08T19:07:17-04:00" level=info msg="Required tool" tool="arduino:arduinoOTA@1.3.0"
time="2023-09-08T19:07:17-04:00" level=info msg="Required tool" tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
time="2023-09-08T19:07:17-04:00" level=info msg="Required tool" tool="arduino:avrdude@6.3.0-arduino17"
2023-09-08T23:07:17.555Z daemon INFO time="2023-09-08T19:07:17-04:00" level=info msg="Required tool" tool="arduino:arduinoOTA@1.3.0"
time="2023-09-08T19:07:17-04:00" level=info msg="Required tool" tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
time="2023-09-08T19:07:17-04:00" level=info msg="Required tool" tool="arduino:avrdude@6.3.0-arduino17"
2023-09-08T23:07:17.557Z daemon INFO time="2023-09-08T19:07:17-04:00" level=info msg="Required tool" tool="arduino:arduinoOTA@1.3.0"
time="2023-09-08T19:07:17-04:00" level=info msg="Required tool" tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
time="2023-09-08T19:07:17-04:00" level=info msg="Required tool" tool="arduino:avrdude@6.3.0-arduino17"
2023-09-08T23:07:27.145Z root ERROR Error: EPERM: operation not permitted, fdatasync
2023-09-08T23:07:27.150Z root ERROR Error: Unable to write file 'ValveTest.ino' (Unknown (FileSystemError): Error: EBADF: bad file descriptor, write)
at x.asFileOperationError (file:///C:/Users/rs_pa/AppData/Local/Programs/Arduino%20IDE/resources/app/lib/frontend/bundle.js:2:3656405)
at x.rethrowAsFileOperationError (file:///C:/Users/rs_pa/AppData/Local/Programs/Arduino%20IDE/resources/app/lib/frontend/bundle.js:2:3656337)
at x.writeFile (file:///C:/Users/rs_pa/AppData/Local/Programs/Arduino%20IDE/resources/app/lib/frontend/bundle.js:2:3654063)
at async x.write (file:///C:/Users/rs_pa/AppData/Local/Programs/Arduino%20IDE/resources/app/lib/frontend/bundle.js:2:3651260)
at async d.doWrite (file:///C:/Users/rs_pa/AppData/Local/Programs/Arduino%20IDE/resources/app/lib/frontend/bundle.js:2:3636421)
Caused by: Error: Request 'writeFile' failed
at Proxy.<anonymous> (file:///C:/Users/rs_pa/AppData/Local/Programs/Arduino%20IDE/resources/app/lib/frontend/bundle.js:2:3031719)
at b.writeFile (file:///C:/Users/rs_pa/AppData/Local/Programs/Arduino%20IDE/resources/app/lib/frontend/bundle.js:2:3740783)
at x.doWriteUnbufferedQueued (file:///C:/Users/rs_pa/AppData/Local/Programs/Arduino%20IDE/resources/app/lib/frontend/bundle.js:2:3666184)
at file:///C:/Users/rs_pa/AppData/Local/Programs/Arduino%20IDE/resources/app/lib/frontend/bundle.js:2:3665870
Caused by: Unknown (FileSystemError): Error: EBADF: bad file descriptor, write
at u (C:\Users\rs_pa\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:1324559)
at T.toFileSystemProviderError (C:\Users\rs_pa\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:1348461)
at T.doWrite (C:\Users\rs_pa\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:1342900)
at async t.retry (C:\Users\rs_pa\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:1103881)
at async T.writeFile (C:\Users\rs_pa\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:1341372)
at async g.onRequest (C:\Users\rs_pa\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:1083037)
at async c.handleRequest (C:\Users\rs_pa\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:1073930)
The above traces to just after I dirtied the doc and selected File | Save. No warning, no message, it appeared to save - BUT DID NOT SAVE. The date stamp on the file is unchanged and opening it in Notepad confirms it does not have the comment I added to dirty the doc.
I see the relevant part of the logs here:
Unfortunately I don't know what this means or how you could fix it. Maybe one of the other helpers here on the forum will be able to provide you with more effective assistance. I searched for other reports of this error both here on the forum and in the issue tracker and didn't see any so it seems it must be quite specific to the conditions present on your machine rather than something affecting all Arduino IDE users saving sketches to OneDrive (of which there are surely many thousands).
I would recommend checking your OneDrive to make sure it is correctly configured and functional. Make sure there isn't some problem like the folder having been disconnected from the OneDrive cloud service or your drive being out of its storage allowance.
As you already discovered, the workaround is to save the sketches to some location that is not connected to OneDrive. You might also want to change your "Sketchbook location" preference to some location not connected to OneDrive.
There are two bugs, here. The most severe is not throwing an error dialog when the File | Save fails. That's huge because of losing data and it should never happen.
The other bug is not being able to save to OneDrive. This worked flawlessly until I installed v2.2.1. (A clue as to what caused it is I believe the prior versions were installed for me as the user and v2.2.1 was installed for all users.)
For now I can get by with the workaround - I just need to remember to copy a snapshot to my OneDrive when I travel. Thanks.
I agree. The Arduino IDE developers are tracking a similar bug here:
Although that one is about the failure to notify the user when saving is impossible due to the sketch having read-only file attributes, the fix for the bug should cause the IDE to notify the user of any failed save operation regardless of the specific cause of the failure.
Thanks for sharing that information. That is very valuable.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.