check the errors in the console tab when you open the file (or start up shake in verbose mode from the terminal).. take note with nodes throw up the errors and open the script in a text editor (make a backup first!).
try to fix the error there, open in shake again, check next error. repeat...
might take a while, but usually it's possible to recover the script.
++ christoph ++