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

The VSCode extension does not work, maybe on Windows #555

Open
whitphx opened this issue Apr 24, 2023 · 2 comments
Open

The VSCode extension does not work, maybe on Windows #555

whitphx opened this issue Apr 24, 2023 · 2 comments
Labels
Type: Bug Bug or Bug fixes

Comments

@whitphx
Copy link
Owner

whitphx commented Apr 24, 2023

https://discuss.streamlit.io/t/integrated-streamlit-preview-on-vscode-with-wasm-pyodide-powered-stlite/40082/6

@whitphx whitphx added the Type: Bug Bug or Bug fixes label Apr 24, 2023
@franciscobmacedo
Copy link

also seems to happen on a mac as well. It might work at first but if you try to stop and run it again, it fails. Sometimes one are able to make it work after multiple attempts. When running in google chrome (within the github.dev environment) it has a similar behavior.

@franciscobmacedo
Copy link

I believe the problem within github.dev (or vscode web version) is that you can't list the files that were created and not committed within the repository - so it's not possible to create a python file and use that as an entry point.

One possible solution: Instead of listing all the possible python entry files, you just run the app against whatever file the user has opened (and focused) in the editor - that would make things probably less flexible but at least it works :)

What do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Bug or Bug fixes
Projects
None yet
Development

No branches or pull requests

2 participants