I’m having a problem submitting a rather large scene, which contains almost no actual geometry. Everything is loaded using referenced instances, and for some reason, the “submitxsitodeadline.py” submission script isn’t working. It works if I create a new scene, but no matter what I do, I can’t submit my file from xsi…
Here’s the output from the script editor:
[code]# ERROR : Traceback (most recent call last):
File “”, line 89, in Main
XSIToDeadline.Main()
File “\Lustrefs\lustre_fileserver\Deadline_Repository\V_3.0\submission\XSI\XSIToDeadline.py”, line 15, in Main
SubmitToDeadline()
File “\Lustrefs\lustre_fileserver\Deadline_Repository\V_3.0\submission\XSI\XSIToDeadline.py”, line 194, in SubmitToDeadline
framestr = framestr + “x” + GetFrameStep(scene.ActivePass)
UnboundLocalError: local variable ‘framestr’ referenced before assignment
- [line 88 in Z:\XSI_data\workgroup_v7\LustreWorkgroup_V7\Application\Plugins\SubmitXSIToDeadline.py]
[/code]
Does anyone have any ideas what could be causing this problem?
Oh, and I should probably add, that I can manually submit the file from within the monitor, by manually adding all my options, but this obviously isn’t the best way to go about it.
viewtopic.php?f=11&t=1604&p=6912&hilit=framestr#p6910
You’ll want the patch from the 4th post down (XSIToDeadline.zip). This should fix your problem.
Cheers,
I tried that, and I still get the error…
ERROR : Traceback (most recent call last):
File “”, line 92, in Main
XSIToDeadline.Main()
File “\Lustrefs\lustre_fileserver\Deadline_Repository\V_3.0\submission\XSI\XSIToDeadline.py”, line 15, in Main
SubmitToDeadline()
File “\Lustrefs\lustre_fileserver\Deadline_Repository\V_3.0\submission\XSI\XSIToDeadline.py”, line 198, in SubmitToDeadline
frameStr = frameStr + “x” + GetFrameStep(scene.ActivePass)
NameError: global name ‘GetFrameStep’ is not defined
- [line 91 in Z:\XSI_data\workgroup_v7\LustreWorkgroup_V7\Application\Plugins\SubmitXSIToDeadline.py]
Would it possibly have anything to do with the fact that I’m loading the plugin from the workgroup stored on the server?
//Edit
Scratch that…it does the same thing when loaded locally as well.
OK, try this patch. Just unzip the attached file to \your\repository\submission\XSI after backing up the original XSIToDeadline.py file. Restart XSI and try again.
Cheers,
Alright, 3rd time’s a charm.
This SHOULD do it, but of course, let us know if it doesn’t.
XSIToDeadline.zip (3.66 KB)
Still does the same thing…
Am I doing something wrong?
//EDIT
duh, it doesn’t do you any good without the script output, huh?
ERROR : Traceback (most recent call last):
File “”, line 92, in Main
XSIToDeadline.Main()
File “\Lustrefs\lustre_fileserver\Deadline_Repository\V_3.0\submission\XSI\XSIToDeadline.py”, line 15, in Main
SubmitToDeadline()
File “\Lustrefs\lustre_fileserver\Deadline_Repository\V_3.0\submission\XSI\XSIToDeadline.py”, line 237, in SubmitToDeadline
frameStr = frameStr + “x” + XSIToDeadlineFunctions.GetFrameStep(scene.ActivePass)
TypeError: cannot concatenate ‘str’ and ‘int’ objects
- [line 91 in Z:\XSI_data\workgroup_v7\LustreWorkgroup_V7\Application\Plugins\SubmitXSIToDeadline.py]
Nope, you’re not doing anything wrong, you’re just exposing a bunch of syntax errors in our submission script that surprisingly haven’t come up until now. We appreciate your quick feedback and patience.
Attached is another patch. Hopefully this is it.
XSIToDeadline.zip (3.65 KB)
WHOOHOO!!!
That did the trick! (at least, it now loads the submission box. Whether it actually submits or not, I’ll find out later tonight, when I send this thing out).
If anything, I should be thanking you guys for your super fast response times. Hopefully, other people who run into this problem will find this thread helpful.
Awesome! We’ll be sure to include this fix in the next release. Thanks again for your help!
Pooy…
It seems to work, until I hit the submit button, and I get this…
File “”, line 196, in SubmitButton_OnClicked
result = XSIToDeadlineFunctions.SubmitDeadlineJob(opSet,scene,currPass)
File “\Lustrefs\lustre_fileserver\Deadline_Repository\V_3.0\submission\XSI\XSIToDeadlineFunctions.py”, line 624, in SubmitDeadlineJob
CreateSubmissionInfoFile(opSet,currPass,submitInfoFilename,outputFilename,jobName)
File “\Lustrefs\lustre_fileserver\Deadline_Repository\V_3.0\submission\XSI\XSIToDeadlineFunctions.py”, line 427, in CreateSubmissionInfoFile
if(opSet.Parameters(“DeleteOnComplete”).Value):
AttributeError: ‘NoneType’ object has no attribute ‘Value’
This seems to be a bug that has been fixed in our current working version. Install this patch the same as the other one, but backup the XSIToDeadlineFunctions.py instead.
Cheers,
Perfect!!!
That certainly did the trick! Now, everything seems to be working as it’s supposed to. Thanks for the quick fixes!