Arduino GUI is not opening any code

Hi. I was running a sketch and IDE froze. I quite the application and the next time I opened my sketch, the app opens, but no sketch.

I can't open any .ino files.

I've tried uninstalling and re-installing, but when I open the downloader, the icon for the software has the (anti-sign - you know the circle with the slash through it).

Andy ideas how to get IDE back?

Thanks,

Christa

Please explain what this means: what did you do, what did you expect to happen, and what happens instead? Post complete error messages.

For posting instructions, have a look at the "How to get the best out of this forum" post, linked at the head of every forum category.

1 Like

What OS are you using?

Which operating system?

How do you try to open the ino files? Using file → open or by double clicking in a file browser?

I don't know? Where do you see that? In your operating system? In your browser?

Hi @christa. The other helpers are already taking the appropriate measures to investigate the problem you are experiencing with the IDE, but I thought it would be a good idea to determine whether another problem might need to be addressed:

Did you have significant unsaved changes in the sketch that might have been lost when the IDE froze?

I ask because it might be possible to recover a copy of your sketch. The copy is stored in a temporary folder that might be erased at any time, so if a recovery is necessary then it should be attempted ASAP.

But if you didn't lose anything of value when the IDE froze then we don't need to worry about that and can instead focus all our attention on getting the IDE functional again.


For either endeavor, it will be useful for us to know which version of Arduino IDE you were using. Do you remember the version (e.g., "2.3.4" or "1.8.19")?

Thanks everyone for your help so far.

For trying to open the .ino files. I can't open by double-clicking. With Arduino IDE open, I no longer get he option to open files. The program looks like it is open on my dock and some menu options are there, but the main window that usually houses the code and other gui is gone. See this screenshot.

For the anti-sign on the Arduino IDE - it was in the installer. In my frustration yesterday, I downloaded the incorrect version. So this is solved. Even today, when uninstalling and re-installing the same version, the application responds the same way.

I tried moving the Arduino15 folder, but no change in behavior.

Thank you. The code change wasn't significant. Thank you for this info though. Definitely good to know for the future.

1 Like

I'm using Mac Sonoma 14.6.1

Getting the IDE to open the .ino files is simple, just do a Right Click, then Get Info now 3/4 of the way down make the Open With the Arduino IDE and click the Change All button

They have opened in it previously. But now, the Application won't show the main code window. It opens as if it is launching in Arduino IDE but there is no window.

The app opens, but nothing is visible.

I saw some trouble shooting that says remove user preferences from the Arduino application support window, but I'm not seeing any such folder to remove.

Click the Apple logo top left then click About and screen grab (Shift-Cmd-4) the dialogue box that pops up. Post it here.

@ptillisch My hunch is some remnants of the incorrect install are getting in the way. WAIT until an Arduino rep can tell you exactly how to remove ALL remnants of ANY install then you can download the correct version

Did you do anything with the hidden folder .arduinoIDE ?

Have you downloaded the Arduino Agent? If NOT then do not, that is one less thing to worry about for now. Let me know.

No Arduino Agent installed.

The incorrect version would not install. I was having this issue before trying to uninstall and reinstall.

I have not done anything with the hidden folder. And I don't see it in library>application support or the Applications filer Where is it located?

To totally remove the Arduino IDE delete the following folders then just download the correct (X86 or Mac Silicone).
To see the hidden files use the 3 key combo inside the [] [Shift Command .]
Open finder and click your name, you should see the following. Since you didn't install the agent, the first folder .arduino-create is probably not there. The second folder is the Arduino15 which is under your Library folder under your username, see 2nd pic. That gets rid of all the Arduino files except your sketches and any libraries you have in your sketchbook, they are ok. I included a screen grab of the downloads, you want the last one Apple Silicon.
Screenshot 2025-01-23 at 17.21.22


I've done a full uninstall and re-install and still no Arduino window available. If anyone has any other advice, let me know.

UPDATE: I cannot get IDE 2.0 to run as it did before, but 1.8.18 is working fine, so I'm going to use that. Thanks!