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
Context: I ran start_test_app on an instance of a custom driver which contained a DictFeat and clicked on its set button. The following error shows up after closing the Test Panel:
Traceback (most recent call last):
File "C:\Anaconda3\lib\site-packages\lantz\ui\widgets.py", line 470, in on_set_clicked
self._widget.value_to_feat()
AttributeError: 'DictFeatWidget' object has no attribute 'value_to_feat'
Note that there is no runtime error since the value_to_feat method is never called (see Issue "In case of DictFeat, DriverTestWidget.update_on_change() has no effect").
Probable origin: In case of a DictFeat, LabeledFeatWidget._widget is a DictFeatWidget, which doesn't have a value_to_feat method.
Probable fix: add the value_to_feat method to DictFeatWidget
Context: I ran
start_test_app
on an instance of a custom driver which contained aDictFeat
and clicked on its set button. The following error shows up after closing the Test Panel:Note that there is no runtime error since the
value_to_feat
method is never called (see Issue "In case of DictFeat, DriverTestWidget.update_on_change() has no effect").Probable origin: In case of a
DictFeat
,LabeledFeatWidget._widget
is aDictFeatWidget
, which doesn't have avalue_to_feat
method.Probable fix: add the
value_to_feat
method toDictFeatWidget
Proposed fix: add to
DictFeatWidget
The text was updated successfully, but these errors were encountered: