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

Breaks on launching with "Flask run" #13

Closed
e-Euler opened this issue Nov 15, 2020 · 1 comment
Closed

Breaks on launching with "Flask run" #13

e-Euler opened this issue Nov 15, 2020 · 1 comment

Comments

@e-Euler
Copy link

e-Euler commented Nov 15, 2020

The purpose of this issue is to address the ability to port over to another flask application that I have been building. Currently if pyxtermjs is run with the following command the application works just fine.

python3 app.py

image

However when run under flask with the command "flask run" the application looses the interactivity with the shell session.
image

I am wondering why this is and how someone can go through and add/take-away from this base example to include it in an already existing flask application.

@e-Euler
Copy link
Author

e-Euler commented Nov 27, 2020

Issue addressed in FLASK_SOSCKETIO issue number #894 miguelgrinberg/Flask-SocketIO#894

Flask environments for whatever reason do not support websockets therefore needs the python environment in order to handle the websocket comms. pyxterm is not currently easily ported to already existing flask applications due to issues outside of pyxterm itself.

@e-Euler e-Euler closed this as completed Nov 27, 2020
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