Read_csv and to_csv permission

I can read files from panel serve by giving full path but when I try to write a dataframe using to_csv I get a permission error

“PermissionError: [Errno 13] Permission denied…”

Server is running locally on Windows 11 and attempted to change folder permission to be open for guests and start server as admin in powershell but neither worked. Can only think of downloading file but that defeats automation. Suggestions?


Are you accessing the dashboard on the same machine that’s serving it or tunneling into it from another?

Correct, same machine. A good night sleep can help to think through the problem. Found the root problem. I tried to overwrite the same file I read from which was my intention. I will have to think of a different strategy, possibly increment the file version or delete original “if I have permission”.

1 Like