-
Notifications
You must be signed in to change notification settings - Fork 20
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
Gem doesn't work on Windows #31
Comments
Turns out there are other more issues to solve. The output of the exiftool on Windows doesn't match what's in the Do you have routine to turn the output of exiftool into yaml format for the expect files? |
@sroller thanks for digging into it. I haven't touched the code for this gem in a while, with exception of the minor housekeeping tasks. I will try to find some time to look into exiftool output -> yaml question and get back to you. Please keep me posted on developments on your side of things and I'm happy to discuss potential changes. |
I believe that additional output key/value pairs that you may see on Windows can be added to keys to be ignored during tests in |
I'm the original author of this gem (I stopped using ruby more than a decade ago). Kudos to @morozgrafix for keeping it alive! 💪 Windows filename support will at least require shenanigans like this: https://github.com/photostructure/exiftool-vendored.js/blob/main/src/FilenameCharsetArgs.ts (I had to add a bunch of example filenames with different unicode block classes, and add windows to my GHA test matrix, and even then, there are issues with some multi-character emoji in filenames). |
The gem doesn't recognize the
exiftool
command even when it's installed.That's because Windows'
null device
doesn't follow the POSIX rules.I added the gem 'os' to the file exiftool.rb.
I changed line #60 to
and that did it for me.
The text was updated successfully, but these errors were encountered: