psychopy.org | Reference | Downloads | Github

Possible bug - Builder crashes when typing a dollar sign into a text component

OS : Ubuntu 20.04
PsychoPy version: 2021.2.2
Standard Standalone

What happens:
When I type a dollar sign ($) at the beginning of a text component, Builder gives an error and crashes.
If I type the $ at a different position in the box, nothing happens (please, see the gif below):

Builder_crash_with_dollar_sign

Error message:

Traceback (most recent call last):
File “/home/flavio/.local/lib/python3.8/site-packages/psychopy/app/builder/dialogs/paramCtrls.py”, line 29, in validate
validate(self, self.valType)
File “/home/flavio/.local/lib/python3.8/site-packages/psychopy/app/builder/dialogs/paramCtrls.py”, line 442, in validate
val = str(obj.GetValue())
RecursionError: maximum recursion depth exceeded while calling a Python object

It happens in a new file - I just have to start Builder and insert a text component.
The same was not happening with the previous version of Psychopy (same OS and machine).

I’m available to run diagnostics.

Cheers!
Flavio

Thanks for flagging! - just tested on windows and can’t replicate - maybe ubuntu specific? but does look like a bug would you be ok to put this as an issue on github so the dev team can test it?

Thanks!
Becca

Hi Becca!

Done :slightly_smiling_face:

Here is the link, in case someone comes looking for this.

Best,
Flavio