that error likes to pop up in conjunction with custom panels.
is there any more info in the error's output?


On 05/11/13 06:08, Vincent Langer wrote:
hi there,

I created a little node with a couple of python script buttons.
One button is for deleting specific nodes:

buttonNode = nuke.thisNode()

for node in buttonNode.dependent():
    if node.Class() == "FrameHold":
        if node['first_frame'].value() == int(nuke.frame()):
            nuke.delete(node)


It works as it should BUT I get the error: "A PythonObject is not attached to a node".

google did not give me any info.

Is there a way to prevent this error or a least force it not to pop up - since it does the job?

cheers,
Vincent

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to