-1

My .mo file is broken after is had to do a forced restart, because my computer froze. When I want to open my file, I get this error:

18:33:15 Syntax Error [D:/ModelicaModel/MyMoFile.mo: 1:0-1:0]: Lexer failed to recognize ''

Can anyone help me to get my code back? I worked about 4 months and I would have never imagined this could happen. I have back ups in text files, but all of them have an error for some reason, which I also do not know how to fix.

I tried to find any temp files, but besides this I am clueless.

Dharman
  • 30,962
  • 25
  • 85
  • 135

1 Answers1

-1

Is the file empty or does it have something in it? Sometimes on forced restart it could happen to corrupt files, but usually is rather seldom.

I would suggest running a filesystem repair or some undelete utility.

You say your backups have issues, send us an email at openmodelica@ida.liu.se and I will try to help you with this if I can.

Adrian Pop
  • 4,034
  • 13
  • 16