State:Closed|icon_bug|icon_katana|database:public|Resolution:Fixed|TargetRelease:4.5v4|BugID:509595|
Problem summary
When instantiating a class derived from QT4FormWidgets.FilterablePopupFormWidget Katana produces the following error:
[ERROR python.QT4FormWidgets.FormWidget]: Error building control widget: 'NoneType' object has no attribute 'aboutToShow' show() method on that object produces an additional error:[ERROR python.root]: An AttributeError occurred in "FilterablePopupFormWidget.py": 'MyPopupForm' object has no attribute '_FilterablePopupFormWidget__popupButton' Traceback (most recent call last): File "FormWidget.py", line 1922, in showEvent File "BaseValueFormWidget.py", line 140, in _thaw File "BaseValueFormWidget.py", line 167, in valueChangedEvent File "FilterablePopupFormWidget.py", line 134, in _updateControlWidget AttributeError: 'MyPopupForm' object has no attribute '_FilterablePopupFormWidget__popupButton' class MyPopupForm(QT4FormWidgets.FilterablePopupFormWidget): pass policy = QT4FormWidgets.PythonValuePolicy('', {'foo': 'bar'}).getChildByName('foo') w = MyPopupForm(None, policy, FormMaster.KatanaWidgetFactory) w.show() 
FilterablePopupFormWidget missing its button and errors are present in the console.
We're sorry to hear that
Please tell us why