-
-
Notifications
You must be signed in to change notification settings - Fork 401
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crashing on start #2561
Comments
I was able to "solve" this issue by temporarily changing the TEMP env variable to a different drive. |
Have you tried formatting the Ram disk as NTFS?
Note: I use Linux so the above was just a google search for "imdisk ntfs" |
I tried it a long time ago but there were more problems with NTFS. I don't recall what they were but I would have used it instead if it worked right. Some other apps I use for other things fail also. E.g., if I use a recycle app to delete files to the recycle bin it will fail since obvious it doesn't exist on the drive. The workaround works fine for me so I'll just keep using that. |
Describe the problem
Failed to start the electron application.
Error: EISDIR: illegal operation on a directory, realpath 'Z:\Temp'
at Function. (node:fs:2719:3)
at Function.native (node:electron/js2c/asar_bundle:2:5101)
at new d (C:\Apps\Programming\ArduinoIDE\resources\app\lib\backend\electron-main.js:2:769052)
at Ee (C:\Apps\Programming\ArduinoIDE\resources\app\lib\backend\electron-main.js:8:633790)
at C:\Apps\Programming\ArduinoIDE\resources\app\lib\backend\electron-main.js:8:637767
at Le (C:\Apps\Programming\ArduinoIDE\resources\app\lib\backend\electron-main.js:8:637836)
at C:\Apps\Programming\ArduinoIDE\resources\app\lib\backend\electron-main.js:8:638223
at Fe (C:\Apps\Programming\ArduinoIDE\resources\app\lib\backend\electron-main.js:8:638164)
at Oe (C:\Apps\Programming\ArduinoIDE\resources\app\lib\backend\electron-main.js:8:638198)
at C:\Apps\Programming\ArduinoIDE\resources\app\lib\backend\electron-main.js:8:636512 {
errno: -4068,
syscall: 'realpath',
code: 'EISDIR',
path: 'Z:\Temp'
}
The Z drive I use is actually a ram drive which I created using ImDisk. The reason is, of course, even though I have 128GB of memory apps love to thrash the drives temp files so I use ramdisk to avoid this and it typically speeds up some applications.
To reproduce
Do as you like
Expected behavior
For it to work.
Arduino IDE version
nightly
Operating system
Windows
Operating system version
Latest
Additional context
This technically may be an issue with ImDisk or with node or whatever Arduino uses.
E.g., every once in a while I have an issue with some apps not working well with the temp dir being on a ramdisk. E.g., some recycle programs do not work well because the drive is not NTFS(does not contain a $recycle dir).
There technically should be no reason it shouldn't work though. I use thousands of programs and almost all work fine(from more complex apps like various IDE's to graphics apps to whatever.
Issue checklist
The text was updated successfully, but these errors were encountered: