I think I'm experiencing a bug, but perhaps there is a simple explanation and fix.

I have many initialization cells in my notebook (a few hundred). As of quite recently, they stopped all evaluating when I execute "Evaluate Initialization Cells". Some do, but some don't—I haven't yet detected any pattern. I can tell when they don't evaluate because, on top of the code not working correctly, I can still see In[•] next to the cell after "Evaluate Initialization Cells" is complete. But such cells are still grayed out and when I right-click their side panel, the "Initialization Cell" option is checked off.

Any ideas what could be going on? Is this definitely a bug? This might have begun recently after I had to force-quit Mathematica while it was stuck in a loop.

  • 1
    $\begingroup$ Can you copy the cell expression (Cell | Show Expression from the menu) of a cell that didn't evaluate, and include it in your question? $\endgroup$
    – Carl Woll
    Commented Oct 15, 2021 at 22:52

1 Answer 1


Click on Evaluation/Restart Session and try evaluating again.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.