google / AEUX

Editable After Effects layers from Sketch artboards
Apache License 2.0
513 stars 56 forks source link

Consistently failing to transfer, error on progressText.remove(0) #34

Closed intoempty closed 2 years ago

intoempty commented 3 years ago

Consistently unable to transfer from Figma to AE. Not sure what I'm missing.

Each time, host.jsx opens to line 1426: progressText.remove(0);

0 is out of range is the error.

Any suggestions?

adamplouff commented 3 years ago

This should now be fixed in v0.7.8. Let me know if the problem persists.

ascii-husky commented 3 years ago

I got the same error with AUEX v0.7.8. and After Effects 17.6.0 on Windows 10. But it does work and the layers are created if I stop the script execution in the ExtendScript Editor after the error happens.

adamplouff commented 3 years ago

@ascii-husky Can you confirm that you see 0.7.8 in the Ae panel under the System tab?

image

ascii-husky commented 3 years ago

Hey @adamplouff, yes I have version 0.7.8. Please see screenshot. image

If I stop the script execution in the ExtendScript Editor the error no longer happens for other exports until I restart After Effects again.

adamplouff commented 3 years ago

If extendscript editor is opening that probably means you have Debug enabled in the Ae prefs. Since ESTK was deprecated a while back I don’t have that enabled so there are likely some lines that might be throwing errors that are ignored with Debug disabled. What happens if you disable that preference?

ascii-husky commented 3 years ago

Sorry for the delay. Yes, everything works and no more errors if "Enable Javascript Debugger" is unchecked. Thanks for your help!