ID 538994 - PyQt5 bug with `QMetaObject.connectSlotsByName`

Follow

Problem summary
There is an error in PyQT5 when running QtCore.QMetaObject.connectSlotsByName() that causes an error to pop in Katana and not display any changes to the GUI.
 
Customer reported version
Katana.5.0v1
 
Customer reported platform
 
Steps to reproduce
 

  1. Create a folder in $KATANA_RESOURCES/Shelves
     
  2. Place the attached script on the newly created folder
     
  3. Start a new instance of Katana
     
  4. Run the Shelf Item Script.

 
Expected behaviour
For Katana to display the GUI when running code that utilizes PyQT5 connectSlotsByName()
 
Actual behaviour
Katana throws an error when running code that uses PyQT5 connectSlotsByName() and does not display the GUI

Workaround
Unknown.
 
Reproduced by support
This bug has been reproduced in:
Katana 5.0v5 - CentOS 7 - Windows 10
Katana 5.0v1 - CentOS 7
 
Unable to reproduce bug in:
Katana 6.0v1 - CentOS 7 - Windows 10
Katana 4.5v5 - CentOS 7 - Windows 10
 
Earliest version tested
Katana 4.5v5 - This issue doesn't appear in this version and has regressed
 

    We're sorry to hear that

    Please tell us why