I had two users get 500 status code with a jinja2 template error today.
" jinja2.exceptions.UndefinedError: 'page_config' is undefined"
The closest I can find in the search is an issue with nbconvert. I do use nbconvert, but it is working fine as far as I can tell. The problem was fixed by stopping / starting their containers.
Where is page_config stored? All I can think is that somehow they are deleting the value in this variable, but I can’t figure out how / where that would be done. None of the other users have gotten this (knock on wood), so it seems to be something rare.
I’m using:
jupyterhub 2.1.1
jupyterlab 4.0.5
notebook 6.4.7
Thanks,
Mark