HDA incomplete asset definition.

   12343   2   0
User Avatar
Member
8 posts
Joined: June 2014
Offline
Hi there

I'm running into a strange error with Houdini and digital assets. I'm trying to open a scene containing a digital asset and when I load it manually with cmd.exe (houdini.exe scene.hip) everything works perfectly.

However I'm trying to open it inside a python script so I'm using the os module to do the same thing (os.system("houdini.exe scene.hip)). But when the scene opens it says that my HDA has incomplete asset definition.
If I right click and check type properties it says my hda is embedded.

Do you have any idea why this work by loading the scene manually either by loading it in houdini or opening it with a command prompt but not with my script ?

Thanks for your help!
User Avatar
Member
2624 posts
Joined: Aug. 2006
Offline
All I can suggest is to try and not embed your otl / make sure your env variables are being picked up by your script ie path to otls and see what happens. Without a ton more detail its hard to say. Just strip things down to the basics !

Rob
Gone fishing
User Avatar
Member
8 posts
Joined: June 2014
Offline
I guess you're write about the environment variables not being picked up, it looks like it doesn't execute some setup functions or something like that when starting Houdini from my script.

Thanks for the help
  • Quick Links