I have install the exiftool 10.10.dmg. There was in usr/local/bin
Then i have install the exiftoolgui.app
But "exiftool gui" does not find exiftool. I've done all folders visible. (defaults write com.apple.finder AppleShowAllFiles 1)
PH Edit: Changed subject name to include "pyExifToolGUI"
I don't know what GUI you are talking about, but the ExifToolGUI discussed here is Windows only.
- Phil
Ok,
its the ExifToolGUI for Mac.
I don't recall seeing this GUI before. Where did you get it?
- Phil
sorry
pyExifToolGUI https://hvdwolf.github.io/pyExifToolGUI/
I haven't tried pyExifToolGUI myself, but most likely /usr/local/bin is not in your path. To check: open a terminal window and type echo $PATH, and to see if exifTool is actually running, type which exiftool and finally exiftool -ver. This will tell us where exiftool is installed and if it actually works.
Further questions, what version of OS X are your running, and how do you start pyExifToolGUI?
Cheers,
Hayo
iMac:~ Martin$ echo $PATH
/Library/Application Support/GoodSync:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
iMac:~ Martin$ which exiftool
/usr/local/bin/exiftool
iMac:~ Martin$ exiftool -ver
10.10
OS X 10.11.3
I start pyExifToolGUI from the Applications Folder pyExifToolGUI.app
Ah. The Python GUI. I would suggest trying Hayo's suggestion and specifying /usr/local/bin directly in the script.
- Phil
Quote from: Phil Harvey on February 08, 2016, 12:39:27 PM
Ah. The Python GUI. I would suggest trying Hayo's suggestion and specifying /usr/local/bin directly in the script.
- Phil
Phil, you make the proposal?
The name of the exiftool app is set on line 115 of petgfunctions.py, but there appears to be an option to specify an alternate location (line 113). I didn't quickly find the documentation about the options and how to specify the alternate location, but you might look into this.
- Phil
The option opens the Finder. But the finder shows me not to the hidden directory. Although I have said "defaults write com.apple.finder AppleShowAllFiles 1".
OK then, try putting exiftool (and its "lib" directory) on your Desktop or somewhere you can see with the Finder.
- Phil
Quote from: Phil Harvey on February 08, 2016, 01:36:37 PM
OK then, try putting exiftool (and its "lib" directory) on your Desktop or somewhere you can see with the Finder.
- Phil
Which Lib Directory?
The lib directory of exiftool :)
exiftool is in the directory usr/local/bin/
I have make a copy from the bin directory to the desktop. But it does not work.
What Phil suggested was that you placed the whole of the exiftool application on your desktop and then point to that in pyExiftoolGui.
Hope that makes things clearer.
You also need the exiftool "lib" directory in the same location as the "exiftool" script.
- Phil
I have copy the lib directory and the exiftool to the desktop. But it does not work. No error message. However, no reaction.
Sorry, I can't help here. I tried to run pyExifTool but it requires Image::Magick which gave errors when I tried to install it, and I don't have much spare time to figure out why.
- Phil
Quote from: Phil Harvey on February 09, 2016, 07:10:00 AM
Sorry, I can't help here. I tried to run pyExifTool but it requires Image::Magick which gave errors when I tried to install it, and I don't have much spare time to figure out why.
- Phil
That's okay, thank you Phil.
The solution http://tonyredhead.com/google-tips/pyexiftool-exiftool-linking-issue
Wow, that's complicated. I think it would be much easier to make a simple modification to pyExifToolGUI to run exiftool from /usr/local/bin.
- Phil
Edit: Also, for the record, the pyExifToolGUI author knows about this problem (https://github.com/hvdwolf/pyExifToolGUI/issues/17) and is working on a solution.
"Hi, long-time listener, first-time caller ..."
Just wanted to add my 2 (US) cents.
I was happily using ExifTool 9.78 and pyExifToolGUI 0.5 on Yosemite 10.10.5 and then I upgraded ExifTool to 10.15 and it broke pyExifToolGUI, of course.
I ran the binary inside the .app bundle directly and got
% /Applications/pyexiftoolgui.app/Contents/MacOS/pyexiftoolgui
Program start: We are on python 2.7.3 (v2.7.3:70274d53c1dd, Apr 9 2012, 20:52:43)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)]
create arguments file(s) from selected image(s)
create arguments file(s) from selected image(s)
/Users/riotnrrrd
/Users/riotnrrrd/.pyexiftoolgui/config.cfg
reading config.cfg
Traceback (most recent call last):
File "<string>", line 624, in <module>
File "<string>", line 200, in __init__
File "/Users/Shared/development/python_related/pyside/pyExifToolGUI-0.5/MacOSX/build/pyi.darwin/pyexiftoolgui/out00-PYZ.pyz/petgfunctions", line 152, in tool_check
File "/Users/Shared/development/python_related/pyside/pyExifToolGUI-0.5/MacOSX/build/pyi.darwin/pyexiftoolgui/out00-PYZ.pyz/petgfunctions", line 86, in exiftool_version_level_text
ValueError: invalid literal for float(): 10.15 [Warning: Library version is 9.78]
I thought that was interesting because the old 9.78 binary was in /usr/bin/exiftool and the new 10.15 binary is in /usr/local/bin/exiftool.
I made the two changes to ~/.pyexiftoolgui/config.cfg but it still doesn't come up. (Not deterministically, anyway.)
% head -3 ~/.pyexiftoolgui/config.cfg
[preferences]
alternate_exiftool = True
exiftooloption = /usr/local/bin/exiftool
% /Applications/pyexiftoolgui.app/Contents/MacOS/pyexiftoolgui
Program start: We are on python 2.7.3 (v2.7.3:70274d53c1dd, Apr 9 2012, 20:52:43)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)]
create arguments file(s) from selected image(s)
create arguments file(s) from selected image(s)
/Users/riotnrrrd
/Users/riotnrrrd/.pyexiftoolgui/config.cfg
reading config.cfg
Traceback (most recent call last):
File "<string>", line 624, in <module>
File "<string>", line 200, in __init__
File "/Users/Shared/development/python_related/pyside/pyExifToolGUI-0.5/MacOSX/build/pyi.darwin/pyexiftoolgui/out00-PYZ.pyz/petgfunctions", line 152, in tool_check
File "/Users/Shared/development/python_related/pyside/pyExifToolGUI-0.5/MacOSX/build/pyi.darwin/pyexiftoolgui/out00-PYZ.pyz/petgfunctions", line 86, in exiftool_version_level_text
ValueError: could not convert string to float:
(The amusing thing here is that there is no "/Users/share/development" folder. Obviously this is left over from the pyExifToolGUI author's own build environment.)
I downloaded a binary .dmg of pyExifToolGUI so there is no "petgfunctions.py" file to diddle.
When it quits I see this in the logs:
com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.pid.pyexiftoolgui.31562): Could not resolve origin of domain. XPC services in this domain's bundle will not be bootstrapped: error = 107: Malformed bundle, taint = missing executable
What I'm finding is that it comes up (and stays up) about once for every 4 to 6 or 7 times I try to open it. Very odd!
The
Traceback (most recent call last):
File "<string>", line 624, in <module>
File "<string>", line 200, in __init__
File "/Users/Shared/development/python_related/pyside/pyExifToolGUI-0.5/MacOSX/build/pyi.darwin/pyexiftoolgui/out00-PYZ.pyz/petgfunctions", line 152, in tool_check
File "/Users/Shared/development/python_related/pyside/pyExifToolGUI-0.5/MacOSX/build/pyi.darwin/pyexiftoolgui/out00-PYZ.pyz/petgfunctions", line 86, in exiftool_version_level_text
ValueError: could not convert string to float:
error messages only come out on the attempts that fail, obvs. I have no idea why it coming up is so non-deterministic.