The “extract_ocio_config_publishing” plugin from the batchdelivery tool
is producing a ModuleNotFoundError on Deadline:
2026-06-30 19:46:49: 0: STDOUT: *** Failed to load 1 files
2026-06-30 19:46:49: 0: STDOUT: - C:\Users\mueller9\AppData\Local\Ynput\AYON\addons\batchdelivery_0.4.3\ayon_batchdelivery\plugins\publish\extract_ocio_config_publishing.py
2026-06-30 19:46:49: 0: STDOUT: **********
2026-06-30 19:46:49: 0: STDOUT: Traceback (most recent call last):
2026-06-30 19:46:49: 0: STDOUT: File "C:\Users\mueller9\AppData\Local\Ynput\AYON\addons\core_1.9.7\ayon_core\pipeline\publish\lib.py", line 403, in publish_plugins_discover
2026-06-30 19:46:49: 0: STDOUT: module = import_filepath(
2026-06-30 19:46:49: 0: STDOUT: File "C:\Users\mueller9\AppData\Local\Ynput\AYON\addons\core_1.9.7\ayon_core\lib\python_module_tools.py", line 45, in import_filepath
2026-06-30 19:46:49: 0: STDOUT: module_loader.exec_module(module)
2026-06-30 19:46:49: 0: STDOUT: File "<frozen importlib._bootstrap_external>", line 850, in exec_module
2026-06-30 19:46:49: 0: STDOUT: File "<frozen importlib._bootstrap>", line 228, in callwith_frames_removed
2026-06-30 19:46:49: 0: STDOUT: File "C:\Users\mueller9\AppData\Local\Ynput\AYON\addons\batchdelivery_0.4.3\ayon_batchdelivery\plugins\publish\extract_ocio_config_publishing.py", line 19, in <module>
2026-06-30 19:46:49: 0: STDOUT: import lablib
2026-06-30 19:46:49: 0: STDOUT: ModuleNotFoundError: No module named 'lablib'
It looks like lablib is shipped with the addon itself and not part of the dependency package.
However, this error does not seem to have a negative effect on the deadline job, in this case a farm publish from nuke.
I guess it has something to do with the fact that the sys path is modified on_host_install and therefore not being executed during a headless publish session on deadline.
Maybe this can be handled in a nicer way so we avoid the ModuleNotFoundError?
Or is this probably causing issues elsewhere?
Please authenticate to join the conversation.
In Review
Bugs

Sebastian Brandhuber
Get notified by email when there are changes.
In Review
Bugs

Sebastian Brandhuber
Get notified by email when there are changes.