AWS Thinkbox Discussion Forums

How to run Photoshop on Deadline Slave?

Hi!

I’ve created my own Photoshop API library on top of their, quite unusable one. That gives me the freedom to create custom actions (even using inline ‘Javascript’ or that weird Javascriptey Photoshop API).

I created a Python Package that basically stacks EXR files. My problem is that by trying to launch it I get a COMTYPES error, that the Server (that is my Photoshop Application) is unable to be executed on my Slave (currently I have set the Slave to be my current workstation, just for testing purposes).

Deadline is launched through another network location, on a Windows 7 Network :unamused:
Trying the simple CommandLine execution, gives me also an Error:

"C:\Program Files\Thinkbox\Deadline10\bin\deadlinecommand.exe" -SubmitCommandLineJob -pool ioannis_test -executable "C:\Program Files\Adobe\Adobe Photoshop CC 2018\Photoshop.exe"

And here is the log:

2019-04-11 17:53:20:  0: INFO: Executable: C:\Program Files\Adobe\Adobe Photoshop CC 2018\Photoshop.exe
2019-04-11 17:53:20:  0: INFO: Execute in Shell: False
2019-04-11 17:53:20:  0: INFO: Invoking: Run Process
2019-04-11 17:53:28:  0: INFO: Process returned: 1
2019-04-11 17:53:29:  Scheduler Thread - Render Thread 0 threw a major error: 
2019-04-11 17:53:29:  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2019-04-11 17:53:29:  Exception Details
2019-04-11 17:53:29:  RenderPluginException -- Error: Process returned non-zero exit code '1'
2019-04-11 17:53:29:     at Deadline.Plugins.PluginWrapper.RenderTasks(String taskId, Int32 startFrame, Int32 endFrame, String& outMessage, AbortLevel& abortLevel)
2019-04-11 17:53:29:  RenderPluginException.Cause: JobError (2)
2019-04-11 17:53:29:  RenderPluginException.Level: Major (1)
2019-04-11 17:53:29:  RenderPluginException.HasSlaveLog: True
2019-04-11 17:53:29:  RenderPluginException.SlaveLogFileName: C:\ProgramData\Thinkbox\Deadline10\logs\deadlineslave_renderthread_0-ws040-0000.log
2019-04-11 17:53:29:  Exception.Data: ( )
2019-04-11 17:53:29:  Exception.TargetSite: Void RenderTask(System.String, Int32, Int32)
2019-04-11 17:53:29:  Exception.Source: deadline
2019-04-11 17:53:29:  Exception.HResult: -2146233088
2019-04-11 17:53:29:    Exception.StackTrace: 
2019-04-11 17:53:29:     at Deadline.Plugins.Plugin.RenderTask(String taskId, Int32 startFrame, Int32 endFrame)
2019-04-11 17:53:29:     at Deadline.Slaves.SlaveRenderThread.c(TaskLogWriter aai)
2019-04-11 17:53:29:  <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Success

Am I missing something? Isn’t Deadline able to start a GUI on a Slave?

Thank you for your time!

Hey wizofe, I know this is an old post but in case you’re still interested, I recently made a Deadline Photoshop stacking plugin too.

In the end I had to run a .vbs file from the command line which opened Photoshop and made calls to a .jsx file for the stacking operation. You could pass StdOut messages to Deadline in between loading files too which was handy.

I’m not sure about your COMRES error, but you might find it handy seeing how Photoshop was opened in this plugin’s source files. Its free to download here:

Another useful resource for Photoshop and VBScript is this Stack Overflow post

Privacy | Site terms | Cookie preferences