Cannot open ardunio ide 2.3.2 on new machine

Hello,

When I attempt to open the new Arduino version, which I just downloaded onto my new computer today, the Arduino loading screen is continually there and the sketch I'm attempting to load never loads. I've attempted a restart and a reinstall, but without luck and the sketch and Arduino UI are still not loading.

Is this a known issue, and are there any fixes available?

Thanks,
i use win11

{"IP":"127.0.0.1","Port":"54391"}
2024-05-19T20:38:37.480Z daemon INFO Unable to get Documents Folder: The system cannot find the file specified.
2024-05-19T20:38:37.480Z daemon ERROR Error: Unable to get Documents Folder: The system cannot find the file specified.
    at Socket.<anonymous> (C:\Users\leanne\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:43051)    at Socket.emit (node:events:514:28)
    at addChunk (node:internal/streams/readable:324:12)
    at readableAddChunk (node:internal/streams/readable:297:9)
    at Socket.push (node:internal/streams/readable:234:10)
    at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)
2024-05-19T20:38:37.480Z daemon INFO Starting daemon from C:\Users\leanne\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\resources\arduino-cli.exe...
2024-05-19T20:38:37.542Z daemon INFO time="2024-05-20T04:38:37+08:00" level=warning msg="Unable to get Documents Folder: The system cannot find the file specified."
2024-05-19T20:38:37.542Z daemon INFO time="2024-05-20T04:38:37+08:00" level=info msg="Using config file: c:\\Users\\leanne\\.arduinoIDE\\arduino-cli.yaml"
time="2024-05-20T04:38:37+08:00" level=info msg="arduino-cli.exe version 0.35.3"
time="2024-05-20T04:38:37+08:00" level=info msg="Executing `arduino-cli daemon`"

Hi @2087_leanne.

On startup, Arduino IDE queries the Windows operating system for the location of your user "Documents" folder. The reason Arduino IDE is not starting is because when it makes this query Windows responds that the "Documents" folder doesn't exist. Since that folder should always exist, the IDE fails to start with this "Unable to get Documents Folder: ..." error.

Traditionally, the default location of the "Documents" folder was a path with this format:

C:\Users\<username>\Documents

(where <username> is your Windows username)

Although that is the default, it is possible to customize the location of this folder. If the location was changed to a drive that is not accessible (e.g., a USB drive that is unplugged), that could cause the "Unable to get Documents Folder: ..." error.

If you have the Windows "OneDrive folder syncing" feature enabled, the "Documents" folder is located under the OneDrive storage by default, at a path with this format:

C:\Users\<username>\OneDrive\Documents

(where the name of the Documents folder might actually be the localized equivalent)

It is also possible the folder could be located on alternative cloud storage providers (e.g., Dropbox.

When other users reported encountering this "Unable to get Documents Folder: ..." error, we often found that the problem was caused by them having disabled OneDrive in some manner, or else by them not having a connection to the OneDrive service.

Can you think of anything unusual about your system that might cause Arduino IDE to not be able to access your "Documents" folder?

thank!!!! i uninstall my one drive before , after i reset my new machine , this problem sloved. vhank you very much

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

Regards,
Per

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