ID 365977 - Qt 5: AttributeError: type object 'QStyleOptionViewItem' has no attribute 'None'

Follow

Problem summary:

Customers have encountered the following errors in their console view when interacting with Katana 3.1:


File "bin/python/UI4/Widgets/SceneGraphView/ItemDelegates/StateItemDelegate.py", line 298, in initStyleOption
File "bin/python/UI4/Widgets/SceneGraphView/ItemDelegates/StateItemDelegate.py", line 120, in initStyleOption
AttributeError: type object 'QStyleOptionViewItem' has no attribute 'None'

Steps to reproduce:

  1. Unknown

Expected behaviour:

All UI widgets work without throwing errors

Actual behaviour:

Certain UI widgets will throw errors

Workaround:

No known workaround.

Tested versions/platforms:

  • 3.0v4 - Unaffected
  • 3.1b3 - Affected

Customer version/platform:

3.1b3

    We're sorry to hear that

    Please tell us why