Search - User list
Full Version: Python Callback Error
Root » Technical Discussion » Python Callback Error
cvsline
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)
alexwheezy
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.
cvsline
alexwheezy
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.


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!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB