Indeed. If you can’t open the files in a text editor, then the files are corrupted.
I had a short look at: Solar_MPPT/Solar MPPT-backups/Solar MPPT-2023-11-07_191005 and that backup still looks all right. A fresher backup may also be OK, but I have not checked them all. Using both git and KiCads backups is a belt and braces method but when *&^%$#@! happens, it’s nice to have open options.
I knoww… my first guest was also the same, but can someone please help me out fix this… i cant redo this as it took quite an effort building the library.
P.S., the Project is quite recent and not an old one.
Help with what?
Your current project is corrupted, and the backup Solar MPPT-2023-11-10_140206 too, but the backup from 2023-11-07_191005 appears to work. You have 9 other backups in that timespan you can check, and I have not looked what other things are in git.
Solar MPPT-2023-11-09_235038 is very likely the last good backup, as after that the size of the zip file shrinks from 113KiB to 26KiB. So you likely lost a day of work. Maybe a small comfort is that re-doing the work is probably a bit quicker then it was the first time because you don’t have to figure out what to do.
Also, while taking a shower I wondered how all 6 backups made today could get corrupted. (Assume by file size). Maybe it is a bug in KiCad, maybe some other thing in your computer got corrupted . Do you have any idea on how this got started?
paul@cezanne:~/Solar_MPPT/Solar MPPT-backups$ ls -hl
total 1,5M
-rw-rw-r-- 1 paul paul 14K Nov 10 14:54 'Solar MPPT-2023-11-03_132201.zip'
-rw-rw-r-- 1 paul paul 14K Nov 10 14:54 'Solar MPPT-2023-11-03_132846.zip'
-rw-rw-r-- 1 paul paul 14K Nov 10 14:54 'Solar MPPT-2023-11-03_134625.zip'
-rw-rw-r-- 1 paul paul 16K Nov 10 14:54 'Solar MPPT-2023-11-03_135833.zip'
-rw-rw-r-- 1 paul paul 22K Nov 10 14:54 'Solar MPPT-2023-11-05_232755.zip'
-rw-rw-r-- 1 paul paul 31K Nov 10 14:54 'Solar MPPT-2023-11-06_231423.zip'
-rw-rw-r-- 1 paul paul 33K Nov 10 14:54 'Solar MPPT-2023-11-06_232005.zip'
-rw-rw-r-- 1 paul paul 34K Nov 10 14:54 'Solar MPPT-2023-11-06_232609.zip'
-rw-rw-r-- 1 paul paul 47K Nov 10 14:54 'Solar MPPT-2023-11-06_233132.zip'
-rw-rw-r-- 1 paul paul 47K Nov 10 14:54 'Solar MPPT-2023-11-06_234607.zip'
-rw-rw-r-- 1 paul paul 75K Nov 10 14:54 'Solar MPPT-2023-11-07_191005.zip'
-rw-rw-r-- 1 paul paul 68K Nov 10 14:54 'Solar MPPT-2023-11-07_191826.zip'
-rw-rw-r-- 1 paul paul 73K Nov 10 14:54 'Solar MPPT-2023-11-07_192655.zip'
-rw-rw-r-- 1 paul paul 93K Nov 10 14:54 'Solar MPPT-2023-11-07_193753.zip'
-rw-rw-r-- 1 paul paul 112K Nov 10 14:54 'Solar MPPT-2023-11-07_194320.zip'
-rw-rw-r-- 1 paul paul 114K Nov 10 14:54 'Solar MPPT-2023-11-08_212151.zip'
-rw-rw-r-- 1 paul paul 114K Nov 10 14:54 'Solar MPPT-2023-11-08_215316.zip'
-rw-rw-r-- 1 paul paul 115K Nov 10 14:54 'Solar MPPT-2023-11-09_121939.zip'
-rw-rw-r-- 1 paul paul 114K Nov 10 14:54 'Solar MPPT-2023-11-09_234102.zip'
-rw-rw-r-- 1 paul paul 113K Nov 10 14:54 'Solar MPPT-2023-11-09_235038.zip'
-rw-rw-r-- 1 paul paul 27K Nov 10 14:54 'Solar MPPT-2023-11-10_071032.zip'
-rw-rw-r-- 1 paul paul 27K Nov 10 14:54 'Solar MPPT-2023-11-10_080800.zip'
-rw-rw-r-- 1 paul paul 27K Nov 10 14:54 'Solar MPPT-2023-11-10_081830.zip'
-rw-rw-r-- 1 paul paul 27K Nov 10 14:54 'Solar MPPT-2023-11-10_134601.zip'
-rw-rw-r-- 1 paul paul 27K Nov 10 14:54 'Solar MPPT-2023-11-10_140206.zip'
-rw-rw-r-- 1 paul paul 27K Nov 10 14:54 'Solar MPPT-2023-11-10_181908.zip'
Boost_Converter_B.kicad_sch is corrupt, the main Solar MPPT.kicad_sch file too, but for example Boost_Converter.kicad_sch still works. So you can make a combination of the files that are still good with files from your backup to replace the damaged files.
That seems exaggerated. I guess yesterday’s backups are still good, and you may be able to restore a part of today’s work. Maybe first have a cup of coffee or do something else to get your mind off of things and then continue with a fresh attitude.