I have had this problem for some time now but I can’t figure out the solution to it. I have done some debugging for it, so I’ll share the results of that here as well.
I have a trained model that I run through the ‘classify.py’ file. The control is not never returned from the runner.init() method that is called as follows
with AudioImpulseRunner(modelfile) as runner:
try:
model_info = runner.init()
The problem actually originates in this part of the code in ‘runner.py’ where the while loop for calling the sleep function never ends because the socket path doesn’t exist.
self._tempdir = tempfile.mkdtemp()
socket_path = os.path.join(self._tempdir, ‘runner.sock’)
self._runner = subprocess.Popen([self._model_path, socket_path], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
while not os.path.exists(socket_path) or not self.runner.poll() is None:
time.sleep(0.1)
Thank you for your help.
I’ll try the bullseye fix. I know it’ll be an internal ticket but is there a way I can know when this problem gets fixed or when the ticket gets resolved, whatever the solution might be.