python createNode('[anynode]') crashes houdini

   4821   5   1
User Avatar
Member
17 posts
Joined: Dec. 2007
Online
I am using the latest apprentice version at home
at a windows xp machine with a compatiable python shell.

I can not create any node type at all, as soon as I run the function
Houdini freezes. I have tried re-installing the program and the same thing
happens.

any ideas?

Thanks
User Avatar
Member
1906 posts
Joined: Nov. 2006
Offline
Can you post an exact example of the code you are trying to use that is crashing?

Does this work?
hou.node(“/obj”).createNode(“geo”)
Graham Thompson, Technical Artist @ Rockstar Games
User Avatar
Member
17 posts
Joined: Dec. 2007
Online
no that does not work either.
it just crashes, I've have seen this same error posted in some other forums
but no solution has been posted.

the code I was trying was this.

obj=hou.node(“/obj”)
mNode= obj.createNode(“geo”)

but pretty much any sort of node that I put into the createNode parameter
will make it crash
User Avatar
Member
7 posts
Joined: Sept. 2009
Offline
im on windows xp x64.

it happens to me sometimes, too. not all the time. and only if i try to create >100 nodes via python (eclipse/pydev environment)

it just freezes houdini and i have to close the program.

weird thing is, if i reduce the number of nodes i am creating, it seems to work. and then, if try creating >100 after that - it works too.

if i drop all the code into a code SOP, it runs fine as well.

specs
windows xp x64
4 gigs ram
3.0 ghz cpu
eclipse ganymede
pydev (current rev.)
houdini 10.1
User Avatar
Member
11 posts
Joined: May 2014
Offline
this happens to my script. seems like a threading issue.
edit:
for anyone having the same problem as me, open your hipfile in hython and run the script there.
seems like a GL or GUI issue.


houdini 16.0633, linux mint serena, 15GB RAM, inteli7 2630QM, GTX 560M.
Edited by 0chumpy - Sept. 29, 2017 22:16:00
User Avatar
Staff
2492 posts
Joined: Sept. 2007
Offline
You logged a bug for this, right?
Chris McSpurren
Senior Quality Assurance Specialist
SideFX
  • Quick Links