What is the path you’re trying to set?

-Nathan



From: Noggy 
Sent: Thursday, May 31, 2012 2:36 PM
To: [email protected] 
Subject: [Nuke-python] Setting a file path into a write node

I have a file path I'm trying to set as the "file" knob of a write file.

wNode['file'].setValue(writePath)

This apparently doesn't work. It sets the path but gets an error when I render. 
It quicks progresses through the shot then prompts this error. If I copy the 
filePath and paste into the the "Save As" window, it works. Ideas?

Here's the Details.

Traceback (most recent call last):
File "", line 1, in 
File "C:/Program Files/Nuke6.3v4/plugins\nukescripts\renderpanel.py", line 8, 
in render_panel
return nukescripts.showRenderDialog(_list, exceptOnError)
File "C:/Program Files/Nuke6.3v4/plugins\nukescripts\renderdialog.py", line 
702, in showRenderDialog
d.run()
File "C:/Program Files/Nuke6.3v4/plugins\nukescripts\renderdialog.py", line 
236, in run
nuke.executeMultiple(self._nodeSelection, frame_ranges, views, continueOnError 
= self._continueOnError.value())
RuntimeError: Write1: Can't write, Invalid argument


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

Reply via email to