• Editor
  • Need help to solve the Spine script error

Related Discussions
...

Hi,

I am using PS CC 2019 and have downloaded the Spine script v5.
I've followed many instructions and tried to solve this problem but nothing worked.
I even used Adobe Extend Script to uncheck the 'Debug>do not break on guarded exceptions'....

Hope someone can help me!

Hmm the script works here. It's a bit technical, but did you run the script in the debugger? The goal is to figure out which line the error occurs.

Nate wrote

Hmm the script works here. It's a bit technical, but did you run the script in the debugger? The goal is to figure out which line the error occurs.

I just followed what error message said. I know nothing about the debugging :/.. how can I check which line has the error?

First you uncheck that setting, then you run the script using the tool rather than running it in Photoshop. Eg, choose File -> Open, choose the PhotoshopToSpine script, then make sure Photoshop is running and choose Debug -> Run (or F5). The script runs and execution will stop at any line where an error occurs. Note some lines are expected to cause an error and those are surrounded by try { and } catch (ignored) {}. When execution stops at a line like that, choose Debug -> Run (or F5) again to continue execution. The line it stops on just before showing the error dialog is likely the line we are interested in. If you can tell us what line number that is, we should be able to determine why the script isn't working for you. Please also include the text of that line, to be sure we are looking at the same file.

I have the same issue, I will try too


The script works if the photoshop layers are inside a folder, that solved the issue for me

Aha, good find, thanks! We've updated the script to work when there are no layers (script v5.1).