From prisma import PrismaFile raise RuntimeErrorr

RuntimeError: 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 (if you’re on Streamlit Cloud, click on ‘Manage app’ in the lower right of your app).

Traceback:

File "/home/adminuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 564, in _run_script
    exec(code, module.__dict__)File "/mount/src/test/Home.py", line 7, in <module>
    from utils.data import init_connectionFile "/mount/src/test/utils/data.py", line 24, in <module>
    from prisma import PrismaFile "<frozen importlib._bootstrap>", line 1055, in _handle_fromlistFile "/home/adminuser/venv/lib/python3.9/site-packages/prisma/__init__.py", line 43, in __getattr__
    raise RuntimeError(

Be aware that you have a few credentials in your public github repo… :face_with_diagonal_mouth:

I did not know prisma and have never used it.

However, I suspect that this on-the-fly schema generator is the problem. Can’t you generate it in advance and include it in the github repo?

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