Jump to content

Python Shell Freezes Houdini


Vinz9

Recommended Posts

Hi,

I'm running Houdini 10.0.401 on a mac under windows64.

I'm just starting with python in Houdini but sadly some simple procs like

def dupobj(objet,nr):
    objn = hou.node('/obj')
    for i in range(nr):
        curCopy = hou.copyNodesTo([myNode],objn)
        n = curCopy[0]
        dest = 'sticky'+str(n.digitsInName())
        n.setFirstInput(objn.node(dest))

def conobj(nr):
    objn = hou.node('/obj')
    for i in range(nr+1):
        src = 'path'+str(i)
        dest = 'sticky'+str(i)
        objn.node(src).setFirstInput(objn.node(dest))

stored in hou.session and executed from the shell freezes houdini most of the time.

If I manage to have it work once, once my scene is launched it always works, but most of the time, if I launch Houdini, and then load my scene and execute one of the procedures, houdini freezes directly with no error.

Thanks a lot for any help

Vincent

Edited by Vinz9
Link to comment
Share on other sites

  • 3 weeks later...

Yep, same here.

Amongst the first line in the Hom intro tutorial in the docs (hou.node('/obj').createNode('geo')

), freezes up every time. But only on My workstation. Another one works fine :/

Both x64, build 401 and 374.

edit1:

Wops, and I solved it.

Just installed the corresponding python release manually.

http://www.python.org/ftp/python/2.5.2/python-2.5.2.amd64.msi

edit2:

Nope, its back again :(

Edited by negow
Link to comment
Share on other sites

HI,

I manage to solve it by reinstalling Houdini. As I am using the apprentice version, so during the installation i did not select licence server to get install instead i selected Apprentice licence. After the installation it worked fine.

I think the problem was accessing the licence server (maybe), Any way now it works.

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...