Hello!
I’m using Deadline 5 tryout and came across an error after installing the Houdini 11 plugin on linux.
After clicking “Submit to Deadline” in Houdini i get an error message popup:
Python Syntax Error: Could not find a part of the path "/repository/scripts/submission/HoudiniSubmission/HoudiniSubmission.py". (Microsoft.Scripting.SyntaxErrorException)
File: /repository/scripts/submission/HoudiniSubmission/HoudiniSubmission.py
Line: 0
Column: 0
and the output of the terminal:
Deadline Output:Error: a __main__ method must be defined
However, submitting directly from Deadline Monitor is working. It’s strange, because if i remember correctly there was no such error a while ago, when our studio was testing Deadline 4.1. Also, the whole “/repository” has permissions of “777”
Any idea of what that might be?
Thanks!
Wojtek
Hi Wojtek,
When you installed the script in Houdini, did you grab the clientSetup script (\your\repository\clientSetup\Houdini), or did you grab the one in \your\repository\submission\Houdini?
Also, is “/repository/scripts/submission/HoudiniSubmission/HoudiniSubmission.py” a valid path for this machine? If not, what should the repository path look like? If you run the following from a terminal, what’s the output?
deadlinecommand GetRepositoryRoot
Cheers,
Hi Ryan!
Thanks for reply! Yes, i grabbed the script from /clientSetup/Houdini and followed instructions from the Documentation. Path /repository/scripts/submission/HoudiniSubmission/HoudiniSubmission.py is valid and has permissions of 777 just as the rest of the /repository. The output of “GetRepositoryRoot” is:
Could not set X locale modifiers
/repository
I set up the houdini 11.0.792 build for D5 and earlier i did set up 11.0.581, which on D4.1 was working. Now, under D5 none of them are working. But, as i’ve mentioned earlier it submits jobs through the Deadline Monitor and renders them without a problem. Also, I have Nuke and Softimage set up on this linux, and they’re going without any problems with D5. The issue may be with the system? for D4.1 we were using Ubuntu 8.04 and for D5 we’re using Ubuntu 9.04. I’ll dig deeper to see what i can do. But it would be fantastic if You had any ideas on how to deal with this problem.
Best regards,
Wojtek
Hi Wojtek,
It sounds like everything is setup on your system properly, especially because Softimage and Nuke are submitting fine. So there must be a bug in the v5 houdini submitter. We’ll try to reproduce today and get back to you.
Cheers,
I’ve been having issues getting Houdini to run on our Ubuntu VM (seems to be a graphics driver issue), so I just took a look at the script. I think I may have found the problem. Go to \your\repository\submission\Houdini and open SubmitHoudniiToDeadline.py in a text file. Look for this line:
scriptLoc = root + "/scripts/submission/HoudiniSubmission"
The ‘s’ in ‘submission’ is lowercase, but the repository installs it as uppercase. Try changing it to this:
scriptLoc = root + "/scripts/Submission/HoudiniSubmission"
Then save the file, restart Houdini, and try submitting again. If you get another error, please post and we’ll take a look.
Cheers,
Fantastic! That solves the problem, thank You very much Ryan!
That’s great! Thanks for confirming. We’ll be including this fix in the next Deadline release.
Cheers,