Hi,
Observing that we are getting errors like this after upgrade to V8.1.5.5 yesterday :
Initialize: Error: AttributeError : type object 'RepositoryUtils' has no attribute 'GetRepositoryPath' (Python.Runtime.PythonException)
File "C:\Users\render.SINKINGSHIP\AppData\Local\Thinkbox\Deadline8\slave\render-01\plugins\5852cb4eb8f2361b4c99d4cb\DraftPlugin.py", line 77, in InitializeProcess
draftRepoPath = RepositoryUtils.GetRepositoryPath( "draft", False )
How can we correct this?
Thank you!
A “more complete” Job Report here :
[code]
Error
Initialize: Error: AttributeError : type object ‘RepositoryUtils’ has no attribute ‘GetRepositoryPath’ (Python.Runtime.PythonException)
File “C:\Users\render.SINKINGSHIP\AppData\Local\Thinkbox\Deadline8\slave\render-08\plugins\5852cc17b8f236423034d52a\DraftPlugin.py”, line 77, in InitializeProcess
draftRepoPath = RepositoryUtils.GetRepositoryPath( “draft”, False )
=======================================================
Type
RenderPluginException
=======================================================
Stack Trace
at Deadline.Plugins.SandboxedPlugin.a(DeadlineMessage A_0)
at Deadline.Plugins.SandboxedPlugin.Initialize(Job job)
at Deadline.Slaves.SlaveRenderThread.a(String A_0, Job A_1)
at Deadline.Slaves.SlaveRenderThread.b(TaskLogWriter A_0)
=======================================================
Log
2016-12-15 14:15:36: 0: Loading Job’s Plugin timeout is Disabled
2016-12-15 14:15:38: 0: Executing plugin command of type ‘Sync Files for Job’
2016-12-15 14:15:38: 0: All job files are already synchronized
2016-12-15 14:15:38: 0: Plugin DraftPlugin was already synchronized.
2016-12-15 14:15:38: 0: Done executing plugin command of type ‘Sync Files for Job’
2016-12-15 14:15:38: 0: Executing plugin command of type ‘Initialize Plugin’
2016-12-15 14:15:38: 0: INFO: Executing plugin script ‘C:\Users\render.SINKINGSHIP\AppData\Local\Thinkbox\Deadline8\slave\render-08\plugins\5852cc17b8f236423034d52a\DraftPlugin.py’
2016-12-15 14:15:39: 0: Encountered an error while executing plugin command of type ‘Initialize Plugin’[/code]
I fixed our needs by copying the DraftPlugin.py from the backup folder to the “live” location. I see by diff’ing them that some changes were made so something has broken there.
Cheers!
Hey,
I just wanted to confirm that the slave that ran this job had been updated to 8.1.5.5 as well. We added a new GetRepositoryPath function in the Latest build which checks to see if the is a folder in the custom directory of the same name and if so it will grab that path instead of the normal one. The error you are seeing is saying that that function does not exist so it seems that the slave was on a previous version.
Grant
Hi Grant,
Ah, right, thanks for pointing that out. I will test with that in mind and let you know if it corrects the behaviour.
Cheers!
Confirmed, running as expected with the V8.1.5.5 DraftPlugin.py now that all slaves are upgraded.
Thanks Grant!