FileNotFoundError when refresh page

Facing this file not found error when I press the refresh button on the browser.

FileNotFoundError: [Errno 2] No such file or directory: ‘/workspace/page/run.py’

My run.py file resides in directory ‘/workspace/run.py.

I have other threads running backend. And working directory have been changed while the thread is running.

How can I point the path to ‘/workspace’ when refresh button on the web page is pressed?

Hey @qt.qt, please share a code snippet that shows how you’re referencing the file path

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.