Errors with Houdini 19.5 and deadline setup

I am working on getting my deadline setup working with houdini 19.5 and have hit a few roadblocks.

I started from scratch so upgraded the repo to 10.1.23.6.
I uninstalled the Client and reinstalled with the new 10.1.23.6 installer.
Reinstalled the houdini submitter from the repo.
edited the mainmenucommon.xml to point to the submitter locally
edited the houdini.param and houdiinisubmission.py to add 19.5
edited the houdini.env to point to the local install of the submitter

When I drop the deadline ROP in /out I get this error

Traceback (most recent call last):
  File "Driver/deadline, opdef:/Driver/deadline?PreFirstCreate", line 13, in <module>
  File "C:\PROGRA~1/SIDEEF~1/HOUDIN~1.303/packages/python3.9libs\CallDeadlineCommand.py", line 46, in CallDeadlineCommand
    proc = subprocess.Popen(arguments, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE, startupinfo=startupinfo, creationflags=creationflags)
  File "C:\PROGRA~1\SIDEEF~1\HOUDIN~1.303\python39\lib\subprocess.py", line 951, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\PROGRA~1\SIDEEF~1\HOUDIN~1.303\python39\lib\subprocess.py", line 1420, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified

and then send the rest to the console and get 30+ more like this

Traceback (most recent call last):
  File "/out/deadline1/dl_pool", line 4, in expression
  File "C:\PROGRA~1\SIDEEF~1\HOUDIN~1.303\python39\lib\json\__init__.py", line 339, in loads
    raise TypeError(f'the JSON object must be str, bytes or bytearray, '
TypeError: the JSON object must be str, bytes or bytearray, not NoneType

out of my depth and out of ideas after reading through a lot of forums/discords.

It seems like others have got this up no problem so I imagine I have something very simple to cahnge and it will just click and work. Any help is appreciated.

Hey!
Are you you able to sumbit anything through the menu (render > submit to deadline) rather than the deadlind hda?

I see that you mention that you are editing the houdini.env file. I believe that the deadline for 19x uses packages instead of the .env. Maybe have a look and compare your packages and env file to make sure that nothing is being overridded.

I would also remove deadline from the env and packages completely. Reinstall the submitter from the repository and not edit the param or xml file, just as a base start point to make sure that at least you can submit a job. Then change one thing at a time to see where the problem is.

…hope this helps

1 Like

OK, I have it all working. I actually uninstalled everything. Even my old repo. I started from scratch. Installed new repo with newest version of MongoDB ( this might be the culprit), Installed the client, and then installed the submitter from the repo. I changed the Houdini.param in REPO/plugins/Houdini and Houdinisubmitter.py in REPO/scripts/submission to include 19.5 with all relevant paths changed. And it just works without any issues or anything. Clean install is the easiest setup I have ever had with deadline and houdini.

1 Like

Seems to me like it could not find deadlinecommand.exe, which I think is found by the submitter through the DEADLINE_PATH environment variable, or through the registry. So something was not set up the first time around.

Im having the exact same error as you it seems. Tried a fresh install of the repository, Mongo DB, client and submitter that came with the repo, but still not working :frowning:

Traceback (most recent call last):
  File "Driver/deadline, opdef:/Driver/deadline?PreFirstCreate", line 13, in <module>
  File "C:/Users/Timo/Documents/houdini19.5/python3.7libs\CallDeadlineCommand.py", line 46, in CallDeadlineCommand
    proc = subprocess.Popen(arguments, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE, startupinfo=startupinfo, creationflags=creationflags)
  File "C:\PROGRA~1\SIDEEF~1\HOUDIN~1.805\python37\lib\subprocess.py", line 800, in __init__
    restore_signals, start_new_session)
  File "C:\PROGRA~1\SIDEEF~1\HOUDIN~1.805\python37\lib\subprocess.py", line 1207, in _execute_child
    startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified

Also feel quite out of my depth with this