Python script: syntax error in <stdin>.
5463
3
0
-
- paleajed
- Member
- 20 posts
- Joined: July 2008
- Offline
I try to add a Script SOP to my scene, but when I load in my script the script node signals an error:
Python error: file “<stdin>”, line 1
/home/groost/houdini/shards.py
Syntax Error: invalid syntax.
With the little error pointer on the first / in the path.
This seems to point to a bug in Houdini, methinks…
Not sure. Any help?
-
- rdms
- Member
- 201 posts
- Joined: July 2005
- Offline
Could this be one of those cases where you need to make sure the expression language for the node is set to python?
Cheers,
Rob
Digital Supervisor | Stargate Studios Toronto
-
- paleajed
- Member
- 20 posts
- Joined: July 2008
- Offline
It is set to Python.
-
- burnie
- Member
- 23 posts
- Joined: July 2008
- Offline
Any solution to this problem yet?
edit:
#HACK!!!
exec(open('myfile.py').read())
works….