smarnach / pyexiftool

a Python library to communicate with an instance of Phil Harvey's excellent ExifTool command-line application.
Other
270 stars 111 forks source link

handling Errno:11 Resource temporarily unavailable #15

Open shoyebi opened 9 years ago

shoyebi commented 9 years ago

File "/opt/local/share/mserver/msgserver/utils/user.py", line 1651, in finalize_upload isRotated = et.get_tag('Composite:Rotation',file_path) File "/opt/local/share/mserver/venv/local/lib/python2.7/site-packages/exiftool.py", line 325, in get_tag return self.get_tag_batch(tag, [filename])[0] File "/opt/local/share/mserver/venv/local/lib/python2.7/site-packages/exiftool.py", line 312, in get_tag_batch data = self.get_tags_batch([tag], filenames) File "/opt/local/share/mserver/venv/local/lib/python2.7/site-packages/exiftool.py", line 291, in get_tags_batch return self.execute_json(params) File "/opt/local/share/mserver/venv/local/lib/python2.7/site-packages/exiftool.py", line 252, in execute_json return json.loads(self.execute(b"-j", params).decode("utf-8")) File "/opt/local/share/mserver/venv/local/lib/python2.7/site-packages/exiftool.py", line 226, in execute output += os.read(fd, block_size) OSError: [Errno 11] Resource temporarily unavailable