Running ripe-atlas-tools on python 3.10 on alpine in a Docker container. Works fine, except that after creating a measurement and streaming the results, after the “Disconnected from stream” the process hangs. Only ctrl-c can stop it. It appears to be some thread that still hangs in lock.acquire() in threading.py.
Changing the lock.acquire() to a SystemExit works. But that is a very bad kludge. No other python code in that container so there is no risk doing this kludge but really would like to know whether this is a bug or not.
Also, looking at the code I don’t think that ripe-atlas-tools does use any threading? A grep for the “thread” or”threading” words gets no hits. What is happening?
Running ripe-atlas-tools on python 3.10 on alpine in a Docker container. Works fine, except that after creating a measurement and streaming the results, after the “Disconnected from stream” the process hangs. Only ctrl-c can stop it. It appears to be some thread that still hangs in lock.acquire() in threading.py.
Similar to a case like this: https://forums.raspberrypi.com/viewtopic.php?t=328771 where it is noted that a thread has not been joined. Alas, I am not familiar with python. Is this some bug of ripe-atlas-tools?
Changing the lock.acquire() to a SystemExit works. But that is a very bad kludge. No other python code in that container so there is no risk doing this kludge but really would like to know whether this is a bug or not.
Also, looking at the code I don’t think that ripe-atlas-tools does use any threading? A grep for the “thread” or”threading” words gets no hits. What is happening?