honeypot@pipelinefx.com
PipelineFX
November 21, 2014, 06:46:23 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

News: See Announcements for latest Qube updates.
 
   Home   Help Search Calendar Login Register  
Pages: [1]
  Print  
Author Topic: simple commands in additional paths do not override built-in commands  (Read 6504 times)
jturner
Jr. Member
**
Posts: 9


« on: November 12, 2008, 01:35:01 PM »

In my preferences I have set my SimpleCmd Additional Paths to /hosts/isilon/ifs/core/3d/qube/simplecmds and I have put a new version of submit_maya.py in this directory with the default values changed. However when I open the submit maya job dialog it still has the original default values - I had expected any files in the SimpleCmd Additional Paths to take precedence over the files in the default simplecmds directory, but this doesn't seem to be the case.

I know my simplecmd is being loaded - I can see this line in the output:
Registering 'maya' (/hosts/isilon/ifs/core/3d/qube/simplecmds/submit_maya.py)
and it also says '1 duplicate SimpleCmd/SimpleSubmit entries overridden.', but it seems like the built-in version is being used instead of mine.

Also if I change the SimpleSubmit line in my submit_maya.py file by replacing 'maya' with 'maya NEW' and reload the simple commands it successfully adds the new 'Maya NEW Job...' option to the Submit menu, and submit window for this job type has the default values that I've set.

How can I make same-named simplecmds in my SimpleCmd Additional Paths override the built-in simplecmds? Is this possible?

I'm running qube 5.4.0 on redhat.
Logged
Scot Brew
Hero Member
*****
Posts: 272



WWW
« Reply #1 on: November 17, 2008, 04:29:19 PM »

Yes, the additional paths should take precedence over the default paths.  We'll take a look at it.
Logged
Scot Brew
Hero Member
*****
Posts: 272



WWW
« Reply #2 on: November 17, 2008, 10:12:19 PM »

It was verified that the default simplecmds/ directory incorrectly takes precedence over the user-specified network paths at the moment. 

A fix has been made for the next release to have the network paths take precedences so you can put a simplecmd submission interface in a network path location and have that be the one used instead of the default one.

For the time being until the next point release, you will have to remove the original submit_maya.py script from the default simplecmd/ directory.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!