Socket_path doesn't exist in ImpulseRunenr

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)

I’m using a raspberry pi 4 with the default OS

HI @Ansab, if you open a terminal and run:

chmod +x name-of-your-model-file.eim
./name-of-your-model-file.eim test.sock

What do you see?

Hi @janjongboom. The output is
‘chmod: cannot access ‘test.sock’ : No such file or directory’

@janjongboom Sorry! I made a mistake! Please disregard the earlier reply. This is the result

./model_retr.eim; /lib/arm-linux-gnueabihf/libm.so.6 : version ‘GLIBC_2.29’ not found (required by ./model_retr.eim)

Hey, yeah, this looks like an old Linux kernel… We need something with glibc 2.29 at least. What’s the OS you’re on?

Its the Raspbian GNU/LINUX 10 (buster)

Hmm quick fix will be updating to bullseye, but buster should work. Will file a ticket internally.

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.