DEADLINE takes long time to start the job, stuck at certain phase for about 10 min

Go to your
…\DeadlineRepository10\custom\plugins\Houdini\hrender_dl.py
around line 343

and comment out from “gather a list…” to "… pathmap_parms(tempdir, parms)

def perform_pathmapping(tempdir):
    """
    Perform pathmapping on all input parameters and other select parameters
    :param tempdir: the temporary location that a text file will be written to to aid pathmapping.
    :return: None
    """
    if not tempdir:
        print("Temporary Directory has not been set. Skipping Pathmapping.")
        return

    print("Begin Path Mapping")

    update_mode = hou.updateModeSetting()
    hou.setUpdateMode(hou.updateMode.Manual)
    

    ####### CUSTOM FIX BEGIN

    # # gather a list of all parameters that need to be pathmapped
    # parms = gather_parms_to_map()
    # if parms:
    #     pathmap_parms(tempdir, parms)


    print("CUSTOM FIX: PARM PATH MAPPING HAS BEEN DISABLED! ")

    ####### CUSTOM FIX END


    envs = gather_envs_to_map()
    if envs:
        pathmap_envs(tempdir, envs)
    hou.setUpdateMode(update_mode)
    print("End Path Mapping")
1 Like