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

tutorial modes findings for the mscolab example #2656

Open
ReimarBauer opened this issue Feb 26, 2025 · 2 comments
Open

tutorial modes findings for the mscolab example #2656

ReimarBauer opened this issue Feb 26, 2025 · 2 comments

Comments

@ReimarBauer
Copy link
Member

That "The Werkzeug web server is not designed to run in production." is correct. We need a config option to run it only for development.

INFO: MSS Version: 9.3.1
INFO: Python Version: 3.11.6 | packaged by conda-forge | (main, Oct  3 2023, 10:40:35) [GCC 12.3.0]
INFO: Platform: Linux-5.15.0-125-generic-x86_64-with-glibc2.35 (('64bit', 'ELF'))
INFO: Launching MSColab Server
Traceback (most recent call last):
  File "/home/r.bauer/MAIN/MSS/.pixi/envs/tutorials/bin/mscolab", line 10, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/r.bauer/MAIN/MSS/mslib/mscolab/mscolab.py", line 410, in main
    handle_start(args)
  File "/home/r.bauer/MAIN/MSS/mslib/mscolab/mscolab.py", line 58, in handle_start
    start_server(APP, sockio, cm, fm)
  File "/home/r.bauer/MAIN/MSS/mslib/mscolab/server.py", line 1020, in start_server
    sockio.run(app, port=port, debug=mscolab_settings.DEBUG)
  File "/home/r.bauer/MAIN/MSS/.pixi/envs/tutorials/lib/python3.11/site-packages/flask_socketio/__init__.py", line 651, in run
    raise RuntimeError('The Werkzeug web server is not '
RuntimeError: The Werkzeug web server is not designed to run in production. Pass allow_unsafe_werkzeug=True to the run() method to disable this error.
Start and Seed MSColab server

@ReimarBauer
Copy link
Member Author

ReimarBauer commented Feb 26, 2025

We maybe should solve this by an environment var.

I wonder that the tests didn't get that.

@ReimarBauer ReimarBauer added this to the 10.0.1 milestone Feb 26, 2025
@ReimarBauer
Copy link
Member Author

This is on hold until 10.0.0 is released

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant