Processing IDE unable to read source code files

157 views Asked by At

Yesterday I worked on a project, saved the project, and shut off my computer. Today, I tried to open said files but all I got was a blank IDE.

The source code files are stored in a folder along with several .png files that are being used for my project. There are 2 source code files corresponding to the 2 tabs I have in my project.

The files are not empty as their size is what you would expect a file containing code to be (1.32 KB and 902b, both being ~80 lines long) so I'm not sure why the IDE cannot open/read them.

I have tried restarting my PC and it has had no effect. Other source code files can be opened normally. If anyone has experienced similar issues any help is appreciated.

1

There are 1 answers

4
Kevin Workman On

How exactly are you opening the files?

Are you double-clicking them from a file explorer? Are you opening the Processing editor and then going to File -> Open? Something else?

Note that .pde files are just text files, and you can open them up with any text editor. Try opening them up in a basic text editor and checking if the files contain what you expect.

You could try opening Processing up through a command line to see if you see any extra output there. Also you might try uninstalling and reinstalling Processing.

Try with a simpler sketch file. Does that open up okay? Is it a particular part of your code that causes the error? Try to narrow it down to a MCVE that we can use to reproduce the problem ourselves.