AWS Thinkbox Discussion Forums

Media encoder submission from Monitor Error

Hi
Trying to use the Media encoder submit script from Monitor but im getting this error:

2021-01-27 13:40:15: Traceback (most recent call last):
2021-01-27 13:40:15: File “C:\thinkbox-conda\conda-bld\deadline_1604521343884\work\DeadlineProject\DeadlineUI\Commands\ScriptCommands.py”, line 106, in InnerExecute
2021-01-27 13:40:15: PythonNetException: IOError : (2, ‘No such file or directory’)
2021-01-27 13:40:15: File “H:/REPOSITORY\scripts\Submission\MediaEncoderSubmission.py”, line 16, in
2021-01-27 13:40:15: imp.load_source( ‘IntegrationUI’, RepositoryUtils.GetRepositoryFilePath( “submission/Integration/Main/IntegrationUI.py”, True ) )
2021-01-27 13:40:15: at Python.Runtime.Runtime.CheckExceptionOccurred()
2021-01-27 13:40:15: at Python.Runtime.PythonEngine.ModuleFromString(String name, String code, String fileName)
2021-01-27 13:40:15: at FranticX.Scripting.PythonNetScriptEngine.ExecuteFile(String scriptFile, String moduleName, Boolean optimizeCode)

Looks like there’s some hardcoded stuff in there

DL version: 10.1.11.5

Any help appreciated
Bonsak

Can you please start by confirming that the file

H:\REPOSITORY\submission\Integration\Main\IntegrationUI.py

actually exists in the Repository?

I don’t think the MediaEncoder submitter actually features any of the tabs implemented by the IntegrationUI.py script, but from my reading of the error the problem is that the MediaEncoderSubmission.py script is trying to load the IntegrationUI.py script from the above location, and fails to find the file. The function RepositoryUtils.GetRepositoryFilePath() is supposed to resolve the location of the file based on what the Repository path is. The result can be different when connected to a Remote Connection Server, as the remote script must be copied over to a local cache folder before it can be loaded, but it appears that you are connected directly to the Repo anyway…

You can ignore the first line starting with C:\thinkbox-conda\ as that is part of the building environment. Line 106 is inside the InnerExecute() function and performs scriptManager.CreateModuleFromFile() based on the script filename which in your case seems to be causing a ‘No such file or directory’ IOError, and is thus the root cause for the error…

Hi
There is no folder called “Integration” in the "REPOSITORY\submission"s folder :slight_smile:

Regards
Bonsak

Ill install the repo again. Obviously something wrong with my installation.

-b

That explains it :slight_smile:

Now please note that 10.1.11 was removed from the Downloads page due to some other known issues, so you cannot download it anymore. You can either download and upgrade to yesterday’s 10.1.13 release, or try dropping the content of the following archive in your Repo/submission/ folder:

Integration.zip (31.1 KB)

Note that the above zip is from an older version (10.1.9), so it might not be what was supposed to be in 10.1.11. But you can give it a try and see if the Monitor Submitter will work after that.

I would recommend upgrading though.

Installed 10.1.13. And its working now. Thanks a lot for the help.

Regards
Bonsak

Privacy | Site terms | Cookie preferences