I am using papermill and nbconvert to generate HTML files out of my jupyter notebooks.
I recently moved onto a new container (RHEL 8 linux). In this new infra, I coninuously get a warning message in every cell, big and pink and ugly:
WARNING:monitoring_extension:Issue posting to monitoring service: Can’t identify the notebook path.
I have tried to suppress the warning using libraries ‘warnings’ and ‘shutup’ and ‘IPython.core.display’ -> clear_output. Nothing works! This warning cannot be suppressed!
Anyone have any advice? It seems to only occur with nbconvert, if I run the notebook normally, no warning.
papermill==2.5.0
jupyter==1.0.0
Ran notebook, got HTML output, full of pink warning text.
Tried:
import warnings
warnings.filterwarnings(‘ignore’)
warnings.warn_explicit = warnings.warn = lambda *_, **__: None
Tried:
shutup.please()
Tried:
clear_output(wait=False) at the end of every cell.
tartartartartar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.