I am trying to submit a very simple Redshift scene to HQueue, but no matter what I type in the output patch I get the same error:
Invalid output path specified in output driver (/out/Redshift_ROP1)
Make sure that either $HIP or $JOB is used in the output path.
I am using $HIP or $JOB just for testing but I want also to be able to specify a custom path anywhere in my network, since I have a NAS I am rendering to.
Also I f I use “render current HIP File”, HQueue is unable to find the file which is also on the NAS.
I am completely at a loss here. All the access rights are set and I and HQueue working in previous versions (kinda).
HQueue - Invalid output patth specified in output driver
2327 7 0- OneBigTree
- Member
- 378 posts
- Joined: Nov. 2010
- Offline
- mrCatfish
- Member
- 731 posts
- Joined: Dec. 2006
- Offline
- OneBigTree
- Member
- 378 posts
- Joined: Nov. 2010
- Offline
- phoehsl
- Member
- 37 posts
- Joined: Oct. 2017
- Offline
- joostkonemann
- Member
- 105 posts
- Joined: June 2017
- Offline
- joostkonemann
- Member
- 105 posts
- Joined: June 2017
- Offline
I was pointed to a workaround on the Redshift forum:
If somebody else stumbles upon this post to fix it you have to open it's python definition in hqrop.py and add the following lines after the if at line 98:
It did solve the "Invalid output path" error, but now I'm getting an error related to some utf-8 byte which cannot be decoded...
If somebody else stumbles upon this post to fix it you have to open it's python definition in hqrop.py and add the following lines after the if at line 98:
elif rop_type == 'Redshift_ROP': output_parm = rop_node.parm('RS_outputFileNamePrefix')
It did solve the "Invalid output path" error, but now I'm getting an error related to some utf-8 byte which cannot be decoded...
- joostkonemann
- Member
- 105 posts
- Joined: June 2017
- Offline
For others who may encounter the same error. I got this error after fixing the "Invalid output path":
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc3 in position 1929: invalid continuation byte
Fixed by changing /Applications/Houdini/Houdini19.0.630/Frameworks/Houdini.framework/Versions/19.0/Resources/houdini/python3.7libs/hutil/file.py line 35 from:
to
BTW: I'm on macOS.
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc3 in position 1929: invalid continuation byte
Fixed by changing /Applications/Houdini/Houdini19.0.630/Frameworks/Houdini.framework/Versions/19.0/Resources/houdini/python3.7libs/hutil/file.py line 35 from:
return hashlib.sha1(readFile(file_path)).hexdigest()
return hashlib.sha1(readFile(file_path, True)).hexdigest()
BTW: I'm on macOS.
- zjim
- Member
- 6 posts
- Joined: Sept. 2021
- Offline
joostkonemannHi joostkonemann,
For others who may encounter the same error. I got this error after fixing the "Invalid output path":
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc3 in position 1929: invalid continuation byte
Fixed by changing /Applications/Houdini/Houdini19.0.630/Frameworks/Houdini.framework/Versions/19.0/Resources/houdini/python3.7libs/hutil/file.py line 35 from:toreturn hashlib.sha1(readFile(file_path)).hexdigest()return hashlib.sha1(readFile(file_path, True)).hexdigest()
BTW: I'm on macOS.
Thanks for your answer, It's success after modify those codes by your wrote. Let me summary.
1) Error: Invalid output path specified in output driver
Modify the hqrop.py(...\houdini\python3.7libs\hqrop.py), append below at line 99
elif rop_type == 'Redshift_ROP': output_parm = rop_node.parm('RS_outputFileNamePrefix')
Modify the file.py(...\houdini\python3.7libs\hutil\file.py)
return hashlib.sha1(readFile(file_path)).hexdigest()
return hashlib.sha1(readFile(file_path, True)).hexdigest()
It worked fine after modify at least now. It will be repair furture probably. It's a way to solve it now.
Edited by zjim - Oct. 17, 2022 09:18:02
-
- Quick Links