From: "Mr. Daniel Browne" <dbrowne@(email surpressed)>
Subject: Re: Notes field for hbatch
   Date: Mon, 22 Jul 2013 20:01:41 -0400
Msg# 2340
View Complete Thread (5 articles) | All Threads
Last Next
I had a feeling it had to do with escapes. Thanks Greg; I'll see what happens.


On Jul 22, 2013, at 4:57 PM, Greg Ercolano wrote:

[posted to rush.general]

On 07/22/13 16:52, Mr. Daniel Browne wrote:
> The only line I can find similar to that is:
>    Rush.System("rush -fu -notes %s retry #%d of %d" % (os.environ["RUSH_FRAME"], curTry, fields["Retries"]))

	Yep, that's it.
	The problem is missing colon and quotes to protect the message string.

	Make the following changes to your script, and I believe should work:

BEFORE: Rush.System("rush -fu -notes %s retry #%d of %d" % (os.environ["RUSH_FRAME"], curTry, fields["Retries"]))
AFTER: Rush.System("rush -fu -notes \"%s:retry #%d of %d\"" % (os.environ["RUSH_FRAME"], curTry, fields["Retries"]))

-- 
Greg Ercolano, erco@(email surpressed)
Seriss Corporation
Rush Render Queue, http://seriss.com/rush/

Tel: (Tel# suppressed)ext.23
Fax: (Tel# suppressed)
Cel: (Tel# suppressed)


----------
Dan "Doc" Browne
System Administrator
Evil Eye Pictures

dbrowne@(email surpressed)
Office: (415) 777-0666 x105


Last Next