1
$\begingroup$

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

screenshoot

"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 ?

$\endgroup$
  • $\begingroup$ So you've added something manually to the file first? $\endgroup$ – Kuba Apr 14 '16 at 7:19
  • $\begingroup$ Yes, only what is described above. $\endgroup$ – mitochondrial Apr 14 '16 at 11:19
  • $\begingroup$ I'm not experienced with that so tell me why you think you can add this header? $\endgroup$ – Kuba Apr 14 '16 at 11:22
  • 1
    $\begingroup$ 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. $\endgroup$ – Kuba Apr 14 '16 at 18:26
  • 1
    $\begingroup$ I will remove bugs not because I think so but because the convention is that it first have to be confirmed somehow. $\endgroup$ – Kuba Apr 14 '16 at 18:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.