From: Greg Ercolano <erco@(email surpressed)>
Subject: Re: Invalid argument on submit script
   Date: Mon, 05 Dec 2005 17:23:47 -0800
Msg# 1140
View Complete Thread (7 articles) | All Threads
Last Next
Dylan Penhale wrote:
[posted to rush.general]

We have recently been seeing the following error that occurs roughly ever one in 300 hundred frames. It's happens to any host on the farm, at random and to all jobs.

Can't open perl script "//starfish/indian/rush/submit-maya-cweb.pl": Invalid argument

	Sounds like Windows.

	This error would appear to be from perl, being unable to open
	the UNC path to the script.

	ie. rush is invoking:

		perl //starfish/indian/rush/submit-maya-cweb.pl [args..]

	..and perl is starting OK, but when it tries to open the perl script
	to load the file into the interpreter, it fails, and reports the above
	error. I might need a little more context (the whole log file) to be
	sure.

	Assuming that's the case, I'd say the real WIN32 error is being
	obscured by perl here, as it's probably using fopen() internally
	which isn't a real WIN32 function, and so we're not getting the
	real WIN32 error back.

	Since it sounds like you can replicate, I would try submitting
	a job that uses a DOS function like 'type' to access the file,
	so that you might get a WIN32 error back from 'type' indicating
	what the real problem, eg:

C:\> rush -submit
frames     1-300
logdir    //starfish/indicate/rush/logs
command    cmd /c type \\starfish\indian\rush\submit-maya-cweb.pl
cpus       +any=10@1
<-- types ^Z then ENTER on an empty line

	Be sure to set 'cpus' to something similar your other jobs
	are using.

	Hopefully you'll get a 'Fail' for a frame that doesn't work,
	and a real WIN32 error message in the frame logs showing a more
	descriptive error.

--
Greg Ercolano, erco@(email surpressed)
Rush Render Queue, http://seriss.com/rush/
Tel: (Tel# suppressed)
Cel: (Tel# suppressed)
Fax: (Tel# suppressed)

Last Next