Skip to main content
Participant
May 24, 2024
Answered

I can't get my extend script to run from terminal

  • May 24, 2024
  • 1 reply
  • 529 views

I am trying to run a script to see if media encoder is currently encoding. I run it from the debugger in vs code and it works fine. but when i try to run it in terminal with:

 

"/Applications/Adobe Media Encoder 2023/Adobe Media Encoder 2023.app/Contents/MacOS/Adobe Media Encoder 2023" --console es.processFile "~/Documents/readProg.jsx"

 

All i get is this error: 

 

 

objc[11490]: Class CustomWKWebView is implemented in both /Applications/Adobe Media Encoder 2023/Adobe Media Encoder 2023.app/Contents/Frameworks/Registration.framework/Versions/A/Registration (0x14d04e690) and /Applications/Adobe Media Encoder 2023/Adobe Media Encoder 2023.app/Contents/MacOS/Adobe Media Encoder 2023 (0x107af69f0). One of the two will be used. Which one is undefined.

objc[11490]: Class NativeBrowser is implemented in both /Applications/Adobe Media Encoder 2023/Adobe Media Encoder 2023.app/Contents/Frameworks/Registration.framework/Versions/A/Registration (0x14d04e6e0) and /Applications/Adobe Media Encoder 2023/Adobe Media Encoder 2023.app/Contents/MacOS/Adobe Media Encoder 2023 (0x107af6a40). One of the two will be used. Which one is undefined.

objc[11490]: Class HttpRequestDelegate is implemented in both /Applications/Adobe Media Encoder 2023/Adobe Media Encoder 2023.app/Contents/Frameworks/Registration.framework/Versions/A/Registration (0x14d04e730) and /Applications/Adobe Media Encoder 2023/Adobe Media Encoder 2023.app/Contents/MacOS/Adobe Media Encoder 2023 (0x107af6a90). One of the two will be used. Which one is undefined.

objc[11490]: Class CertificateVerifier is implemented in both /Applications/Adobe Media Encoder 2023/Adobe Media Encoder 2023.app/Contents/Frameworks/Registration.framework/Versions/A/Registration (0x14d04e7a8) and /Applications/Adobe Media Encoder 2023/Adobe Media Encoder 2023.app/Contents/MacOS/Adobe Media Encoder 2023 (0x107af6b08). One of the two will be used. Which one is undefined.

 

any ideas?

This topic has been closed for replies.
Correct answer EckiAME

Either remove the quotes around your path or provide a full absolute path. Command line does not replace the home directory in quoted "~".

1 reply

EckiAME
Community Manager
Community Manager
May 27, 2024

These are not errors related to your script. What you see is diagnostic output in the terminal.

Participant
May 28, 2024

I've seen that answer, but in that case why does it not work? it works fine from VS Code. the only thing in the script is to alert("hello"); Am I running this incorectly? 

EckiAME
Community Manager
EckiAMECommunity ManagerCorrect answer
Community Manager
May 29, 2024

Either remove the quotes around your path or provide a full absolute path. Command line does not replace the home directory in quoted "~".