Open csabakeszegh opened 11 months ago
Can't reproduce, your python script gives me:
Traceback (most recent call last):
File "test.py", line 2, in <module>
from websockets.sync.client import connect
ModuleNotFoundError: No module named 'websockets.sync'
I tried pip install websockets
and pip install websocket_client
.
dmdext: v2.2.2 x64
Python: 3.12.3 (downloaded from https://www.python.org/downloads/windows/)
websockets: 12.0 (intalled with pip install websockets
)
OS: Win10 x64
Terminal1: dmdext server -d virtual --ip 192.168.0.159
Save the python code to test.py (and update the IP), and run python test.py
. I guess the dmd.raw
file content doesn't really matter until it has at least 2048 bytes (I expect garbage on screen for radom data).
Please let me know if I can help further to reproduce this issue.
I'd like to use
dmdext.exe
to show frames on a virtual dmd display received from another machine via websocket. On start everything seems normal: a black virtual dmd display shows up on screen, and "gameName" message works. However on the firstgray4Planes
frame I get an exception, and dmdext quits. I assume data is 2048 bytes for a 128x32gray4Plane
dmd frame.Suspicious line in the log
Resizing virtual DMD to 0x0
. Do I miss some dmdext configuration?The sender application is a mini python test app: