Skip to main content
4-Participant
October 28, 2021
Solved

corrupted files.

  • October 28, 2021
  • 2 replies
  • 1982 views

Hi I am student and some of my files are corrupted.

I have 2 mcdx files where there is an error with precision in some calculations.

when the files where saved, a critical error had occurred setting precision to "" (ergo nothing) I remember ignoring it and thinking nothing of it.

I have tried a fix where you turn the files into .zip and alter the worksheet file manually, but when I try to open it after I have repacked it and changed it back to mcdx, it just doesn't open.

 

if anyone has a fix, that be awesome

thanks in advance.

 

regards Karsten

Best answer by Werner_E

rename the corrupt files to *.zip

In the zip file edit the file \mathcad\worksheet.xml by replacing every occurrence (there are a couple of them) of

precision=""

by

precision="0"

(or whatever precision you think is appropriate) and resave the edited file back to the zip archive.

Rename the zip-file back to *.mcdx and Prime will open the file.

As far as I understand, that's exactly what you were trying to do anyway. Maybe you missed to replace one or the other occurrence of precision = "".

 

Find attached the two modified files.

2 replies

Werner_E25-Diamond IAnswer
25-Diamond I
October 28, 2021

rename the corrupt files to *.zip

In the zip file edit the file \mathcad\worksheet.xml by replacing every occurrence (there are a couple of them) of

precision=""

by

precision="0"

(or whatever precision you think is appropriate) and resave the edited file back to the zip archive.

Rename the zip-file back to *.mcdx and Prime will open the file.

As far as I understand, that's exactly what you were trying to do anyway. Maybe you missed to replace one or the other occurrence of precision = "".

 

Find attached the two modified files.

KarstenJ4-ParticipantAuthor
4-Participant
December 21, 2021

thank you for your help.

ttokoro
21-Topaz I
21-Topaz I
October 28, 2021

Collect Prime7 files attached. Yellow color equations are added.

t.t.