Author Topic: QubeGUI 5.2.0 issue: simplecmd.py omission  (Read 2281 times)

Scot Brew

  • Hero Member
  • *****
  • Posts: 272
    • PipelineFX
QubeGUI 5.2.0 issue: simplecmd.py omission
« on: August 01, 2007, 04:05:24 PM »
Issue
The simplecmd.py script was accidentally omitted from the 5.2.0 release (stored under qube/api/python/qb/gui).  This does not impact the QubeGUI from running as an executable, but will affect the ability to run qube.py directly as a script (or through qube.sh on Linux).

Symptom
An output similar to the one below will be seen when trying to run qube.py.

C:\Program Files\pfx\qube\api\python\qb\gui>python qube.py
Qube location (from QBDIR): 'C:\Program Files\pfx\qube\'
Appending to python path "C:\Program Files\pfx\qube\/api/python"
Using qb python module from ['C:\\Program Files\\pfx\\qube\\api\\python\\qb']
Traceback (most recent call last):
  File "qube.py", line 91, in ?
    import jobLayout
  File "C:\Program Files\pfx\qube\api\python\qb\gui\jobLayout.py", line 23, in ?
    from jobList        import JobList
  File "C:\Program Files\pfx\qube\api\python\qb\gui\jobList.py", line 28, in ?
    import simplecmd
ImportError: No module named simplecmd


Workaround
Copy the attached simplecmd.py script into the qube/api/python/qb/gui/ directory.  Alternatively, use the qube executable (qube/bin/qube.exe on Windows, qube/bin/qube on Linux, and qube/qube.app on OSX)

Solution
A fix has been made to add the file to the installers and a point release will be soon sent out.

[attachment deleted by admin]