[Maya-Python] Re: Problem Executing Backburner from Python

2011-11-28 Thread PixelMuncher
Hey Justin: Thanks a lot for taking the time to write that code. It needed an extra set of (double) quotes to be accepted as a command: cmd = '''...''' HOWEVER, it turned out that the problem was not the syntax of submitting the command, but the formatting of the tasklist. It is a 3 column

[Maya-Python] Re: Problem Executing Backburner from Python

2011-11-22 Thread PixelMuncher
Thanks for the reply. I'm not a hardcore coder, could you give me an example of calling the proc from the prerender flag? Also, it was my assumption that 'numTasks' would tell Backburner to divide the whole job into X tasks, but that does not appear to be the case - it appears that my 'os'

Re: [Maya-Python] Re: Problem Executing Backburner from Python

2011-11-22 Thread Justin Israel
Unfortunately I dont have any experience with Backburner submissions, since I have never used it in a pipeline other than submitting to it from a gui. Here is an example of a preRender script: In file /network/path/to/myPreRender.mel: global proc doStuff() { // all your preRender Stuff

[Maya-Python] Re: Problem Executing Backburner from Python

2011-11-22 Thread PixelMuncher
Thanks again for your help. For now I'm rendering from the GUI. I did try NOT escaping the frame ranges, resulting in the same error. You are correct that BB is not properly slotting the ranges. I got the '%tp2' syntax from the Maya BB command. It is telling BB to get the param from the

[Maya-Python] Re: Problem Executing Backburner from Python

2011-11-22 Thread PixelMuncher
Also, I did try surrounding my os cmd with quotes and escaped quotes. It doesn't like unescaped quotes at all. With escaped quotes, It sees the 2nd escaped quote as an attempt to create a line continuation. However, that may be all that's needed to get this working at this point: os.system (\ '

[Maya-Python] Re: Problem Executing Backburner from Python

2011-11-22 Thread PixelMuncher
BTW, what do I do to prevent the short word wrapping that occurs in my posts? Thx. -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe

Re: [Maya-Python] Re: Problem Executing Backburner from Python

2011-11-22 Thread Justin Israel
Try taking a look at this method of formatting your command. Its a lot easier to handle all the quoting without escaping, and see exactly what command you are defining: http://pastebin.com/2U2NCVkJ Maybe this method might actually address your issue? On Nov 22, 2011, at 11:11 AM,