quadproduction / OpenPype

QuadProd version of OpenPype
MIT License
4 stars 0 forks source link

Rendering issue with Deadline #390

Closed ClementHector closed 1 year ago

ClementHector commented 1 year ago

In GitLab by @support-bot on Apr 18, 2023, 13:11

From... Marc

Problem

I'm testing rendering with Maya / OpenPype and I have a problem with Deadline

How get error

deadline_issue_from_gitlab

Path :

/prod/prod2/Projets/2023/TEST_OP2_PUB_23_7/5_FILM/Assets/cube/work/model/cube_model_v003.ma

Log

=======================================================

Error

=======================================================

Error: Global job preload script '/tmp/deadline/ws232/plugins/643e94b79c6c6405f2284e58/GlobalJobPreLoad.py': RuntimeError : Cannot find compatible version available for version 3.15.4 requested by the job. Please add it through plugin configuration in Deadline or install it to configured directory. (FranticX.Scripting.PythonNetException)

  File "/tmp/deadline/ws232/plugins/643e94b79c6c6405f2284e58/GlobalJobPreLoad.py", line 434, in __main__

    inject_openpype_environment(deadlinePlugin)

  File "/tmp/deadline/ws232/plugins/643e94b79c6c6405f2284e58/GlobalJobPreLoad.py", line 309, in inject_openpype_environment

    ).format(requested_version))

   at Python.Runtime.PyObject.Invoke(PyObject[] args)

   at Python.Runtime.PyObject.InvokeMethod(String name, PyObject[] args)

   at FranticX.Scripting.PythonNetScriptEngine.CallFunction(String moduleName, String functionName, Object[] args)

   at Deadline.Plugins.PluginWrapper.d()

   at Deadline.Plugins.PluginWrapper.StartJob(String& outMessage, AbortLevel& abortLevel)

=======================================================

Type

=======================================================

RenderPluginException

=======================================================

Stack Trace

=======================================================

   at Deadline.Plugins.SandboxedPlugin.d(DeadlineMessage bgm, CancellationToken bgn)

   at Deadline.Plugins.SandboxedPlugin.StartJob(Job job, CancellationToken cancellationToken)

   at Deadline.Slaves.SlaveRenderThread.c(TaskLogWriter ajt, CancellationToken aju)

=======================================================

Log

=======================================================

2023-04-18 15:02:37:  0: Loading Job's Plugin timeout is Disabled

2023-04-18 15:02:37:  0: SandboxedPlugin: Render Job As User enabled, running as user 'mgutmann', which is defined in the User Settings for this job's user

2023-04-18 15:02:41:  0: Failed to properly create Deadline logs folder '/var/log/Thinkbox/Deadline10' because: Access to the path '/var/log/Thinkbox/Deadline10' is denied. (System.UnauthorizedAccessException)

2023-04-18 15:02:41:  0: Executing plugin command of type 'Initialize Plugin'

2023-04-18 15:02:41:  0: INFO: Executing plugin script '/tmp/deadline/ws232/plugins/643e94b79c6c6405f2284e58/MayaBatch.py'

2023-04-18 15:02:41:  0: INFO: Plugin execution sandbox using Python version 3

2023-04-18 15:02:41:  0: INFO: About: Maya Batch Plugin for Deadline

2023-04-18 15:02:41:  0: INFO: The job's environment will be merged with the current environment before rendering

2023-04-18 15:02:41:  0: Done executing plugin command of type 'Initialize Plugin'

2023-04-18 15:02:41:  0: Start Job timeout is disabled.

2023-04-18 15:02:41:  0: Task timeout is disabled.

2023-04-18 15:02:41:  0: Loaded job: cube_model_v003.ma - Turntable1 (643e94b79c6c6405f2284e58)

2023-04-18 15:02:41:  0: Executing plugin command of type 'Start Job'

2023-04-18 15:02:41:  0: DEBUG: S3BackedCache Client is not installed.

2023-04-18 15:02:41:  0: INFO: Executing global asset transfer preload script '/tmp/deadline/ws232/plugins/643e94b79c6c6405f2284e58/GlobalAssetTransferPreLoad.py'

2023-04-18 15:02:41:  0: INFO: Looking for legacy (pre-10.0.26) AWS Portal File Transfer...

2023-04-18 15:02:41:  0: INFO: Looking for legacy (pre-10.0.26) File Transfer controller in /opt/Thinkbox/S3BackedCache/bin/task.py...

