From: Greg Ercolano <erco@(email surpressed)>
Subject: Re: -licpause
   Date: Fri, 27 Apr 2007 15:07:03 -0400
Msg# 1535
View Complete Thread (3 articles) | All Threads
Last Next
Greg Ercolano wrote:
Dado Feigenblatt wrote:
--- LICENSE ERROR: Encountered: Error: (Mayatomr) : could not get a license
Right after the function exits with error code 1.

    Yes, it looks like the script is not using 'rush -licpause' at all,
    it is just going into a 'try three times' loop, and then does whatever
    the "Retry Behavior" is set to.

    I need to add an option for how license errors are handled, so
    you can change the behavior between using licpause or not.

    I'll follow up here with a pointer to the modified script,
    which I'll make sure gets in the next release.

Hi Dado,

	Here we go; I made a few mods to submit-maya.pl from 102.42a8
	which adds the 'License Pause' feature:
	http://seriss.com/rush/releases/patches-for-102.42a8/submit-maya-with-licpause.zip

	(** That page is password protected; see below)

	That zip file contains a modified version of the stock submit-maya.pl
	script from Rush 102.42a8, and a submit-maya.html help file that
	documents the new prompt that lets you control what happens when a
	license error is detected. (Put the submit-maya.pl in the rushscritps
	directory on your server, and put the submit-maya.html in the 'help/'
	subdirectory)

	This modified script has the new "License Behavior:" prompt
	that lets you control whether to retry the frame, or fail it.

	To see it, click on the 'Rush' tab in the submit form,
	and scroll down to the very bottom.

	If you've installed the .html file correctly, when you click on
	the "?" button, you should see the following help info:

*************************************************************************
License Behavior

    Controls what happens to the frame if a license error is detected.

Examples

                Fail - The frame is marked 'Fail'.

    Licpause+Requeue - The job is put into a temporary pause state
                       to prevent new frames from starting (and issuing
                       a license error), and the frame is requeued.
                       When the delay expires, the job will attempt
                       to start new frames running again.

*************************************************************************

	Let me know if you have any questions.

PASSWORD PROTECTED PAGE
-----------------------
	The above link is password protected; all Rush customers can access it
	by using your company's "Rush Downloads" password. If your Rush support
	contact doesn't know what it is, contact me directly via email from your
	company's email account (not here on the group), and I can supply it
	to you. Your rush support contacts may be cc'ed on that email.

Last Next