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

Execution Error #3

Open
maopareja opened this issue Oct 13, 2024 · 0 comments
Open

Execution Error #3

maopareja opened this issue Oct 13, 2024 · 0 comments

Comments

@maopareja
Copy link

I was trying to test stauthlib but couldn’t get it to work.
Below are the steps I followed:

•	Downloaded the repository: git clone https://github.com/kajarenc/stauthlib
•	Configured the secrets.toml
•	Created a virtual environment for this project: python -m venv .venv
•	Activated the environment: source .venv/bin/activate
•	Ran pip install -r requirements.txt
•	Ran streamlit run app.py

This error occurs:

2024-10-13 10:59:13.524 Uncaught app exception
Traceback (most recent call last):
File "/Users/usertest/.pyenv/versions/3.12.2/lib/python3.12/site-packages/streamlit/user_info.py", line 70, in getattr
return _get_user_info()[key]
~~~~~~~~~~~~~~~~^^^^^
KeyError: 'is_logged_in'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/Users/usertest/.pyenv/versions/3.12.2/lib/python3.12/site-packages/streamlit/runtime/scriptrunner/exec_code.py", line 88, in exec_func_with_error_handling
result = func()
^^^^^^
File "/Users/usertest/.pyenv/versions/3.12.2/lib/python3.12/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 590, in code_to_exec
exec(code, module.dict)
File "/Users/usertest/Library/Mobile Documents/comappleCloudDocs/dev/python/wallstreet-client/getStockInfo-streamlit/stauthlib/app.py", line 7, in
st.write("Is user logged in?", st.experimental_user.is_logged_in())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/usertest/.pyenv/versions/3.12.2/lib/python3.12/site-packages/streamlit/user_info.py", line 72, in getattr
raise AttributeError
AttributeError

Thank you for your time and assistance in addressing this issue. I appreciate your help and look forward to any guidance or solutions you can provide.

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