Send on outgoing queue timed out

Hannah Goldbach's Avatar

Hannah Goldbach

08 Oct, 2020 09:28 PM

Hi Chris,

My name is Hannah - I'm a graduate student in Mark Histed's lab.
I recently set up an ISCAN device and got it working with MWorks on one of our behavior computers.
Today I tried to stream the mwk2 file and got an error:
"ERROR: Send on outgoing queue timed out; event will not be sent" (attached).
Trying to start the experiment resulted in an error that the python bridge wasn't loaded, and reloading the python bridge caused the MWclient to stop responding.

I was wondering if it might have something to do with the way I added the ISCAN code, so I've also attached the code I added to HADC19 to both include the device and the variables. MWorks does display the values correctly while the mouse is running, so it seems to be working otherwise.

Mark wasn't sure off the top of his head what could be causing this and asked me to reach out - I'm also supposed to mention that we have MWorks version 0.10 on this computer.

Please let me know if you have any thoughts!

Best,
Hannah Goldbach

  1. 1 Posted by mhisted on 08 Oct, 2020 09:31 PM

    mhisted's Avatar

    Chris and Hannah,

    After thinking on this some after talking to Hannah, I am wondering whether this error could be because we hang a callback off every variable in the Python client bridge. Then, this could be some sort of overflow error being caused by using these high-update-rate eye variables. Possible?

  2. Support Staff 2 Posted by Christopher Sta... on 08 Oct, 2020 09:39 PM

    Christopher Stawarz's Avatar

    Hi Mark & Hannah,

    I am wondering whether this error could be because we hang a callback off every variable in the Python client bridge. Then, this could be some sort of overflow error being caused by using these high-update-rate eye variables. Possible?

    Yes, I think that's correct. The "send on outgoing queue timed out" error indicates that the buffer used by the Python bridge is full, most likely because the Python script isn't able to keep up with the stream of incoming events. I expect you can resolve the issue by not sending the ISCAN variables via the bridge.

    Just FYI: In my experience, once you see a "send on outgoing queue timed out" message, the client needs to be quit and restarted before things will work properly again.

    Cheers,
    Chris

  3. 3 Posted by mhisted on 09 Oct, 2020 08:20 PM

    mhisted's Avatar

    Thanks will work on it

  4. Christopher Stawarz closed this discussion on 19 Oct, 2020 01:38 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac