ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: pd21989 on April 16, 2020, 03:01:25 AM

Title: ValueError: filedescriptor out of range in select()
Post by: 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?
Title: Re: ValueError: filedescriptor out of range in select()
Post by: Phil Harvey on April 16, 2020, 07:16:23 AM
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
Title: Re: ValueError: filedescriptor out of range in select()
Post by: sylikc on April 18, 2021, 01:41:05 AM
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.