Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Runtime Error #5

Open
priyankt3i opened this issue Aug 22, 2024 · 0 comments
Open

Runtime Error #5

priyankt3i opened this issue Aug 22, 2024 · 0 comments

Comments

@priyankt3i
Copy link

### 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/exec_code.py", line 85, in exec_func_with_error_handling
    result = func()
File "/home/adminuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 576, in code_to_exec
    exec(code, module.__dict__)
File "/mount/src/documentgpt/app.py", line 128, in <module>
    st.session_state.pdf_image = save_pdf_image(uploaded_file)
File "/home/adminuser/venv/lib/python3.9/site-packages/streamlit/runtime/caching/cache_utils.py", line 168, in wrapper
    return cached_func(*args, **kwargs)
File "/home/adminuser/venv/lib/python3.9/site-packages/streamlit/runtime/caching/cache_utils.py", line 197, in __call__
    return self._get_or_create_cached_value(args, kwargs)
File "/home/adminuser/venv/lib/python3.9/site-packages/streamlit/runtime/caching/cache_utils.py", line 224, in _get_or_create_cached_value
    return self._handle_cache_miss(cache, value_key, func_args, func_kwargs)
File "/home/adminuser/venv/lib/python3.9/site-packages/streamlit/runtime/caching/cache_utils.py", line 280, in _handle_cache_miss
    computed_value = self._info.func(*func_args, **func_kwargs)
File "/mount/src/documentgpt/app.py", line 23, in save_pdf_image
    pix = page.get_pixmap(matrix=mat)  # use 'mat' instead of the identity matrix
File "/home/adminuser/venv/lib/python3.9/site-packages/fitz/utils.py", line 895, in get_pixmap
    dl = page.get_displaylist(annots=annots)
File "/home/adminuser/venv/lib/python3.9/site-packages/fitz/fitz.py", line 6443, in get_displaylist
    val = _fitz.Page_get_displaylist(self, annots)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant