pyexiftool icon indicating copy to clipboard operation
pyexiftool copied to clipboard

pyexiftool cannot be used in linux due to ExifTool instance not running error.

Open Bluely-NO-STALKING-MYSELF-ALLOWED opened this issue 5 years ago • 2 comments

This means you still cannot see image/video metadata from your android device via Pydroid 3 and pyexiftool. I tried from my computer named Untitled Python Project which it runs Linux and has sudo permission, when I try the script, it returns ExifTool instance not running while setting exiftool as executable and still doesn't work, no workarounds what's matter, linux doesn't have a executable but it have Perl Distribution, which makes ExifTool instance not running. to be raised. 709

The only way to get around it is to ignore pyexiftool and then use print(os.popen("exiftool <file name>").read().splitlines()) which it prints the entire file's metadata as list of file's each of metadata information as list or use my code from the screenshot which makes easier to capture each of file's metadata and it prints each of them's metadata information, since it's small lines of code, I wouldn't fork and pull request this pyexiftool. 711

@BluelyTASer I can look into this... I would be able to fix it in my fork (https://github.com/sylikc/pyexiftool). How do I get all of this environment running together?

So, I would install Pydroid, and then ... how do I reproduce the perl exiftool distribution? The detection of exiftool running is sort of rudimentary in the current code... it certainly doesn't take the Perl version into account (I believe exiftool is compiled from Perl)

sylikc avatar Mar 14 '21 18:03 sylikc