Closed pm3003 closed 3 years ago
Do you see an error 403 in the network tab of your web browser when loading static assets? Could be that Apache does not have permission to access the static assets folder.
I did a fresh install after this summer's updates, and the problem is gone. Everything works fine with Python 3. Thank you for your tie and this nice game !
I'm trying to run the app from a Debian container. My settings :
Trying to install the requirements with Python 2.7 ;
pip install -r requirements.txt Collecting flask (from -r requirements.txt (line 1)) Using cached https://files.pythonhosted.org/packages/f2/28/2a03252dfb9ebf377f40fba6a7841b47083260bf8bd8e737b0c6952df83f/Flask-1.1.2-py2.py3-none-any.whl Collecting flask-socketio (from -r requirements.txt (line 2)) Using cached https://files.pythonhosted.org/packages/05/ff/4de07d38fd2a4fb6326d96a2ecf9fb48026c3f064bc600f33fde0dc1c891/Flask_SocketIO-5.0.1-py2.py3-none-any.whl Collecting eventlet (from -r requirements.txt (line 3)) Using cached https://files.pythonhosted.org/packages/95/31/8daea2c6d5b6a9c567da07e976f8b4112dd18df0612a67ae9f990754c4a5/eventlet-0.30.1-py2.py3-none-any.whl Collecting Jinja2>=2.10.1 (from flask->-r requirements.txt (line 1)) Using cached https://files.pythonhosted.org/packages/7e/c2/1eece8c95ddbc9b1aeb64f5783a9e07a286de42191b7204d67b7496ddf35/Jinja2-2.11.3-py2.py3-none-any.whl Collecting itsdangerous>=0.24 (from flask->-r requirements.txt (line 1)) Using cached https://files.pythonhosted.org/packages/76/ae/44b03b253d6fade317f32c24d100b3b35c2239807046a4c953c7b89fa49e/itsdangerous-1.1.0-py2.py3-none-any.whl Collecting Werkzeug>=0.15 (from flask->-r requirements.txt (line 1)) Using cached https://files.pythonhosted.org/packages/cc/94/5f7079a0e00bd6863ef8f1da638721e9da21e5bacee597595b318f71d62e/Werkzeug-1.0.1-py2.py3-none-any.whl Collecting click>=5.1 (from flask->-r requirements.txt (line 1)) Using cached https://files.pythonhosted.org/packages/d2/3d/fa76db83bf75c4f8d338c2fd15c8d33fdd7ad23a9b5e57eb6c5de26b430e/click-7.1.2-py2.py3-none-any.whl Collecting python-socketio>=5.0.2 (from flask-socketio->-r requirements.txt (line 2)) Using cached https://files.pythonhosted.org/packages/22/76/071fed5787169c45f72e07b64d71c77761326d6b76471d9773fbff634ce7/python_socketio-5.0.4-py2.py3-none-any.whl Requirement already satisfied: greenlet>=0.3 in /usr/lib/python2.7/dist-packages (from eventlet->-r requirements.txt (line 3)) (0.4.15) Collecting monotonic>=1.4; python_version < "3.5" (from eventlet->-r requirements.txt (line 3)) Using cached https://files.pythonhosted.org/packages/ac/aa/063eca6a416f397bd99552c534c6d11d57f58f2e94c14780f3bbf818c4cf/monotonic-1.5-py2.py3-none-any.whl Requirement already satisfied: six>=1.10.0 in /usr/lib/python2.7/dist-packages (from eventlet->-r requirements.txt (line 3)) (1.12.0) Collecting dnspython<2.0.0,>=1.15.0 (from eventlet->-r requirements.txt (line 3)) Using cached https://files.pythonhosted.org/packages/ec/d3/3aa0e7213ef72b8585747aa0e271a9523e713813b9a20177ebe1e939deb0/dnspython-1.16.0-py2.py3-none-any.whl Collecting MarkupSafe>=0.23 (from Jinja2>=2.10.1->flask->-r requirements.txt (line 1)) Using cached https://files.pythonhosted.org/packages/fb/40/f3adb7cf24a8012813c5edb20329eb22d5d8e2a0ecf73d21d6b85865da11/MarkupSafe-1.1.1-cp27-cp27mu-manylinux1_x86_64.whl Collecting python-engineio>=4 (from python-socketio>=5.0.2->flask-socketio->-r requirements.txt (line 2)) Using cached https://files.pythonhosted.org/packages/c4/29/efdb97d117b0f6538b046b576e33c1cbd59b4d1c2959cf8d0f8089a8f1b4/python_engineio-4.0.0-py2.py3-none-any.whl Collecting bidict>=0.21.0 (from python-socketio>=5.0.2->flask-socketio->-r requirements.txt (line 2)) Could not find a version that satisfies the requirement bidict>=0.21.0 (from python-socketio>=5.0.2->flask-socketio->-r requirements.txt (line 2)) (from versions: 0.1.5, 0.2.1, 0.3.0, 0.3.1, 0.9.0rc0, 0.9.0.post1, 0.10.0, 0.10.0.post1, 0.11.0, 0.12.0.post1, 0.13.0, 0.13.1, 0.14.0, 0.14.1, 0.14.2, 0.15.0.dev0, 0.15.0.dev1, 0.15.0rc1, 0.15.0, 0.16.0, 0.17.0, 0.17.1, 0.17.2, 0.17.3, 0.17.4, 0.17.5, 0.18.0, 0.18.1, 0.18.2, 0.18.3, 0.18.4) No matching distribution found for bidict>=0.21.0 (from python-socketio>=5.0.2->flask-socketio->-r requirements.txt (line 2))
Then I tried with python3. No problems with requirements install. run.py seems to run fine but the game is not launching right (see picture).