The WranglerView can also be run directly from the command line. This is useful for submitting jobs without opening the UI. The default location of the executable is platform dependent.
- Wndows 32-bit: C:\Program Files\pfx\qube\bin\qube.exe
- Windows 64-bit: C:\Program Files (x86)\pfx\qube\bin\qube.exe
- OS X: /Applications/pfx/qube/qube.app/Contents/MacOS/qube
- Linux: /usr/local/pfx/qube/bin/qube
Options
You can access current list of command line options by calling "qube --help" from the command line or using "Help->QubeGUI Commandline Options" from within the WranglerView.
Here is a list of the command line options as of Qube 6.6 as returned by "qube --help
".
Usage: qube [options]
Options:
--version show program's version number and exit
-h, --help show this help message and exit
Startup Actions:
--splash show splash screen
--nosplash suppress splash screen
--configuration display the configuration dialog
--setupwizard display the basic setup/configuration wizard
Job Submission:
--submitJobtype=SUBMITJOBTYPE
launch submission dialog for a specific jobtype or simplecmd (ie. cmdline, cmdrange, maya, etc.)
--submitDict=SUBMITDICT
launch submission dialog for a python 'dict' for a job. For example: "{'prototype':'cmdline','package':{'cmdline':'set'}}"
--submitFile=SUBMITFILE
launch submission dialog for a job file (.qja, .xja)
--resubmit=RESUBMIT
launch resubmit dialog for a jobid
--nogui display interactive GUI and submission dialogs
Configuration Overrides:
--supervisor=SUPERVISOR
explicitly specify the supervisor to use
--defaultprefs=STUDIODEFAULTS
load the studio default prefs (ahead of user prefs). Also settable with environment variable QUBEGUI_DEFAULTPREFS
--studioprefs=STUDIOPREFS
load the studio mandated prefs (after user prefs). Also settable with environment variable QUBEGUI_STUDIOPREFS
--serverthreads=SERVERTHREADS
number of server threads to use
--stdout=STDOUT file redirection for stdout
--stderr=STDERR file redirection for stderr
--jobfilter=JOBFILTER
explicitly specify the job filter to use
--farmfilter=FARMFILTER
explicitly specify the Farm Worker filter to use
Debugging:
-d, --debug print very verbose debug output
-v, --verbose print verbose output
-q, --quiet suppress verbose output. Only warnings and errors.
--trace debug trace through all calls
--timestamp add timestamp to log messages
The --nogui option can be appended to the commands as described above so that it will just submit the job without bringing up the submission dialog. All simplecmd callbacks and path translations that would be called if doing the same process interactively with a dialog are performed. This is particularly useful if you have an in-application submission with all the options known in advance that does not require any user input.
Example:
- Submit a maya job without bringing up a submission dialog.
qube --nogui --submitDict "{'prototype':'maya','package':{'scenefile':'myscenefile.ma'}, 'priority':500, 'cpus':4}"
The Qube! WranglerView has commandline options available to directly launch a populated submission dialog. This powerful new feature allows you to have applications external to WranglerView, such as Maya, Nuke, or Houdini, launch a submission dialog directly.
The options --submitJobtype <jobtype name>, --submitDict <python dict>, --submitFile <job filename>, and --resubmit <jobid> allow one to resubmit jobs through WranglerView with the submission dialogs.
Examples:
- Launch the submission dialog to with the properties from job 500
qube --resubmit 500
- Launch the submission dialog for a job saved to a file
qube --submitFile myMayaJob.xja
- Launch the submission dialog for the jobtype "maya"
qube --submitJobtype "maya"
- Launch the submission dialog for the jobtype "maya", with values already set
qube --submitDict "{'prototype':'maya','package':{'scenefile':'myscenefile.ma'}, 'priority':500, 'cpus':4}"