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

404 error when launching server #40

Closed
wang-boyu opened this issue Nov 5, 2023 · 0 comments · Fixed by #41
Closed

404 error when launching server #40

wang-boyu opened this issue Nov 5, 2023 · 0 comments · Fixed by #41

Comments

@wang-boyu
Copy link
Member

wang-boyu commented Nov 5, 2023

Describe the bug

mesa runserver results in 404 errors and the visualization is not running properly:

$ mesa runserver
Interface starting at http://127.0.0.1:8521
404 GET /static/external/bootstrap-slider-11.0.2/dist/css/bootstrap-slider.min.css (127.0.0.1) 4.28ms
404 GET /static/external/bootstrap-slider-11.0.2/dist/bootstrap-slider.min.js (127.0.0.1) 1.42ms
Screenshot 2023-11-05 at 11 51 37

Expected behavior

$ mesa runserver
Interface starting at http://127.0.0.1:8521
Socket opened!
{"type":"reset"}
Screenshot 2023-11-05 at 11 52 25

To Reproduce

Go to the Schelling example and install latest dependencies: python3 -m pip install -Ur requirements.txt

Additional context

It is likely introduced through #39. If mesa-viz-tornado is installed at its previous commit, the issue disappears:

python3 -m pip install git+https://github.com/projectmesa/mesa-viz-tornado.git@b4e9cae550a6ef1580dd906a5f9a1b8c51726aa8#egg=mesa-viz-tornado
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

Successfully merging a pull request may close this issue.

1 participant