nsetzer / mpgameserver

Python Multiplayer UDP Game Server
GNU Lesser General Public License v2.1
43 stars 6 forks source link

pong2_launcher.py type error #11

Open samuelhorobin opened 2 months ago

samuelhorobin commented 2 months ago

pygame-ce 2.4.0 (SDL 2.28.5, Python 3.12.3) Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "D:\misc\Projects\mpgameserver\demo\pong2_client.py", line 14, in Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "D:\misc\Projects\mpgameserver\demo\pong2_client.py", line 14, in from mpgameserver import Timer, RetryMode, Serializable File "D:\misc\Projects\mpgameserver\mpgameserver__init.py", line 4, in from mpgameserver import Timer, RetryMode, Serializable from mpgameserver.auth import Auth File "D:\misc\Projects\mpgameserver\mpgameserver\init__.py", line 4, in File "D:\misc\Projects\mpgameserver\mpgameserver\auth.py", line 6, in from cryptography.hazmat.primitives.kdf import scrypt from mpgameserver.auth import Auth File "D:\misc\Projects\mpgameserver\mpgameserver\auth.py", line 6, in ModuleNotFoundError: No module named 'cryptography' from cryptography.hazmat.primitives.kdf import scrypt ModuleNotFoundError: No module named 'cryptography' 10.23229718208313 Traceback (most recent call last): File "d:\misc\Projects\mpgameserver\demo\pong2_launcher.py", line 96, in for idx, (hwnd, cpid, rect) in enumerate(hwnds): ^^^^^^^^^^^^^^^^^^ TypeError: cannot unpack non-iterable NoneType object

Came across this when trying to run pong2_launcher.py!