-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use Exiftool from the command line to write metadata to images #150
Comments
I've noticed that sometimes it does that, and I'm not sure what the issue is. Try to copy/paste the command out into a new anaconda command line and see if that works. |
I may need some guidance for how to do that. This is what I tried:
I imagine there's a better way of doing it because this didn't work for me! |
Sure, it's not a line of python, it's just a command (like the Here's the example for the Batch Processing notebook running:
The output is just the number of files found/updated. |
That seems to be telling us that there's a disconnect between the files in the directory, and the paths in the log.csv file. If the filenames between the two don't match those messages will show up. |
Ok well at least I have the command running now. I will have to do some troubleshooting to see why my file names aren't matching up. Thanks for your help on this! |
Hi; this is related. I'm also running the batch processing tutorial, and I get a "No such file or directory" error when I try to run the exiftool -csv line from a Jupyter notebook (running on a Mac). After trying for 4 hours to forensically investigate this problem (because I'm new to exif), I have determined that it's a problem with Jupyter and not exiftool: I know this because I just successfully updated the metadata for all 355 tiffs in the "stacks" folder using the terminal. Does anyone have any idea what's causing this strange behavior in Jupyter? Thanks! ++++++FileNotFoundError Traceback (most recent call last) ~/mambaforge/envs/micasense/lib/python3.7/subprocess.py in check_call(*popenargs, **kwargs) ~/mambaforge/envs/micasense/lib/python3.7/subprocess.py in call(timeout, *popenargs, **kwargs) ~/mambaforge/envs/micasense/lib/python3.7/subprocess.py in init(self, args, bufsize, executable, stdin, stdout, stderr, preexec_fn, close_fds, shell, cwd, env, universal_newlines, startupinfo, creationflags, restore_signals, start_new_session, pass_fds, encoding, errors, text) ~/mambaforge/envs/micasense/lib/python3.7/subprocess.py in _execute_child(self, args, executable, preexec_fn, close_fds, pass_fds, cwd, env, startupinfo, creationflags, shell, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite, restore_signals, start_new_session) FileNotFoundError: [Errno 2] No such file or directory: 'exiftool -csv=" |
I'm stuck on the last step of the Batch Processing notebook at the "Use Exiftool from the command line to write metadata to images". When I run the code it doesn't seem to change anything in my tif files.
I found a similar issue here: #121, but it looks like it never got solved.
I run the following code and get an output of 0
Very new to this stuff so appreciate the help.
The text was updated successfully, but these errors were encountered: