Hi!
I downloaded a third-party HDA when I try to install it, it gives me this error and the HDA itself does not work correctly! Who can tell you how to solve this problem??? I've never worked with python!
Python Callback Error
File "<stdin>", line 1
{ 'event_type': hou.hdaEventType.LibraryInstalled, 'library_path' : 'E:/Material for work/SipiLib HDA's/sipiLib-main/otls/sipi-vectornoise-1.0.0.hda' }
^
SyntaxError: unterminated string literal (detected at line 1)
Python Callback Error
962 2 1- drouviii
- Member
- 5 posts
- Joined: Nov. 2023
- Offline
- alexwheezy
- Member
- 302 posts
- Joined: Jan. 2013
- Offline
cvsline
'E:/Material for work/SipiLib HDA's/sipiLib-main/otls/sipi-vectornoise-1.0.0.hda'
In python, strings are usually enclosed in single or double quotes and their number must be balanced. The script finds another single quote in your HDA's path that is in no way unbalanced. If possible, it is better not to use special characters in the path at all, including whatespaces, and replace them either with underscores or dashes.
- drouviii
- Member
- 5 posts
- Joined: Nov. 2023
- Offline
alexwheezycvsline
'E:/Material for work/SipiLib HDA's/sipiLib-main/otls/sipi-vectornoise-1.0.0.hda'
In python, strings are usually enclosed in single or double quotes and their number must be balanced. The script finds another single quote in your HDA's path that is in no way unbalanced. If possible, it is better not to use special characters in the path at all, including whatespaces, and replace them either with underscores or dashes.
Thank you very much! I really removed both the names 'hyphen' and 'space' in the path and everything began to work as it should and not give out any error! It helped a lot! I am grateful!
Edited by drouviii - May 3, 2024 04:13:06
-
- Quick Links