Skip to main content
Participant
May 24, 2024 9:23 PM UTC
Answered

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

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 is closed to new replies. Start a new post to keep the conversation going.
EckiAME
EckiAMECorrect answer
Community Manager
May 29, 2024 11:36 AM UTC

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

5 replies

EckiAME
Community Manager
Community Manager
May 27, 2024 11:09 AM UTC

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

Translate
Participant
May 28, 2024 3:57 PM UTC

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? 

Translate
EckiAME
Community Manager
EckiAMECommunity ManagerCorrect answer
Community Manager
May 29, 2024 11:36 AM UTC

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

Translate