On 07/09/12 14:38, Kevin Sallee wrote:
> [posted to rush.general]
>
> I am trying to do a rush -submit with a LOOOOOOOOOOOOOOOOONG string
> passed as an argument but it won't let me! it gives me this error:
>
> rush: 'rush -submit': 'command python /springfield/.coatlicue/..': Line
> too long (>2048 max)
>
> what can I do?
For large amounts of data, save the data to a file (eg. in the
job's log directory), and pass the pathname of this file to the
render script as its only argument.
Then, the render script can load the data in at render time
to work with it.
A common technique in python is to have the data in a dict,
and save it using the pickle module.
A common technique in csh/sh is to create a 'here document'
and save it to a file, then load it a line at a time at render time.
If you need an example, let me know what language you're using.
--
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)
|