Skip to content

IDE fails to open on a RAM drive, stalls at white window and busy spinner #1236

Open
@Defragster

Description

@Defragster

Describe the problem

When I start Arduino IDE, the window and title bar appear, but it remains forever on the splash screen/loading animation.

To reproduce

  1. Unzip arduino-ide_2.0.0-rc9_Windows_64bit.zip to empty folder.
  2. Start Arduino IDE.

🐛 Startup hangs forever at the loading animation.

  1. Install arduino-ide_2.0.0-rc9_Windows_64bit.msi
  2. Start Arduino IDE.

🐛 Startup hangs forever at the loading animation.

Expected behavior

Expected either the IDE to appear like early nightly builds did Jan/Feb, or present some error messages or feedback as to the nature of some problem with startup.

Arduino IDE version

Original report

2.0.0-rc9

Last verified with

76f9f63 (reference)

Operating system

Windows

Operating system version

Windows 11 : Microsoft Windows [Version 10.0.22000.739]

Additional context

Attempts to resolve noted here:

https://forum.pjrc.com/threads/53548-Arduino-CLI-And-IDE-2-RC-Release-Teensy-Support?p=309665&viewfull=1#post309665

(see posts 270 and 274)


Removed %appdata% folder local\arduino15 and the two in roaming and no difference.


I configured my security software to avoid it interfering with Arduino IDE:

Arduino IDE ZIP package is 'unblocked' so extracted files are not marked 'Blocked'.

Folder is in an excluded 'scan' folder for MalwareBytes.

Windows Defender also active, added exclusion.


Machine has been restarted as needed to allow removal of indicated folders and behavior persists.


The fault occurs with the MSI and ZIP packages of Arduino IDE


The fault still occurs after deleting the Arduino15 folder.


Not aware of anything else that may be present on the system causing this.

Running the EXE from the ZIP in an ADMIN command box I get this:

C:\T_Drive\ardIDE_2>"Arduino IDE.exe"

C:\T_Drive\ardIDE_2>
Starting backend process. PID: 13200
Using browser-only version of superagent in non-browser environment
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 SketchesServiceImpl (C:\T_Drive\ardIDE_2\resources\app\node_modules\arduino-ide-extension\lib\node\sketches-service-impl.js:48:51)
    at _createInstance (C:\T_Drive\ardIDE_2\resources\app\node_modules\inversify\lib\resolution\instantiation.js:27:12)
    at Object.resolveInstance (C:\T_Drive\ardIDE_2\resources\app\node_modules\inversify\lib\resolution\instantiation.js:47:18)
    at C:\T_Drive\ardIDE_2\resources\app\node_modules\inversify\lib\resolution\resolver.js:75:42
    at Object.resolve (C:\T_Drive\ardIDE_2\resources\app\node_modules\inversify\lib\resolution\resolver.js:99:12)
    at C:\T_Drive\ardIDE_2\resources\app\node_modules\inversify\lib\container\container.js:335:37
    at Container._get (C:\T_Drive\ardIDE_2\resources\app\node_modules\inversify\lib\container\container.js:326:44)
    at Container.get (C:\T_Drive\ardIDE_2\resources\app\node_modules\inversify\lib\container\container.js:243:21) {
  errno: -4068,
  syscall: 'realpath',
  code: 'EISDIR',
  path: 'R:\\Temp'
}
Configuration directory URI: 'file:///c%3A/Users/Tim/.theia'
Theia app listening on http://localhost:56933.
root INFO Finished starting backend application: 4.1 ms [Finished 1.286 s after backend start]
[30924:0720/231630.034:ERROR:gpu_init.cc(453)] Passthrough is not supported, GL is disabled, ANGLE is
Stored workspaces roots:

C:\T_Drive\ardIDE_2>

The fault does not occur when using Arduino IDE 1.8.19 + Teensyduino 1.57b4.


Related discussion:

https://forum.pjrc.com/threads/70455-Teensyduino-1-57-Beta-3?p=309464&viewfull=1#post309464

(see posts 33, 36, 38)


Possibly related:

nodejs/node#6861

Additional reports

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions