Job Fails to Start Due to Python Syntax Error
Posted: Tue Mar 14, 2023 5:08 pm
I am attempting to use afstarter to submit a generic command line job so we can quickly integrate an older piece of software into our farm (LightWave3D), but I'm getting some very strange errors.
I have configured the settings that result in the following
Which submits successfully and attempts to render. However, during a render attempt I get the following output:
Now, the correct executable seems to be starting (lwsn.exe) indicated by the text "LightWave AMD64 ScreamerNet Module (Build 3227)", but then after that we get the Python syntax error. My guess is that the Python embedded in lwsn.exe is too old but is picking up some environment variable or sys.path and trying to scan teh cgru python code which is too new.
Any ideas on how to circumvent this?
I have configured the settings that result in the following
Code: Select all
"python" "C:\ProgramData\Rez\cache\cgru\3.3.0-b75c1cb\0368\a\cgru\afanasy\python\afjob.py" "T:\__TO_BE_DELETED\CGRU_Lightwave\scenes\lightwave_test.lws" 1 10 -by 1 -fpt 1 -seq 1 -extrargs "-3 T:\__TO_BE_DELETED\CGRU_Lightwave\scenes\lightwave_test.lws" -os any -pwd "T:\__TO_BE_DELETED\CGRU_Lightwave\scenes" -name "lightwave_test.lws" -exec "T:\__LightwaveFarm\Lightwave2020.0.3\bin\lwsn.exe"
Code: Select all
LightWave AMD64 ScreamerNet Module (Build 3227)
CPU number: 862
File "C:\ProgramData\Rez\cache\cgru\3.3.0-b75c1cb\0368\a\cgru\python\lib\site.py", line 178
file=sys.stderr)
^
SyntaxError: invalid syntax
Any ideas on how to circumvent this?