• Bugs
  • Photoshop to Spine Script Error

Related Discussions
...

Hello, I saw another post about this but it doesn't seem to have any answers on it so I figured I'd try. I'm getting this error everytime I try to run the script.


I believe I'm running the Script version 7.22 while using Photoshop CS6.

I've tried everything mentioned here https://github.com/EsotericSoftware/spine-scripts/tree/master/photoshop#debugging and nothing happens. My photoshop never crashes, but keeps the second copied file of what I'm trying to use the script up with a layer "collecting layers" (or something). I can see it trying to work but then it gets stuck. Also, the layer mentioned in the screenshot it the bottom/first layer. (I had tried just adding in a blank layer and even hiding the blank layer but then the error screen shows "layer 1" as the problem instead.)

Thanks for reporting the problem. Could you please post or email your PSD file? contact@esotericsoftware.com It seems your PSD has a layer that the script doesn't work on, so we'd like to see it firsthand to ensure our fix works correctly.

I can email it but just to let you know, it was happening to every PSD file I tried with.

If the error occurs with all PSDs, the problem may be with the settings in Photoshop itself.
Could you please use the Reset Preferences on Quit button in Edit > Preferences > General to reset the settings and try again? (I have no way to check the window in CS6, so please forgive me if perhaps each name is a little different.)

So I've tried two different ways to reset Photoshop to it's original settings (since there isn't a Reset Preferences on CS6 but I googled different ways on how to do it!) It's still having the same problem/giving me that exact same window.

I did manage now to get it to try to finish though through the Debugging option (the Debug > Do not break on guarded exceptions ) thing by constantly making it run after it stopped itself. However, the file I made is empty.

Thanks for the file. We've implemented a fix! Please download the script again and give it a try. The version with the fix is 7.23. :beer:

Yay omg it works! Thank you so much! ??

5 jours plus tard

Hi, unfortunatelly i have a similar problem.
I tried to search for a solution of it but unfortunatelly i didn't get an answer. I also tried to install the most recent script but the problem remains.
The Photoshop version i'm using its the Adobe Photoshop CC 2018.

I wonder if someone could help me solving what's going wrong.

@Shard_, that looks like a different error. What version of the script are you using? Can you please post or email a PSD file that shows the error when the script is run?

@Shard_ Thank you for sending the PSD file. It appears to be an error when the filter is used with a clipping mask. However, if you create a group like the following image and use the [merge] tag, you can export it successfully:
[attachment=0]use[merge]tag.png[/attachment]

Thanks Misaki!

We've updated the script to 7.24. It handles the clipping masks in your PSD now. Can you please verify the output is correct?

I tried to create a group with the merge tag and it worked perfectly thanks a lot! :grinteeth:
Also i tried to find the new version of the script that its been updated but unfortunatey can´t find it, can you give me the link with the new version please?

Thanks again for the help! I have been struggling with this problem on some projects since a few months ago.

Thank you it worked perfectly :grinteeth:

Ah sorry I hadn't pushed 7.24! I've done so now, so you don't need the merge group (though that works fine too).

un an plus tard

i have same issue with my PS CS6.

That could be any error, it's not clear if it's the same problem as this very old thread.

What version of the script are you using?

it's 4.1.... but i'm also used the latest one thats not work properly its saving psd copy of the images.

    eARTh The latest script version is 7.34, so if you are using 4.1, it is a very old version of the script. When you open the .jsx file in a text editor, you should see the version number written at the beginning.

    If you check it and the version number is older than 7.34, could you please download the latest script and try exporting again?


    its saving psd copy

      eARTh Thank you for trying the latest script. Could you please describe to us what operations you did in more detail? To run PhotoshopToSpine, you must first have saved the PSD somewhere in your storage. Did you save the PSD first and then run the script?

      yes. save it.

        eARTh If possible, could you show us a video or something to show us what operations you have tried?

          i got a new error

          Misaki sure give me a moment

          thank you for your support. I figure it out by myself. thanks again

          The command "Make" is currently not available.

          Weird, the script doesn't execute any command called "make" that I can see.

          You figured out the problem? What was it, in case others have the same problem?

          eARTh Thank you for providing your PSD file. Indeed, I can reproduce the problem with it on my PC. This is a really weird issue, and as Nate asked you, I would like to know how you solved the problem.

          It’s not the problem of script maybe. I make the psd file on 32bit change it in 8bit then it’s work.

            eARTh Indeed, I can export the psd file if I change the mode to 16Bits/Channel. That was a complete blind spot. Thank you for getting back to us!

            20 jours plus tard

            Hey everyone I really need help, I don't see scripts to spine in photoshop. I used to be able to Scripts to Spine, but now I don't see that anymore.
            What should I do? Is there something wrong with my version or program?

              LENM44 Most likely it is because you placed the script file in the wrong folder, or maybe you updated Photoshop and did not put the script file in the Presets -> Scripts folder of the newer version.
              Could you please check if you have PhotoshopToSpine.jsx in the Presets -> Scripts folder of the version of Photoshop you are using?

              I don't see 'Scripts' folder in my Presets folder(also in my old version) ????

              I don't know what happen. 😭 😭 😭

                LENM44 Hmmm, that is weird. I checked Adobe's official user guide to see if it might be different between macOS and Windows, but it says there is the Scripts folder in Presets:
                https://helpx.adobe.com/photoshop/using/scripting.html
                Perhaps you could try to add it manually. Could you please try to add the Scripts folder and add PhotoshopToSpine.jsx into it?

                  LENM44
                  It looks like you're searching in your roaming folder, but in my case on this old pc, the scripts are ot be found on a path looking more like this one:
                  "C:\Program Files\Adobe\Adobe Photoshop CC 2018\Presets\Scripts"
                  I hope this helps!