Gerkinfeltser / image-metadata-display

The Unlicense
5 stars 0 forks source link

Not working on macOS #3

Open andyylin opened 2 weeks ago

andyylin commented 2 weeks ago

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.

Gerkinfeltser commented 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.

andyylin commented 1 week ago

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?

Gerkinfeltser commented 1 week ago

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!

andyylin commented 4 days ago

Thanks! I just installed 0.0.5. But the selection is missing in the Output panel:

image

Also, when I go to Extensions > Image Metadata Inspector > Features > Runtime Status, it shows under Activation that it is "Not yet activated"

image
Gerkinfeltser commented 4 days ago

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.

Current Status:

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.

Next Steps:

  1. Software Versions:

    • Could you share your macOS and VS Code version? This will help me ensure compatibility when I eventually work on a fix.
  2. Developer Logs:

    • If possible, open 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.
  3. Future Compatibility:

    • There’s a cross-platform tool called 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!

andyylin commented 3 days ago

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

Gerkinfeltser commented 2 days ago

Yeah, it's definitely exiftool-vendored related. So far, my fixing efforts have not bore fruit. I'll keep thinking on this!