-
Notifications
You must be signed in to change notification settings - Fork 9
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
wslink is not expecting text message #26
Comments
Your trame client and trame server are incompatible. Please update them or make them match. Also make sure you clear your browser cache to prevent old JS code to be used with new server.
or
|
If I update trame, trame-server and trame-client, I still have these versions, which seem to be latest versions published:
I tried to downgrade trame-client to 3.1.0 via Which versions are compatible to each other? |
Those versions are compatibles, your issue is your browser caching Otherwise:
|
Actually I've seen virtual environment manager (like uv) messing things up with their caching logic. |
Hello, I have encountered the same issue using the same example.
I've got failure results on both Windows 10 and Windows 11 systems, using both Edge and Chrome browsers. |
Same thing happens to me too. I just download the code zip and run this example. "wslink is not expecting text message:" is showing. Besides, I think as a web framework, if the official examples can't work, it's hard to make it "the core of your next web application", and hard to make us be a contributor. |
Looking into it now make me realized that the issue is not from the JS side but from Python. That code has not been updated to use our msgpack encoding. To temporary fix, you can use Sorry about that and I'm looking at fixing that code right now. |
Should be fixed now with |
I tried to run the server client example (https://github.com/Kitware/trame-server/tree/master/examples/client-server). I started the server as described. If I start the client, I see this message in the server console window:
If I click on the '+'-button on the client page, the counter on the server page is not synchronized. I get this message in server console window:
Tested on Windows 11, Python 3.11.5 with
The text was updated successfully, but these errors were encountered: