tried to recover a backed-up directory lazarus / 15-macOS - Mac OS X ---------------------------------------------------------------------- mbohn · 2010-01-17 18:20 I needed to go back a few versions of my app so I went into Time Machine and recovered the appropriate directory into the same higher- level directory it came from when it was backed-up. When I then try to load the .lpr into Lazarus I get an error that the .lpi is not readable (even tho it is with TextEdit.app).   So, I manually added all the necessary source files into the project and then built the app, which succeeded.  But if I then try to run it as usual: ./project1 it won't run, says that project1 is a folder and can't be run. It seems that something has gotten confused by copying the backed up directory but I'm not sure. ---------------------------------------------------------------------- mbohn · 2010-01-19 14:52 I was able to get this to work so I thought I'd post it in case someone else runs into this issue. I basically used a brute-force method.  I created a new app and saved that to an appropriately-name directory.  Appropriate means one that won't conflict with any similar-named project, I just appended the date to the directory name.  I then brought in all the source files and data files that I restored via Time Machine.  The one exception is the .lpr file which needs to be copied to the new directory with a different name or copied to your desktop with the same name, if you prefer.  Copy the contents of the restored .lpr into the new .lpr, add all the source units to the new project and compile. Worked first time for me.  Being able to go back to any point in time and compare results from the two source codes was very helpful for me to understand why I was getting different results from the two source codes.