-
Notifications
You must be signed in to change notification settings - Fork 337
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rez use powershell to render houdini will lost $HIP and $F #1764
Comments
Hi @zclongpop123, can you tell us more about the problem please? I'm not too sure what you mean by "will lost $HIP and $F". Also, can you tell us which shell rez is configured to use (cmd, powershell, pwsh, etc)? |
OS Windows 10 Powershell "'$HIP/Render/Snow_interaction/TEST/snow_interaction_02/v002/snow_interaction_02.$F4.exr'" $HIP shuld be trans to /path/to/hip_file_folder My render image path shuld be: W:/projects/sngx/misc/users/jiangmingyao/Snow_interaction/Render/Snow_interaction/TEST/snow_interaction_02/v002/snow_interaction_02.0001.exr'" but powershell can't push $HIP and $F4 in to houdini ! |
Full Command: Expected Results: Current Results: |
@zclongpop123 Just to be clear, does running |
Working well on rez and cmd, but Rez and powershell not working. |
@zclongpop123 Feels like it could just be a PowerShell issue. Have you tried just rendering on the farm in PowerShell and without using rez? I know the "$" character is generally used in PowerShell to interact with variables, so maybe it's just PowerShell evaluating the "$HIP" variable and doesn't actually have anything to do with rez? |
Yes,Powershell will kill $, but when we use rez and houdini ,how to make it normaly. |
@zclongpop123 https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_special_characters?view=powershell-7.4 I'm no PowerShell expert, but it looks like PowerShell uses the backtick character as the escape character. Can you try using the backtick character to escape the "$" character? So you would pass |
I used rez on deadline render, and command args has an output path with $HIP, rez will lost $HIP on render path.
Look at the -o in the log
Environment
2024-05-27 17:38:37: 0: INFO: Executable: "C:\rez\3.0.0\Scripts\rez\rez.exe"
2024-05-27 17:38:37: 0: INFO: Argument: "C:\ProgramData\Thinkbox\Deadline10\workers\farm-004\plugins\66504adc5e43bcd7b926ff81\hrender_dl.py" -f 3 3 1 -o "'
$HIP/Render/Snow_interaction/TEST/snow_interaction_02/v002/snow_interaction_02.
$F4.exr'" -d /obj/ropnet1/snow_interaction_02 -tempdir "C:\ProgramData\Thinkbox\Deadline10\workers\farm-004\jobsData\66504adc5e43bcd7b926ff81\0_tempwkjBQ0" -arnoldAbortOnLicenseFail 1 "W:/projects/sngx/misc/users/jiangmingyao/Snow_interaction/B10.TEST.Snow_interaction.v003.hip"2024-05-27 17:38:37: 0: INFO: Full Command: "C:\rez\3.0.0\Scripts\rez\rez.exe" env houdini-20.0.653 htoa-6.3.1.0 aces-1.2 -- hython "C:\ProgramData\Thinkbox\Deadline10\workers\farm-004\plugins\66504adc5e43bcd7b926ff81\hrender_dl.py" -f 3 3 1 -o "'
$HIP/Render/Snow_interaction/TEST/snow_interaction_02/v002/snow_interaction_02.
$F4.exr'" -d /obj/ropnet1/snow_interaction_02 -tempdir "C:\ProgramData\Thinkbox\Deadline10\workers\farm-004\jobsData\66504adc5e43bcd7b926ff81\0_tempwkjBQ0" -arnoldAbortOnLicenseFail 1 "W:/projects/sngx/misc/users/jiangmingyao/Snow_interaction/B10.TEST.Snow_interaction.v003.hip"2024-05-27 17:38:47: 0: STDOUT: Detected Houdini version: (20, 0, 653)
2024-05-27 17:38:47: 0: STDOUT: ['C:\ProgramData\Thinkbox\Deadline10\workers\farm-004\plugins\66504adc5e43bcd7b926ff81\hrender_dl.py', '-f', '3', '3', '1', '-o', "'
/Render/Snow_interaction/TEST/snow_interaction_02/v002/snow_interaction_02.
.exr'", '-d', '/obj/ropnet1/snow_interaction_02', '-tempdir', 'C:\ProgramData\Thinkbox\Deadline10\workers\farm-004\jobsData\66504adc5e43bcd7b926ff81\0_tempwkjBQ0', '-arnoldAbortOnLicenseFail', '1', 'W:/projects/sngx/misc/users/jiangmingyao/Snow_interaction/B10.TEST.Snow_interaction.v003.hip']The text was updated successfully, but these errors were encountered: