PermissionError: This app has encountered an error. The original error message is redacted to prevent data leaks. Full error details have been recorded in the logs

PermissionError: This app has encountered an error. The original error message is redacted to prevent data leaks. Full error details have been recorded in the logs.

File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script
    exec(code, module.__dict__)File "/app/master_thesis/streamlit_appcopy.py", line 181, in <module>
    load_feedback_form()File "/app/master_thesis/streamlit_appcopy.py", line 179, in load_feedback_form
    df.append(df2, ignore_index=True).to_csv("data/j.csv", index=False)File "/home/appuser/venv/lib/python3.7/site-packages/pandas/core/generic.py", line 3482, in to_csv
    storage_options=storage_options,File "/home/appuser/venv/lib/python3.7/site-packages/pandas/io/formats/format.py", line 1105, in to_csv
    csv_formatter.save()File "/home/appuser/venv/lib/python3.7/site-packages/pandas/io/formats/csvs.py", line 243, in save
    storage_options=self.storage_options,File "/home/appuser/venv/lib/python3.7/site-packages/pandas/io/common.py", line 706, in get_handle
    newline="",

Hi @Nikul_G,

I believe you’ve fixed this error since creating this post. Is this the case? Your app doesn’t throw this error anymore.

Best, :balloon:
Snehan

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