On 12/11/12 at 3:14 AM,  (Nathan Rusch) wrote:
What if you use '4G' for the 'maxCache' value?

jup, that works now in 6.3v1 too..

write = nuke.toNode('Write1')
nuke.executeBackgroundNuke(nuke.EXE_PATH, [write], nuke.FrameRanges('1-10'), ['main'], {'maxThreads':2, 'maxCache':'4G'})


hopefully that also solves franks problem
(btw, tried first without the '' which didn't work):

write = nuke.toNode('Write1')
nuke.executeBackgroundNuke(nuke.EXE_PATH, [write], nuke.FrameRanges('1-10'), ['main'], {'maxThreads':2, 'maxCache':4G})
# Result:
  File "<string>", line 2
nuke.executeBackgroundNuke(nuke.EXE_PATH, [write], nuke.FrameRanges('1-10'), ['main'], {'maxThreads':2, 'maxCache':4G})
                                                                                
                                        ^
SyntaxError: invalid syntax


On 12/11/12 at 3:14 AM, nathan_ru...@hotmail.com (Nathan Rusch) wrote:

What if you use '4G' for the 'maxCache' value?

-Nathan

-----Original Message----- From: chris
Sent: Tuesday, December 11, 2012 6:02 PM
To: Nuke Python discussion
Subject: Re: [Nuke-python] launching background render via python

hmm weird, seems to work here in some versions of 6.3 under OSX
(10.6.8), but throws an error in 6.3v1:

Error in render with process id 2577:
Unknown units in -c 

if i remove the limits it also renders in 6.3v1:

write = nuke.toNode('Write1')
nuke.executeBackgroundNuke(nuke.EXE_PATH, [write],
nuke.FrameRanges('1-10'), ['main'], {})



On 12/11/12 at 2:44 AM, fr...@beingfrank.info wrote:

write = nuke.toNode('Write1')
nuke.executeBackgroundNuke(nuke.EXE_PATH, [write], nuke.FrameRanges('1-10'), ['main'], {'maxThreads':2,
'maxCache':4096})

_______________________________________________
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

_______________________________________________
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