Open andyylin opened 2 weeks ago
Hey, thanks for reaching out!
I don’t have access to a Mac these days unfortunately. Could you provide me with the console logs please?
To find them you open the Visual Studio Code console (View > Output) and look for any errors or warnings that appear when you try to use the Inspect Image Metadata feature.
Sharing any relevant log messages here could help me diagnose the issue further.
Nothing shows up under Output, Debug Console, Terminal, etc. Where else can I find logs?
Is it possible that the command isn't even being run?
Hi! I just updated & released a new version. It should now be reporting some log information so maybe we can get to the bottom of this issue.
See here for checking the log!
Let me know how it goes!
Thanks! I just installed 0.0.5. But the selection is missing in the Output panel:
Also, when I go to Extensions > Image Metadata Inspector > Features > Runtime Status, it shows under Activation that it is "Not yet activated"
Thanks for reporting this issue, and I appreciate your patience! I’m still pretty new to VS Code extension development, so I really appreciate you flagging this.
The extension currently relies on a Windows-specific binary (exiftool-vendored.exe
), which doesn’t work on macOS. Unfortunately, this means the extension won’t function properly on your system right now. I’d like to address macOS compatibility in the future.
Software Versions:
Developer Logs:
Help -> Toggle Developer Tools -> Console
in VS Code and check for any logs or errors related to the extension. Sharing those here might help narrow down the issue.Future Compatibility:
exiftool
that I’m considering for macOS support. It’s not required now, but I might rely on it in future updates.I’ll update the extension when I make progress on this. Thanks again for your understanding and for helping me identify this problem!
I appreciate you trying to fix this! I do have exiftool
on my Mac.
macOS version: Sequoia 15.1 (24B83)
VS Code version:
Version: 1.95.3
Commit: f1a4fb101478ce6ec82fe9627c43efbf9e98c813
Date: 2024-11-13T14:50:04.152Z
Electron: 32.2.1
ElectronBuildId: 10427718
Chromium: 128.0.6613.186
Node.js: 20.18.0
V8: 12.8.374.38-electron.0
OS: Darwin arm64 24.1.0
Developer Tools Console output:
Activating extension 'Gerkinfeltser.image-metadata-inspector' failed: Cannot find module 'exiftool-vendored.pl'
Require stack:
- /Users/andylin/.vscode/extensions/gerkinfeltser.image-metadata-inspector-0.0.5/node_modules/exiftool-vendored/dist/FindExiftool.js
- /Users/andylin/.vscode/extensions/gerkinfeltser.image-metadata-inspector-0.0.5/node_modules/exiftool-vendored/dist/DefaultExifToolOptions.js
- /Users/andylin/.vscode/extensions/gerkinfeltser.image-metadata-inspector-0.0.5/node_modules/exiftool-vendored/dist/ExifTool.js
- /Users/andylin/.vscode/extensions/gerkinfeltser.image-metadata-inspector-0.0.5/out/extension.js
- /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js.
Does seem to be related to exiftool-vendored
Yeah, it's definitely exiftool-vendored related. So far, my fixing efforts have not bore fruit. I'll keep thinking on this!
I added the extension to Visual Studio Code on mac, but right-clicking Inspect Image Metadata doesn't pop up any new screen with the metadata. Nothing seems to happen.