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

[Bug] streamlit warning: Thread 'MainThread': missing ScriptRunContext! #446

Open
XuanYang-cn opened this issue Jan 10, 2025 · 1 comment
Assignees

Comments

@XuanYang-cn
Copy link
Collaborator

image

@alwayslove2013 alwayslove2013 self-assigned this Jan 13, 2025
@alwayslove2013
Copy link
Collaborator

@XuanYang-cn I have spent some time trying to resolve this issue, but I have not made any progress thus far.

Firstly, it's important to note that this is merely a warning reported by Streamlit and does not affect the actual test processes of vdbbench.

This warning arises from the latest version of Streamlit, which requires that any thread invoking the Streamlit API must carry a "ScriptRunContext." For further details, you may refer to the following link: GitHub Pull Request #1154.

Additionally, I observed that disabling the auto-refresh feature seems to eliminate this warning, which is quite peculiar.

# autofresh
autoRefresh()

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

2 participants