Hi all,

I'm trying to render a script from the command-line, but I get an error:

*QWidget: Cannot create a QWidget when no GUI is being used*

I've tried both in the command-line with:

Nuke8.0.exe - iX - Write1 D:\tmp.nk 1-10

And from an external IDE using Nuke as a Python module:

import os
os.environ["NUKE_INTERACTIVE"] = "1"

import nuke
c = nuke.createNode("CheckerBoard2")
w = nuke.createNode("Write")
w["file"].setValue("C:/Users/Simon/Desktop/tmp.exr")
w.setInput(0, c)
nuke.execute(w, 1,2)

Same error with both. I'm probably missing something obvious here?

Cheers!


-------------------------------
Simon Björk
Compositor/TD

+46 (0)70-2859503
www.bjorkvisuals.com
_______________________________________________
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