hou.hipFile.load - segfault

   2442   2   1
User Avatar
Member
51 posts
Joined: 8月 2011
Offline
Hi.

I am trying to load a hip file in a python session and get an immediate segfault hou.hipFile.load().

Is this meant to work in a default python session? It works with hython.
Importing hou was also successful and hou.hipFile.save() works.

Any thoughts?


SL 6

tried on

H12.5.469
H13.0.237
http://www.martin-aufinger.com [www.martin-aufinger.com]
User Avatar
Member
7899 posts
Joined: 7月 2005
Offline
I had to google what “SL 6” was.

It's supposed to work on Linux I think, see this slightly old example which needs the python version updated:

http://www.sidefx.com/docs/houdini13.0/hom/cookbook/print_hip_stats/ [sidefx.com]

My guess is to make sure you're running python 2.7 which I think is the most commonly used code path now.

I would also help to know _where_ you're crashing.
User Avatar
Member
51 posts
Joined: 8月 2011
Offline
thanks edward

i believe i was running 2.6 as I thought it should be the same as the houdini python version (H12.5)

I need to double check when I have access to the system tomorrow again.

I can successfully import hou and carry on doing operations such as creating geometry or saving a file but the crash happens immediately when i try to load a hip file (hou.hipFile.load())

glad to hear it should be working though

thanks for your help
martin
http://www.martin-aufinger.com [www.martin-aufinger.com]
  • Quick Links