2023-04-18 15:02:41:  0: INFO: Could not find legacy (pre-10.0.26) AWS Portal File Transfer.

2023-04-18 15:02:41:  0: INFO: Legacy (pre-10.0.26) AWS Portal File Transfer is not installed on the system.

2023-04-18 15:02:41:  0: INFO: Executing global job preload script '/tmp/deadline/ws232/plugins/643e94b79c6c6405f2284e58/GlobalJobPreLoad.py'

2023-04-18 15:02:41:  0: PYTHON: *** GlobalJobPreload start ...

2023-04-18 15:02:41:  0: PYTHON: >>> Getting job ...

2023-04-18 15:02:41:  0: PYTHON: --- Job type - render 1

2023-04-18 15:02:41:  0: PYTHON: --- Job type - publish 0

2023-04-18 15:02:41:  0: PYTHON: --- Job type - remote 0

2023-04-18 15:02:41:  0: PYTHON: >>> Injecting OpenPype environments ...

2023-04-18 15:02:41:  0: PYTHON: >>> Scanning for compatible requested version 3.15.4

2023-04-18 15:02:41:  0: PYTHON: >>> Getting OpenPype executable ...

2023-04-18 15:02:41:  0: PYTHON: --- Looking for OpenPype at: /prod/softprod/apps/openpype/latest

2023-04-18 15:02:41:  0: PYTHON:   - found:  3.14.7-quad.10> - /prod/softprod/apps/openpype/latest/linux

2023-04-18 15:02:41:  0: PYTHON:    ! path is not a build: /prod/softprod/apps/openpype/latest/windows

2023-04-18 15:02:41:  0: PYTHON: Looking for OpenPype at: /prod/softprod/apps/openpype/latest/linux

2023-04-18 15:02:41:  0: PYTHON:   - found:  3.14.7-quad.10> - /prod/softprod/apps/openpype/latest/linux

2023-04-18 15:02:41:  0: PYTHON: Traceback (most recent call last):

2023-04-18 15:02:41:  0: PYTHON:   File "/tmp/deadline/ws232/plugins/643e94b79c6c6405f2284e58/GlobalJobPreLoad.py", line 309, in inject_openpype_environment

2023-04-18 15:02:41:  0: PYTHON:     ).format(requested_version))

2023-04-18 15:02:41:  0: PYTHON: RuntimeError: Cannot find compatible version available for version 3.15.4 requested by the job. Please add it through plugin configuration in Deadline or install it to configured directory.

2023-04-18 15:02:41:  0: PYTHON: !!! Injection failed.

2023-04-18 15:02:42:  0: '/users_roaming/mgutmann/Thinkbox/Deadline10/pythonAPIs/8V8myYiuCTeqVADSSX273A==' already exists. Skipping extraction of PythonSync.

2023-04-18 15:02:43:  0: Done executing plugin command of type 'Start Job'

=======================================================

Details

=======================================================

Date: 04/18/2023 15:02:46

Frames: 101

Elapsed Time: 00:00:00:09

Job Submit Date: 04/18/2023 15:01:43

Job User: mgutmann

Average RAM Usage: 70873022464 (53%)

Peak RAM Usage: 70885396480 (53%)

Average CPU Usage: 97%

Peak CPU Usage: 99%

Used CPU Clocks (x10^6 cycles): 120296

Total CPU Clocks (x10^6 cycles): 124016

=======================================================

Worker Information

=======================================================

Worker Name: ws232

Version: v10.1.23.6 Release (773a6289d)

Operating System: Linux

Machine User: root

IP Address: 10.10.9.234

MAC Address: B0:7B:25:28:82:C1

CPU Architecture: x86_64

CPUs: 24

CPU Usage: 96%

Memory Usage: 66.0 GB / 125.5 GB (52%)

Free Disk Space: 293.270 GB

Video Card: NVIDIA Corporation TU104GL [Quadro RTX 5000] (rev a1)

## Softwares concerned

Maya, Fix

`/labels ~"Company::FIX" ~"Soft::Maya"`
![6f196c4d85](https://my-gitlab-bucket.s3.amazonaws.com/602095763/4901689cb12b3220f37d824f6136422ddf030cf4ad8e05fd1c48933315d028d1/6f196c4d85.png)            
ClementHector commented 1 year ago

Solve by implementing @mre7a Deadline Fix

louparis commented 1 year ago

https://github.com/ynput/OpenPype/pull/4484