The OpenCue job submission GUI.
This is a Python-based QT app through which you can submit jobs to an OpenCue deployment. It can run as a standalone application, or as a plug-in for applications that support PySide2 integration, such as Autodesk’s Maya or Foundry’s Nuke.
Before you begin
Before you start to work through this guide, complete the steps in Installing PyCue and PyOutline.
You need the same Cuebot hostname that you used to configure PyCue in this guide as well. If you don’t know the Cuebot hostname, check with your OpenCue admin. After you know this, set the
To follow the instructions in this guide, you’ll need the following software:
Installing CueSubmit standalone
CueSubmit is written in Python. To run CueSubmit, you install a series of dependencies and configure a virtual environment for the Python code to run inside.
To install the required Python packages, create an isolated Python environment:
NoteUse of a virtual environment isn’t strictly necessary but is recommended to avoid conflicts with other locally installed Python libraries. If you already created a virtual environment in which to install PyCue, skip this step and use PyCue’s environment for the following steps.
Evaluate the commands in the
activatefile in your current shell:
TIP: To review the contents of the
Option 1: Installing a published release
Visit the OpenCue releases page.
Download the cuesubmit tarball from the latest release’s Assets.
Run the following commands in a terminal to install a
cuesubmitexecutable in the
PATHof your environment:
export CUESUBMIT_TAR="<path to cuesubmit tar.gz>" export CUESUBMIT_DIR=$(basename "$CUESUBMIT_TAR" .tar.gz) tar xvzf "$CUESUBMIT_TAR" cd "$CUESUBMIT_DIR" pip install -r requirements.txt pip install -r requirements_gui.txt python setup.py install
Option 2: Installing from source
Make sure you’ve checked out the source code and your current directory is the root of the checked out source.
pip install -r requirements.txt pip install -r requirements_gui.txt cd cuesubmit
You can either install CueSubmit from here and run the
that gets created:
python setup.py install cd .. CUEBOT_HOSTS=$CUEBOT_HOSTNAME_OR_IP cuesubmit
OR you can run the software directly, without installing:
CUEBOT_HOSTS=$CUEBOT_HOSTNAME_OR_IP PYTHONPATH=$PYTHONPATH:. python ./cuesubmit
Installing CueSubmit plug-ins
CueSubmit comes packaged with plug-ins for Maya and Nuke. These plug-ins can serve as a template if you wish to write new plug-ins on your own.
Installing the Maya plug-in
To install the Maya plug-in:
Create or locate your
Maya.envfile as described in Setting environment variables using Maya.env.
Add one of the following blocks of code, depending on your operating system:
For macOS and Linux:
# Point Maya to the CueSubmit install. PYTHONPATH=$PYTHONPATH:<cuesubmit install path>/plugins/maya XBMLANGPATH=$XBMLANGPATH:<cuesubmit install path>/plugins/maya # Help OpenCue find the required library dependencies. CUE_PYTHONPATH=<path to virtualenv>/lib/python2.7/site-packages # The hostname of your Cuebot instance. CUEBOT_HOSTS=localhost
# Point Maya to the CueSubmit install. PYTHONPATH=$PYTHONPATH;<cuesubmit install path>/plugins/maya XBMLANGPATH=$XBMLANGPATH;<cuesubmit install path>/plugins/maya # Help OpenCue find the required library dependencies. CUE_PYTHONPATH=<path to virtualenv>/lib/python2.7/site-packages # The hostname of your Cuebot instance. CUEBOT_HOSTS=localhost
Maya should now contain a new “OpenCue” shelf with a single “Render on OpenCue” item.
Installing the Nuke plug-in
To install the Nuke plug-in:
menu.pyfile or locate your existing one as described in Defining Custom Menus and Toolbars.
Add the following content:
import os import nuke # Path to Python binary used to execute the CueSubmit app. If you set up # virtualenv, use this path. If you're using a systemwide Python install, # you can probably set this to be just "python". os.environ['CUE_PYTHON_BIN'] = '<path to virtualenv>/bin/python' # Hostname of your Cuebot instance. os.environ['CUEBOT_HOSTS'] = 'localhost' nuke.pluginAddPath('<path to cuesubmit install>/plugins/nuke')
Nuke should now contain a new menu item “Render > Render on OpenCue”.
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.