PipelineFX Forum

Qube! => Known Bugs, Fixes, and Patches => Topic started by: jburk on June 20, 2018, 07:38:28 PM

Title: Qube core installer places API file in the incorrect directories
Post by: jburk on June 20, 2018, 07:38:28 PM

We've noted that the qube-core installer has been incorrectly packaged, and will place the files that should be in the QBDIR/api/python/qb/.. directory tree all into the api/python directory.  When upgrading from a previous version of Qube, the compiled .pyc files that were generated from the original.py modules are left behind, so the issue may not be immediately obvious as the .pyc can be used in place of the .py files. 

On Windows and linux, the files are only in the api/python directory, while on OS X the files are duplicated into api/python.

A subtle side effect of this bug is that if older .pyc files are loaded, it can appear that the API is an older version than the jobtypes despite all Qube components being of the same version, and some python-based jobtypes will fail with the following error:

AttributeError: 'CmdRangeBackEnd' object has no attribute 'outputPaths_required'