tne-lab / py-behav-box-v2

Pybehave is an open source software interface and framework for controlling behavioral experiments in neuroscience and psychology.
https://py-behav-box-v2.readthedocs.io/en/latest/
MIT License
3 stars 8 forks source link

Claiming an Open Serial Port Causes a Crash #93

Open theonlydvr opened 2 weeks ago

theonlydvr commented 2 weeks ago

Describe the bug Attempting to claim a serial port already used by another program eventually crashes the GUI.

To Reproduce Steps to reproduce the behavior:

  1. Claim a serial port outside pybehave
  2. Attempt to claim a port via a SerialSource
  3. See error
  4. GUI eventually crashes

Expected behavior Claiming a serial port should show an informative error and not crash the GUI.