IDE2 RC6 was the last that did not stall on my PC. All later versions, including the actual official release just open 3 instances on Windows 11 and than wait for eternity.
Is there anybody having same experience / a solution for this?
System: Windows 11 21H2 22000.978
Processor: 11th Gen Intel(R) Core(TM) i7-11700K @ 3.60GHz 3.60 GHz
RAM: 32.0 GB (31.9 GB usable); temp in IMDisk RAMDisk (8G).
SSD1: NVMe Samsung 980 1T (640G for Windows, remainder for latest Ubuntu).
SSD2: NVMe Kingston SA 1000M 512G
SSD3: CT2000MX500SSD1 2T
installed in c:\Program Files\
Hi @egi1965. I'm going to ask you to post some additional information that might help us to identify the problem.
Please do this:
Start Windows "File Explorer".
Open the Arduino IDE installation folder.
(usually C:\Program Files\Arduino IDE or C:\Users\<user name>\AppData\Local\Programs\Arduino IDE).
In the folder listing of the Arduino IDE installation folder, hold the Shift key while clicking the right hand button on the mouse.
From the context menu, click "Open PowerShell window here".
PowerShell will now open with the current directory set to the Arduino IDE installation folder.
Type the following command:
& ".\Arduino IDE"
Press the Enter key.
Debug output should now be printed to the PowerShell window as the Arduino IDE starts (or fails to start).
Wait until you are certain the Arduino IDE startup has completely stalled.
Switch back to the PowerShell window if the Arduino IDE window took the focus.
Right click on the title bar of the PowerShell window.
This will open a context menu.
Select Edit > Select All from the context menu.
This will select all the text in the PowerShell window.
Press Ctrl+C.
This will copy the contents of the PowerShell window to the clipboard.
Open a forum reply here by clicking the Reply button.
Click the </> icon on the post composer toolbar.
This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
Press Ctrl+V.
This will paste the output into the code block.
Move the cursor outside of the code block markup before you add any additional text to your reply.
Click the Reply button to post the output.
Please let me know if you have any questions or problems while following those instructions.
RC6 was the last IDE2 that booted on my computer (alongside IDE1). All ID2 releases following RC6, including the latest official, just wait for eternity but never show any sign being operational.
I have merged your duplicate posts to a single topic @egi1965.
In the future, please only create one topic/post for each distinct subject matter. This is basic forum etiquette, as explained in the "How to get the best out of this forum" guide. It contains a lot of other useful information. Please read it.
As I expected (reason why I added it to my config -> I use IMDisk RAM disk for temp), Arduino 2 seems have trouble using a ramdisk for %temp%. I put 32G inside to allocate 8G RAM to temp so I never have to clean the junk (storage sense in Windows 10 also did not succeed to clean the mess). In the past had similar issue with Oracle Virtual Box, but that is solved since long. Note R:\temp does exist, but it does not qualify as hard disk / SSD.
This is the log:
PS C:\Program Files\Arduino IDE> & ".\Arduino IDE"
PS C:\Program Files\Arduino IDE>
Failed to start the electron application.
Error: EISDIR: illegal operation on a directory, realpath 'R:\temp'
at Function.realpathSync.native (node:fs:2540:3)
at Function.native (node:electron/js2c/asar_bundle:5:4819)
at new IsTempSketch (C:\Program Files\Arduino IDE\resources\app\node_modules\arduino-ide-extension\lib\node\is-temp-sketch.js:25:51)
at Object.resolveInstance (C:\Program Files\Arduino IDE\resources\app\node_modules\inversify\lib\resolution\instantiation.js:51:18)
at C:\Program Files\Arduino IDE\resources\app\node_modules\inversify\lib\resolution\resolver.js:75:42
at Array.map ()
at _injectProperties (C:\Program Files\Arduino IDE\resources\app\node_modules\inversify\lib\resolution\instantiation.js:17:57)
at Object.resolveInstance (C:\Program Files\Arduino IDE\resources\app\node_modules\inversify\lib\resolution\instantiation.js:48:18)
at C:\Program Files\Arduino IDE\resources\app\node_modules\inversify\lib\resolution\resolver.js:75:42
at Object.resolve (C:\Program Files\Arduino IDE\resources\app\node_modules\inversify\lib\resolution\resolver.js:99:12) {
errno: -4068,
syscall: 'realpath',
code: 'EISDIR',
path: 'R:\temp'
}
I am seeing the same on a fresh 2.0 install when replacing a 1.8 install. I use a network drive to store scetches. This seems to occur when the network drive is not available. 1.8 would gracefully handle it by opening a blank scetch.
Hi @mduplissey. I believe your issue where the drive is not available (which I think is different from the one about the RAM drive, which is available) has been fixed:
That was done since the time of the Arduino IDE 2.0.3 release, but it is available in the latest nightly build. If you would like to give it a try, the download links are listed here:
Still same error at startup. My R-drive is an 8G IMDisk RAM drive that contains Temp, to make sure temp is cleared every time I restart my computer. This is Powershell started as admin:
PS E:\Downloads\arduino-ide_nightly-20230110_Windows_64bit> & '.\Arduino IDE.exe'
PS E:\Downloads\arduino-ide_nightly-20230110_Windows_64bit>
Failed to start the electron application.
Error: EISDIR: illegal operation on a directory, realpath 'R:\temp'
at Function.realpathSync.native (node:fs:2540:3)
at Function.native (node:electron/js2c/asar_bundle:5:4819)
at new IsTempSketch (E:\Downloads\arduino-ide_nightly-20230110_Windows_64bit\resources\app\node_modules\arduino-ide-extension\lib\node\is-temp-sketch.js:25:51)
at Object.resolveInstance (E:\Downloads\arduino-ide_nightly-20230110_Windows_64bit\resources\app\node_modules\inversify\lib\resolution\instantiation.js:51:18)
at E:\Downloads\arduino-ide_nightly-20230110_Windows_64bit\resources\app\node_modules\inversify\lib\resolution\resolver.js:75:42
at Array.map ()
at _injectProperties (E:\Downloads\arduino-ide_nightly-20230110_Windows_64bit\resources\app\node_modules\inversify\lib\resolution\instantiation.js:17:57)
at Object.resolveInstance (E:\Downloads\arduino-ide_nightly-20230110_Windows_64bit\resources\app\node_modules\inversify\lib\resolution\instantiation.js:48:18)
at E:\Downloads\arduino-ide_nightly-20230110_Windows_64bit\resources\app\node_modules\inversify\lib\resolution\resolver.js:75:42
at Object.resolve (E:\Downloads\arduino-ide_nightly-20230110_Windows_64bit\resources\app\node_modules\inversify\lib\resolution\resolver.js:99:12) {
errno: -4068,
syscall: 'realpath',
code: 'EISDIR',
path: 'R:\temp'
}
Thanks for checking @egi1965. That is unfortunate.
I had a suspicion that arduino/arduino-ide#1774 would not fix the bug related to RAM drives since the bug that PR was intended to fix occurred when the sketchbook was not accessible (e.g., on a drive that had been disconnected from the computer), whereas in your case the drive is accessible, but my suspicions are often as not wrong so it is very valuable to have your real verification that the bug is still present. I updated arduino/arduino-ide#1236 with this information.