Progress not showing or updating

I’m working on a large script and decided to add progress.

The View Progress menu is inactive for the script, and doesn’t display in the blue box at the top of the window. Also, the progress pie at the top right of the tool bar displays, but does not update. It remains an empty circle.

Progress works as expected in other scripts.