You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Related to #1204, but also an issue in CI environments.
Describe the enhancement AttributeError: 'module' object has no attribute 'qApp' is a common error when attempting to run CueGUI and is currently causing failures within our CI pipelines.
This is due to how we store and access the current instance of the application.
As I understand it, this is kind of a non-standard use of PySide. It also creates a ton of problems for lint, as you can see in the example above, as qApp is not a known member of QtGui and we create a lot of custom event handlers in our Application instance.
We should create a better solution for this -- possibly using a new library within the CueGUI code for creating and retrieving the current application instance.
Related to #1204, but also an issue in CI environments.
Describe the enhancement
AttributeError: 'module' object has no attribute 'qApp'
is a common error when attempting to run CueGUI and is currently causing failures within our CI pipelines.This is due to how we store and access the current instance of the application.
qApp
is populated on startup:OpenCue/cuegui/cuegui/Main.py
Lines 74 to 75 in 409c2a7
And referenced in many other places within the code:
OpenCue/cuegui/cuegui/MainWindow.py
Lines 62 to 65 in 409c2a7
As I understand it, this is kind of a non-standard use of PySide. It also creates a ton of problems for lint, as you can see in the example above, as
qApp
is not a known member ofQtGui
and we create a lot of custom event handlers in our Application instance.We should create a better solution for this -- possibly using a new library within the CueGUI code for creating and retrieving the current application instance.
Version Number
e7c38c6
The text was updated successfully, but these errors were encountered: