5

I am new to Mathematica and hope this is not something very obvious.

Whenever I start a new session on Mathematica and try to work on a previously saved file, Mathematica shows me the error message I have attached here. Regardless of what I choose here, the file wouldn't work properly. Can someone please tell me how to fix this?

Thank youenter image description here

  • Welcome to Mathematica.SE! I hope you will become a regular contributor. To get started, 1) take the introductory [tour] now, 2) when you see good questions and answers, vote them up by clicking the gray triangles, because the credibility of the system is based on the reputation gained by users sharing their knowledge, 3) remember to accept the answer, if any, that solves your problem, by clicking the checkmark sign, and 4) give help too, by answering questions in your areas of expertise. – bbgodfrey Jul 04 '21 at 23:43
  • Obtain some understanding of this message by reading InitializationCell in the documentation. However, because your notebook does not work properly no matter which button you select, there may be a problem in it that has nothing to do with Initialization Cells. I recommend that you provide more details, like what are the symptoms of the notebook not working properly. – bbgodfrey Jul 04 '21 at 23:50
  • Maybe nitpicking, but that isn't an error message. – Andreas Rejbrand Jul 05 '21 at 11:48

2 Answers2

3

First, select all the input cells on the right side, like this:

enter image description here

Then, apply Ctrl+8 and save changes.

E. Chan-López
  • 23,117
  • 3
  • 21
  • 44
2

The message about initialization cells isn't an error. Initialization cells are specially formatted cells that you can choose to evaluate all at once before anything else when you get this message.

As for the notebook not working, it is a little hard to advise without knowing what's in the notebook. Still, make sure you evaluate the cells in the right order. If you want to evaluate individual cells, select the cell by clicking on their brackets on the right and press (Shift+Enter). Depending on what's in the notebook, you might want to evaluate all the cells in the notebook at once by going to the Evaluation menu at the top and clicking "Evaluate Notebook."

VentricleV
  • 96
  • 4