Can't open dophints.cmd when using hython

   3458   2   0
User Avatar
Member
8 posts
Joined: 6月 2014
Offline
Hi there

So I'm trying to run a python script inside Houdini by using hython.

I am writing pipeline tools using PyQt and I want to run a python script when the user clicks on a button that will create a HDA.

I run into a strange error when trying to use hython. It says “Can't open dophints.cmd”. The thing is that it works when I do it on the command line directly but it doesn't work when I execute it inside my script, either with os.system() or subprocess.Popen().

Does anybody have any idea why this happens?

Thanks a lot !

Thibault.
User Avatar
Member
8 posts
Joined: 6月 2014
Offline
I think I found why I got the error, strangely it only happen inside PyCharm, when I run my python script with the .py file it works perfectly. So this should be an issue with PyCharm's way of dealing with command line stuff.
User Avatar
Member
16 posts
Joined: 4月 2015
Offline
Did you ever figure out a fix? Receiving this error when launching hython, it doesn't seem to impact anything for now but worried its a sign of something larger being broken.
  • Quick Links