Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • EspaƱol
      • FranƧais
      • PortuguĆŖs
  • ę—„ęœ¬čŖžć‚³ćƒŸćƒ„ćƒ‹ćƒ†ć‚£
  • ķ•œźµ­ ģ»¤ė®¤ė‹ˆķ‹°
2

EvalScript error on Premiere Pro 14.0.2

Explorer ,
Feb 25, 2020 Feb 25, 2020

On our CEP panel, any script run with window.__adobe_cep__.evalScript() is giving "EvalScript error." after Premiere Pro was auto-upgraded to 14.0.2. After many hours of investigation, when we downgraded to 14.0.1, it started to work again. Is this a known issue?

TOPICS
Error or problem
4.0K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Mar 03, 2020 Mar 03, 2020

As mentioned elsewhere, 14.0.2 defaults New World scripting to ON.

#include directives don't work in New World. Instead, you can follow the usage in the PProPanel sample (see /PProPanel/PProPanel.jsx); upon panel launch, it evaluates (opens) all .jsx files used within the panel.

Translate
Explorer ,
Mar 02, 2020 Mar 02, 2020

Any clue about this anyone? 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Mar 02, 2020 Mar 02, 2020

I have the same problem on the Premiere 14.0.3. csInterface.evalScript returned "EvalScript error". After I downgraded to 14.0.1, plugin started work again.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Mar 03, 2020 Mar 03, 2020

As mentioned elsewhere, 14.0.2 defaults New World scripting to ON.

#include directives don't work in New World. Instead, you can follow the usage in the PProPanel sample (see /PProPanel/PProPanel.jsx); upon panel launch, it evaluates (opens) all .jsx files used within the panel.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 04, 2020 Mar 04, 2020

Hi Bruce!

 

Thanks for the reply. We are indeed using #include for importing json2.min.js since JSON is not available by default in ExtendScript. Didn't know about New World. Will change to evalFile now to load json2.min.js at runtime on initialization with absolute path.

 

Thanks,

 

Andaleeb

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 16, 2021 Sep 16, 2021
LATEST

Hi @Bruce Bullis,.
I'm working on a panel to run in both After Effects and PremierePro.
When I run the extension on Mac, the extension works in both AEFT and PPRO.

But on Windows, I'm getting this "EvalScript error".
And I'm having this issue with the panel on Windows just with PPRO. With AEFT runs normally.

Until try to run on Windows I wasn't aware that Premiere doesn't work anymore with the #include directive, because I'm using the //@include (and even using #include directive), still running on Mac.

 

So, what would be the best approach since the AEFT panel side seems not to work when I remove the include directives?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines