Jump to content

HDA incomplete asset definition


thibh

Recommended Posts

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!

Link to comment
Share on other sites

Instead of using os.system you may want to investigate subprocess.popen instead for launching the app. Then you can provide a current working directory which might be causing the problem you are having.

Link to comment
Share on other sites

I've tried with subprocess already, and it failed too unfortunately :/ subprocess.call and subprocess.Popen, I even tried with QProcess, which is the qt way of launching process and same error :/

Thanks for the help !

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...