• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    Autodesk Wiretap

    Reply
    Member
    Posts: 5
    Registered: ‎12-27-2006

    Unusual getNumChildren / getNodeTypeStr Problem

    79 Views, 1 Replies
    04-11-2007 02:37 AM
    Using Python.

    I have one particular REEL that according to getNumChildren contains eleven children.

    When I try to list the chidren, say using the supplied WireTap Python example listChildren.py, it will manage to list seven CLIP's but then fail on the eighth when trying to obtain node type with the message:

    raise 'Unable to obtain node type: %s.' % child.lastError()

    Unable to obtain node type: The given ID is not valid. The ID must begin with the root node of the host. The root node may be queried through the call getRootNode.

    Is perhaps what I'm seeing the result of a corrupt clip?

    Brian
    Please use plain text.
    Valued Contributor
    Posts: 84
    Registered: ‎05-11-2004

    Re: Unusual getNumChildren / getNodeTypeStr Problem

    04-11-2007 09:53 PM in reply to: bfattorini
    Yes, it's possible that you have a corrupt clip. The error message could be improved here though. Please have a peek at the server logs to see if anything better shows up.
    Please use plain text.