Error using export_selection.py

HI everyone.

I’m trying to use a hook example provided by flame (in /opt/Autodesk/flame_version/python_utilities/scripts). This hook provides the ability to export mp4. I am trying to adapt it to my needs, but I get an error just using the native hook (without any modification)

ERROR:root:Traceback (most recent call last):
File “/opt/Autodesk/shared/python/export_selection.py”, line 141, in run_ffmpeg
os.mkfifo(audio_pipe_name, 0o644)
OSError: [Errno 5] Input/output error

This is the piece of code:

try:
        # Create new audio pipe
        os.mkfifo(audio_pipe_name, 0o644)

        # Launch read_frame command
        read_frame_args = shlex.split(read_frame_cmd)
        read_frame_process = subprocess.Popen(read_frame_args, stdout=subprocess.PIPE)

line 141 is “os.mkfifo(audio_pipe_name, 0o644)”

flame 2022.2 / rocky linux 8.5
python 3.9.13
ffmpeg 4.2.7

any suggestion?