The photoshop toolkit app fails after a while

After running photoshop from SGTK for a while (can be hours, can be shorter, seems random) the SGTK actions stop working.

Typically, photoshop.app.activeDocument starts returning None no matter if there is actually an active document.

Also, something like:

pixels = photoshop.StaticObject('com.adobe.photoshop.Units', 'PIXELS')
photoshop.app.preferences.rulerUnits = pixels 

fails with an "Error #1034" from photoshop. 

From there any operation the python script tries to do on the photoshop library fails the same way.

Is this a known issue? The only workaround is to reopen PS, but that means also changing to the right work area, it's a bit of a hassle for everyone.

1 comment

  • 0
    Rob Blau

    Hi Alexandre,

    This is the first report we've heard of the engine crashing after a while.  What version of the engine are you running?  In v0.1.10 there was an update to what happens when the panel is closed and then re-opened, which should at least make it so that you don't need to reopen photoshop.  To dig into what is going on, I'd need to take a look at the logs to see what was happening right before the error.

    Let's do that digging in a support ticket, and I'll update this post with what we find.

Please sign in to leave a comment.