Running An Application via Render Farm

Bahadir Arslan <[email protected]>
Newsgroups gmane.comp.python.windows
Message-ID <[email protected]>
Hello,

I am writing a very basic automation script that would start photoshop and run a specified jsx file.

In Addition, this script is intended to be called a post-process job in the render farm. Our farm uses „RoyalRender“. The script works fine when I manually call it from any machine,

however when it is triggered from the render farm, (logged in as a different user thus lots of environment variables are different) it fails and gives an error that tells that the servers could not be started.

More specifically:

„R 22| StdErr: IDispatch = pythoncom.CoCreateInstance(IDispatch, None, clsctx, pythoncom.IID_IDispatch)

R 23| StdErr: pywintypes.com_error: (-2146959355, 'Starten des Servers fehlgeschlagen', None, None)“

Script is only using Dispatch from win32com.client;

photoshop = win32.Dispatch(„Photoshop.Application“)

photoshop.Visible = True

photoshop.DoJavaScriptFile(SCRIPT_PATH, [source_file, target_dir])

Other interesting information is, when I make a remote Connection to this machine that is handling the job, I can actually see the photoshop in the Task Manager, but it does not load ui, and does not execute any jsx file.

What should I try to solve the problem?

Thanks in Advance,

Bahadir.

Gesendet von Mail für Windows 10

_______________________________________________
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.