STDOUT: Error: line 1: RuntimeError: file C:\Program Files\Autodesk\Maya2018\Python\lib\site-packages\maya\app\renderSetup\model\sceneObservable.py line 365: (kInvalidParameter): Argument is a NULL pointer 2023-07-23 19:44:36: 0: WARNING: Strict error checking on, ignoring the following unrecognized error or warning. If it is fatal, please email support@thinkboxsoftware.com with the error message. 2023-07-23 19:44:36: 0: STDOUT: Warning: line 1: Python callback failed 2023-07-23 19:44:36: 0: WARNING: Strict error checking on, ignoring the following unrecognized error or warning. If it is fatal, please email support@thinkboxsoftware.com with the error message. 2023-07-23 19:44:36: 0: STDOUT: Error: line 1: RuntimeError: file C:\Program Files\Autodesk\Maya2018\Python\lib\site-packages\maya\app\renderSetup\model\sceneObservable.py line 365: (kInvalidParameter): Argument is a NULL pointer 2023-07-23 19:44:36: 0: WARNING: Strict error checking on, ignoring the following unrecognized error or warning. If it is fatal, please email support@thinkboxsoftware.com with the error message. 2023-07-23 19:44:36: 0: STDOUT: Warning: line 1: Python callback failed 2023-07-23 19:44:36: 0: WARNING: Strict error checking on, ignoring the following unrecognized error or warning. If it is fatal, please email support@thinkboxsoftware.com with the error message. 2023-07-23 19:44:36: 0: STDOUT: Error: line 1: RuntimeError: file C:\Program Files\Autodesk\Maya2018\Python\lib\site-packages\maya\app\renderSetup\model\sceneObservable.py line 365: (kInvalidParameter): Argument is a NULL pointer 2023-07-23 19:44:36: 0: WARNING: Strict error checking on, ignoring the following unrecognized error or warning. If it is fatal, please email support@thinkboxsoftware.com with the error message. 2023-07-23 19:44:36: 0: STDOUT: Warning: line 1: Python callback failed 2023-07-23 19:44:36: 0: WARNING: Strict error checking on, ignoring the following unrecognized error or warning. If it is fatal, please email support@thinkboxsoftware.com with the error message. 2023-07-23 19:44:36: 0: STDOUT: Error: line 1: RuntimeError: file C:\Program Files\Autodesk\Maya2018\Python\lib\site-packages\maya\app\renderSetup\model\sceneObservable.py line 365: (kInvalidParameter): Argument is a NULL pointer 2023-07-23 19:44:36: 0: WARNING: Strict error checking on, ignoring the following unrecognized error or warning. If it is fatal, please email support@thinkboxsoftware.com with the error message. 2023-07-23 19:44:36: 0: STDOUT: Warning: line 1: Python callback failed 2023-07-23 19:44:48: 0: WARNING: Strict error checking on, ignoring the following unrecognized error or warning. If it is fatal, please email support@thinkboxsoftware.com with the error message. 2023-07-23 19:44:48: 0: STDOUT: Error: line 17: Division by zero. 2023-07-23 19:44:48: 0: WARNING: Strict error checking on, ignoring the following unrecognized error or warning. If it is fatal, please email support@thinkboxsoftware.com with the error message. 2023-07-23 19:44:48: 0: STDOUT: Error: line 17: Division by zero.
时间: 2023-12-20 08:07:10 浏览: 171
这个错误信息显示在 Maya 2018 中的渲染设置(render setup)模块的 sceneObservable.py 文件的第365行发生了异常。具体错误是 RuntimeError,错误类型是 kInvalidParameter,意味着传递给函数的参数为空指针(NULL pointer)。
这种情况通常是由于代码中传递了无效的参数导致的。要解决这个问题,你可以检查代码中与渲染设置相关的部分,并确保正确传递参数。可能需要查看相关文档或示例来确认正确的参数格式和值。
另外,请确保你使用的 Maya 版本与渲染设置模块的版本兼容。如果问题仍然存在,你可以尝试更新或重新安装 Maya 或渲染设置模块,或者联系 Thinkbox Software 的支持团队以获取进一步的帮助。
至于最后提到的“Error: line 17: Division by zero.”,它与之前提到的除以零错误相同。你需要检查代码中的第17行,并确保在进行除法操作之前,被除数不为零。
如果你需要更详细的帮助,请提供更多相关代码和上下文信息。
相关问题
这个错误是什么原因:docker: Error response from daemon: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: Running hook #1:: error running hook: exit status 1, stdout: , stderr: nvidia-container-cli: container error: cgroup subsystem devices not found: unknown.
这个错误可能是由于缺少 nvidia-container-runtime 导致的。请确保已正确安装 nvidia-container-runtime 并将其配置为默认的运行时程序。您可以按照以下步骤安装和配置 nvidia-container-runtime:
1. 安装 nvidia-container-runtime
```
$ distribution=$(. /etc/os-release;echo $ID$VERSION_ID) \
&& curl -s -L https://nvidia.github.io/nvidia-container-runtime/$distribution/nvidia-container-runtime.list | \
sudo tee /etc/apt/sources.list.d/nvidia-container-runtime.list
$ curl -s -L https://nvidia.github.io/nvidia-container-runtime/gpgkey | sudo apt-key add -
$ sudo apt-get update
$ sudo apt-get install nvidia-container-runtime
```
2. 配置 Docker 的默认运行时
```
$ sudo vi /etc/docker/daemon.json
{
"default-runtime": "nvidia",
"runtimes": {
"nvidia": {
"path": "/usr/bin/nvidia-container-runtime",
"runtimeArgs": []
}
}
}
```
3. 重启 Docker
```
$ sudo systemctl restart docker
```
以上步骤可能需要使用管理员权限执行。如果您已经安装了 nvidia-container-runtime,请确保它与 Docker 版本兼容,并且已正确配置为默认的运行时程序。
docker: Error response from daemon: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: Running hook #0:: error running hook: exit status 1, stdout: , stderr: nvidia-container-
这看起来像一个Docker运行时错误。错误消息中提到了一个nvidia-container,这可能意味着你正在尝试在GPU上运行容器,并且你的Docker配置可能不正确。
以下是一些可能的解决方案:
1. 更新Docker和nvidia-container运行时插件到最新版本。
2. 检查你的Docker配置,确保正确地配置了GPU支持。
3. 确保你的主机上已经安装了NVIDIA驱动程序。
4. 检查你的Dockerfile或docker-compose文件,确保正确地配置了GPU支持。
5. 如果你使用的是Kubernetes,确保你正确地配置了GPU支持和nvidia-device-plugin。
6. 如果你使用的是Docker Swarm,确保你正确地配置了GPU支持和nvidia-docker-plugin。
如果以上的解决方案都没有解决你的问题,你可能需要进一步调查该错误,以找到更具体的解决方案。
阅读全文