# Why do I get “There appers to be an error in the file named below”?

For first time in my life, I have just suffered the error: " "There appears to be an error in the file named below".

"Parse and load the entire notebook upon opening.", doesn't help.

I have saved the notebook as a plain text file and opened it an text editor; and I have come upon that the documentation header, javaDoc fashioned, that I have added above

(* Content-type: application/vnd.wolfram.mathematica *)


is broken up in pieces scatterd everywhere inside the text.

(*@@

@ user data DTD...........:
@ short description.......:
@ project.................:
@ author..................:
@ status..................:
@ todo....................:
@ changelog...............:
@ tag.....................:

@@*)


Perhaps Mathematica can't parse such a code: do you know any alternative interpretation ?

• So you've added something manually to the file first? – Kuba Apr 14 '16 at 7:19
• Yes, only what is described above. – mitochondrial Apr 14 '16 at 11:19
• I'm not experienced with that so tell me why you think you can add this header? – Kuba Apr 14 '16 at 11:22
• I wasn't able to find good example in docs but maybe .nb file needs it's structure and one is not supposed to modify it manually. I'd ask WRI. Furthermore I wouldn't say that this is a bug since you've done something undocumented to the file. – Kuba Apr 14 '16 at 18:26
• I will remove bugs not because I think so but because the convention is that it first have to be confirmed somehow. – Kuba Apr 14 '16 at 18:26