-
Notifications
You must be signed in to change notification settings - Fork 74
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
Outlet connection fails ("received test-pattern samples do not match the specification") #76
Comments
Could you replace the liblsl library with this one and try to connect to the outlet again? |
Thanks for moving the question. |
Someone just messaged me on Slack with the same error using Raspberry Pi and Windows 10 using the latest pylsl on both. It's a big coincidence to get the first reports of this error twice in the same day. Was there a recent Windows update that could have done something here? I'll try to look into it, but 2 jobs + helping with homeschooling doesn't leave a whole lot of time for volunteer work on lsl. While you wait for me, I encourage you to dive deeper into debugging if you're able. |
I think the fastest way without adding a ton of debug messages is a packet dump, i.e. all the network packets received from your mac: To keep things short, it'd be best to start the packet capture, connect to the outlet, pull a single sample and then quit. |
BTW, the conversation I had with the user who was having trouble with pi <--> Windows ended up resolving by him rebuilding liblsl.so on his pi then putting that in pylsl. @MichaelUM , can you try rebuilding liblsl on your own? I wonder if there's something different about your MacOS configuration? |
I tried both, building it myself and using the pre-built but I god the same behavior. |
Using a different pre-built library solved the problem. I'm not sure if this is the cause of the problem. But I definitely did something wrong when compiling / setting it up. |
I don't think any of us are going to do a deep dive into MacOS rpath details at the moment, so I'm going to go ahead and close this issue. Please reopen and/or comment further if you have any follow-up questions or comments. |
I'm encountering this now. My android liblsl is built from the master HEAD, used by SendStringMarkers. My linux box is using pylsl 1.13.6, and there
I'll test a few more scenarios |
(About a week ago I made a commit on what I thought was HEAD, but I was behind, and git automatically replayed all subsequent commits. This duplicated many commits, but kept authorship and the sequence. If anyone knows how to fix this without breaking everything then please do so, but I'm afraid to take the risk.) I did git bisect and I can confirm that it's that same commit that's problematic, now found here: 12ef2be I can try to debug tomorrow. |
Here is the bug for string-type streams: |
Hi SCCN,
I'm just following on this thread even though the problem is a bit different.
When connecting from MacOS Catalina (10.15.4) to a Windows 10 based LSL stream I get the following error:
data_receiver.cpp:340 ERR| Stream transmission broke off (The received test-pattern samples do not match the specification. The protocol formats are likely incompatible.); re-connecting...
This only happens if I connect across operating systems.
Any idea what I do wrong?
Originally posted by @MichaelUM in sccn/labstreaminglayer#57 (comment)
The text was updated successfully, but these errors were encountered: