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

Unable to execute script at line ####. Execution halted.

Community Beginner ,
May 01, 2024 May 01, 2024

Copy link to clipboard

Copied

When I move a layer down more than one or two steps using the shortcut Ctrl + [ .. this message appears.image.png

Note: this doesn't happen when:
- I move the layer up.

- I move the layer down using the shortcut Ctrl + Alt + Arrow down

TOPICS
Performance , Scripting

Views

91

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
Adobe Employee ,
May 02, 2024 May 02, 2024

Copy link to clipboard

Copied

Hi @Marwan167,

Thank you for reporting this issue. What version of After Effects are you using when you encounter this error? And what are your system specs?

 I don't see this error when moving layers down more than one or two steps using the Ctrl + [ shortcut in After Effects 23.3 on Windows. Since the error is coming from a script, is it possibly coming from a script or extension docked in your workspace? A screenshot of your whole workspace, when the error occurs, would be helpful.

 

Thanks for any additional information you can provide,

- John, After Effects Engineering Team 

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 ,
May 08, 2024 May 08, 2024

Copy link to clipboard

Copied

Thank you @JohnColombo for your support.
.
I am using After Effects version 24.1.0 (Build 78).
I am operating on an Asus Rog Strix G15 laptop
and these are the specs :
Screenshot 2024-05-08 164605.png
The error happens when I press Ctrl + [ quickly or keep the buttons pressed.
and this is a full screenshot of my whole workspace:

Screenshot (42).png

 

Thank you.

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
Adobe Employee ,
May 10, 2024 May 10, 2024

Copy link to clipboard

Copied

Thank you for the system info and the screenshot, @Marwan167. I don't see any third-party panels docked in your workspace, but do you have any third-party extensions, panels, or plug-ins installed currently?

 

I ask because After Effects on its own does not run any scripts when you reorder layers with Ctrl + [. However, some third-party tools continually "watch" the project for changes, and this might be a case where a quick action is causing the third-party tool to fail.

 

- John, After Effects Engineering Team  

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 ,
May 13, 2024 May 13, 2024

Copy link to clipboard

Copied

Thank you @JohnColombo .

yes I have many plugins installed .. is there any way to know which plugin is causing this issue ?!

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
Adobe Employee ,
May 13, 2024 May 13, 2024

Copy link to clipboard

Copied

LATEST

For plug-ins, you can start in Safe Mode (via Edit > Preferences > Startup & Repair) and see if the issue still occurs. For scripts, could you send a list of scripts listed in the Window menu? There might be an obvious offender listed there. You could try moving all of those scripts out of the ScriptUI Panel folder and see if the error continues to occur.

If removing the scripts stops the error from occurring, I'd recommend removing half of the scripts and then try reordering the layers. If the error occurs again, remove half of those scripts and try again. Otherwise, put the other half of the script back and try again. Repeat until you've found the offending scripts—this is called a binary search and it is usually much faster than reinroducing scripts one at a time.

 

Since this appears to be a third-party issue, I'll be moving this thread from Bugs to Discussions.

 

Cheers,

- John, After Effects Engineering Team 

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