Forum Archive

Calculator widget NameError

gguman

when i try to run the script from widgets it raise NameError: name'v' is not defined at line 115

ccc

Works as expected for me. You might want to try the "Restore Examples..." option under the gear menu because when I do so, line 115 does contain a variable v.

omz

This is a bug in the example, sorry, It should work if you just replace v with widget_view.

gguman

repaired. thx