ValueError: filedescriptor out of range in select()

Started by pd21989, April 16, 2020, 03:01:25 AM

Previous topic - Next topic

pd21989

Hey all,

I am using perl-Image-Exiftool version 11.01. I am getting an error like this:

inputready,outputready,exceptready = select.select([fd],[],[])
ValueError: filedescriptor out of range in select()

I am using PyExiftool to access the executable. I am starting the process with the arguments

                   "-stay_open",
                    "True",
                    "-@",
                    "-",
                    "-common_args",
                    "-G",
                    "-n",
                    "-api",
                    "quicktimeutc",

I terminate the process manually after I am done using it.

What could be the issue? Is there a workaround for this?

Phil Harvey

Those are Python errors.  I can't help there.  Try running any other simple .exe from Python to see if you can get that working.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

sylikc

Quote from: pd21989 on April 16, 2020, 03:01:25 AM
Hey all,

I am using perl-Image-Exiftool version 11.01. I am getting an error like this:

inputready,outputready,exceptready = select.select([fd],[],[])
ValueError: filedescriptor out of range in select()

I am using PyExiftool to access the executable. I am starting the process with the arguments

                   "-stay_open",
                    "True",
                    "-@",
                    "-",
                    "-common_args",
                    "-G",
                    "-n",
                    "-api",
                    "quicktimeutc",

I terminate the process manually after I am done using it.

What could be the issue? Is there a workaround for this?

This could be considered necroposting, but I'm the current maintainer for pyexiftool, @pd21989 if you're still having problems with this, please file an issue at the github where we can discuss it.