SintefManufacturing/python-urx

Whole console hangs after failed connection attempt

iantra opened this issue · 1 comments

Related to #80 and #75
Running latest version from source with polyscope version 3.9.1.

Most of the times, the connection is established properly on Robot init. However, occasionally there's a TimeoutException. This is not a huge issue by itself, but after that timeout issue the exiting routine of python seems to get interrupted and the script never exits. More commands can be run after it, but as soon as the script tries to terminate everything hangs.

I presume this is due to an unclosed socket connection in the SecondaryMonitor class, but for now I have no proof that this is the case.

Did you find a solution afterwards?