AWS Thinkbox Discussion Forums

after update to deadline 10 error File "mpegencoder.exe" is not rooted, checking current directory

Hi i got to update to version 10 finally adn a custom plugin that is working fine from version 6 through 9 version of deadline was working
without errors. Suddenly it produce this error that is not rooted. I try to change the path but then i get that the path is invalid though
2018-01-22 15:32:07: RenderPluginException – Error: Der Pfad hat ein ungültiges Format. (System.ArgumentException)

he re is the initial error in the log

2018-01-22 15:23:35: 0: Loading Job’s Plugin timeout is Disabled
2018-01-22 15:23:37: 0: Executing plugin command of type ‘Sync Files for Job’
2018-01-22 15:23:37: 0: All job files are already synchronized
2018-01-22 15:23:37: 0: Plugin Powerdome was already synchronized.
2018-01-22 15:23:37: 0: Done executing plugin command of type ‘Sync Files for Job’
2018-01-22 15:23:37: 0: Executing plugin command of type ‘Initialize Plugin’
2018-01-22 15:23:37: 0: INFO: Executing plugin script ‘C:\Users\user\AppData\Local\Thinkbox\Deadline10\slave\render07\plugins\5a65f09f7d6a1e0934d8c5ea\Powerdome.py’
2018-01-22 15:23:38: 0: INFO: Render Job As User disabled, running as current user ‘user’
2018-01-22 15:23:38: 0: INFO: The job’s environment will be merged with the current environment before rendering
2018-01-22 15:23:38: 0: Done executing plugin command of type ‘Initialize Plugin’
2018-01-22 15:23:38: 0: Start Job timeout is disabled.
2018-01-22 15:23:38: 0: Task timeout is disabled.
2018-01-22 15:23:38: 0: Loaded job: Untitled (5a65f09f7d6a1e0934d8c5ea)
2018-01-22 15:23:38: 0: Skipping P: because it is already mapped
2018-01-22 15:23:38: 0: Skipping L: because it is already mapped
2018-01-22 15:23:38: 0: Skipping S: because it is already mapped
2018-01-22 15:23:38: 0: Executing plugin command of type ‘Start Job’
2018-01-22 15:23:38: 0: INFO: Executing global job preload script ‘C:\Users\user\AppData\Local\Thinkbox\Deadline10\slave\render07\plugins\5a65f09f7d6a1e0934d8c5ea\GlobalJobPreLoad.py’
2018-01-22 15:23:38: 0: INFO: Looking for AWS Portal File Transfer…
2018-01-22 15:23:38: 0: INFO: Looking for File Transfer controller in C:/Program Files/Thinkbox/S3BackedCache/bin/task.py…
2018-01-22 15:23:38: 0: INFO: Could not find AWS Portal File Transfer.
2018-01-22 15:23:38: 0: INFO: AWS Portal File Transfer is not installed on the system.
2018-01-22 15:23:38: 0: Done executing plugin command of type ‘Start Job’
2018-01-22 15:23:38: 0: Plugin rendering frame(s): 600
2018-01-22 15:23:38: 0: Executing plugin command of type ‘Render Task’
2018-01-22 15:23:38: 0: INFO: Stdout Redirection Enabled: True
2018-01-22 15:23:38: 0: INFO: Stdout Handling Enabled: True
2018-01-22 15:23:38: 0: INFO: Popup Handling Enabled: False
2018-01-22 15:23:38: 0: INFO: Using Process Tree: True
2018-01-22 15:23:38: 0: INFO: Hiding DOS Window: True
2018-01-22 15:23:38: 0: INFO: Creating New Console: False
2018-01-22 15:23:38: 0: INFO: Running as user: user
2018-01-22 15:23:38: 0: INFO: File “mpegencoder.exe” is not rooted, checking current directory
2018-01-22 15:23:38: 0: INFO: File “mpegencoder.exe” is not rooted and is not in the current directory, checking PATH
2018-01-22 15:23:38: 0: INFO: File “mpegencoder.exe” is not rooted, is not in the current directory, and does not exist in PATH
2018-01-22 15:23:38: 0: Done executing plugin command of type ‘Render Task’
2018-01-22 15:23:38: 0: Executing plugin command of type ‘End Job’
2018-01-22 15:23:38: 0: Done executing plugin command of type ‘End Job’
2018-01-22 15:23:40: Scheduler Thread - Render Thread 0 threw a major error:

best

i just saw that u change that after 8.0
“Note that in previous versions of Deadline, Plugin settings were stored in dlinit files, which have been removed as of Deadline 8.0. All data that was previously stored in the dlinit file is now stored in the database. In order to declare custom settings for a plugin you must do so in the param file.”

Hello,

I just want to verify if that new info on the change from 8 to 10 has helped you resolve this. If not, we would want to see an archived job, and the plugin you wrote, which can be sent to support@thinkboxsoftware.com, and will allow us to get a better idea of what you are doing here.

Hi
i already did send it . Despite the fact i change the param script iam still getting this syntax argument.

Thanks in advance

Hmm. I’m having trouble finding the ticket. Can you PM me the details there?

I also don’t see the error in the log snippet you provided. I’m expecting to see a stack trace that would give me a good angle on things, but the script and the job in the ticket you sent would be the most helpful option.

Got it!

From the quick glance at the stack trace it seems to be data being passed to ChangeFilename(). Here’s the stack trace for others which is a nice trail of breadcrubs:

2018-01-23 09:50:21: bei System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
2018-01-23 09:50:21: bei System.IO.Path.InternalGetDirectoryName(String path)
2018-01-23 09:50:21: bei FranticX.IO.Path2.ChangeFilename(String path, String filename)
2018-01-23 09:50:21: bei Deadline.Scripting.PathUtils.ChangeFilename(String path, String filename)
2018-01-23 09:50:21: bei Python.Runtime.Dispatcher.TrueDispatch(ArrayList args)
2018-01-23 09:50:21: bei Python.Runtime.Dispatcher.Dispatch(ArrayList args)
2018-01-23 09:50:21: bei FranticX.Processes.ManagedProcess.RenderArgument()
2018-01-23 09:50:21: bei FranticX.Processes.ManagedProcess.Execute(Boolean waitForExit)
2018-01-23 09:50:21: bei Deadline.Plugins.PluginWrapper.RenderTasks(String taskId, Int32 startFrame, Int32 endFrame, String& outMessage, AbortLevel& abortLevel)

Hi
submission script error on setting the correct path for the video file.Fixed !!
thanks

Oh? Can you flesh that out a bit more? I’d really prefer a better error message than what Deadline handed you.

How can I break it the same way?

Privacy | Site terms | Cookie preferences