• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
1

Unable to execute script at line 2; expected

Community Beginner ,
Sep 12, 2023 Sep 12, 2023

Copy link to clipboard

Copied

I am trying to run a kml script in After effects and constantly getting this error: 

Unable to execute script at line 2. Expected: ;

How can I solve this?

TOPICS
Error or problem , How to , Scripting

Views

916

Translate

Translate

Report

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
Community Expert ,
Sep 12, 2023 Sep 12, 2023

Copy link to clipboard

Copied

Without seeing the script it is going to be pretty difficult to guess what is happening in line 2 that is causing the error.

Votes

Translate

Translate

Report

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
Community Expert ,
Sep 14, 2023 Sep 14, 2023

Copy link to clipboard

Copied

The format for scripts is JSX, not KML, so maybe that's your issue. Did you write the script or did you buy / download it from an author?

Votes

Translate

Translate

Report

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
Community Beginner ,
Sep 14, 2023 Sep 14, 2023

Copy link to clipboard

Copied

I downloaded the script from Imagiscope tech and is working fine, my AE just needed restarting 😉

Thank you anyway for help!

Votes

Translate

Translate

Report

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
New Here ,
Nov 29, 2024 Nov 29, 2024

Copy link to clipboard

Copied

LATEST

Same here! My 2025.0.1 After Effects was working great, but suddenly showed this error every time I launched the After Effects. Rubberhose 3 and Void are the main scripts that I use.

Votes

Translate

Translate

Report

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