Psultils Access denied error while using long callbacks

Hi,

I am running dash app locally and I am getting the below error while using long callback with disk cache.

psutil.AccessDenied: (pid=49060)

Please help me resolve this issue

Thanks in advance!

I am trying to incorporate the progress bar using the example provided in Plotly website - Long Callbacks | Dash for Python Documentation | Plotly.
This example is working fine when I try it seperately, but when I try to integrate it with my application. it not only reloading the entire application but also giving psutils.AccessDenied error.

Hi @ssubramanian

Have you tried background callbacks - new in dash 2.6.1: Background Callbacks | Dash for Python Documentation | Plotly

Hi @AnnMarieW

Thank you for your response. I looked into the examples of background callbacks, I could see the usage of disk cache in those examples as well. I am running into the issue in my current application while using diskcache.