Accidentally misclicked on new project, followed by a save and now everything is empty except “main”.
Years of work gone. Not even kidding.
Ideas? Probably nothing one can do?
It’s ok, i didn’t want to update the arduino ever again anyway.
If that is really what you did, it should not have deleted data from your computer. Did you perhaps just change workspace? If that is what happened, you should be able to change back to the previous workspace (assuming you can figure out where it is on your disk; mine is in C:\Users<myname>\xod, but it has been too long since I set it up…I don’t remember if that was the default…).
It was late, I don’t recall exactly, except that for some dumb reason i didn’t press ctrl-s and decided to do it through the menu. The project file is the same, in the same directory, it didn’t change except that it’s now 1kb big. When i open it, under my projects, everything is empty. As if I installed a new version of xod.
That’s the beauty of overwriting. It doesn’t delete. Else I could undelete it.
Unless you only had a single project called “My Project”, I don’t understand how everything got deleted. If that was the case, and you don’t have any backups, then yes, your work is probably gone. Overwrite is basically a delete & create new, so you might still be able to do an undelete if you have software that will let you scan unallocated blocks on your drive, but getting the whole thing put back together might be difficult even in that case.
You really have “years of work” and you only have a single project, using the default project name, with no backups, and you never shared your project by adding it to Libraries — XOD (File>Publish Library)? If that was the case, it was only a matter of time before you lost everything. People make mistakes; hard drives WILL eventually fail; computers get stolen; houses burn down. I know this sounds harsh, but it needs to be said, as a warning to others & to you going forward. If you have something important on your computer, there NEED to be backups; preferably off-site, but at least in a fire-proof box that can’t be easily stolen. The really hard part…you NEED to keep updating those backups, and there should be more than one copy. In Windows, robocopy will copy just changes without having to over-write the entire backup copy. rsync does the same thing in Linux. This is faster & will not wear out a flash drive as quickly as a raw “copy this folder over, replacing all files”, but even a raw copy is better than nothing.
If you had multiple projects, there are no options in the XOD menu that would have deleted them all with a single save, but Switch Workspace would make it look like the projects were gone because you are looking in a different folder; the projects would still exist in the old folder. Try looking around in File Explorer and see if anything looks suspicious.
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.