RangeError: Maximum call stack size exceeded
This error has a much clearer cause if you try running the experiment locally.
If you see a display like this, then it means you have used the same variable name for your text component as for the text itself.
This error isn’t spotted if you name the text component before you attach the spreadsheet. If you add the spreadsheet first, however, then an error message appears and the OK button is greyed out.
OS : Win11
PsychoPy version : 2024.2.4 Py 3.8)
What are you trying to achieve?:
Here I tried to modify a demo from this link demos / self_paced_reading · GitLab
What did you try to make it work?:
I do have 80 sentences, and I categorized them into 20 files,
for example here, I modified “spreadsheet” from the original to “spreadsheet1”
so I edited the excel file accordingly, and it would not show my sentences after that.
Here is what my experiment look like:
[image]
What specifically w…
If you get the online error but the experiment runs locally, then the most likely reason is that you have a component name ending on an underscore (which gets removed online).
Naming conventions
In PsychoPy, the names of components, routines, loops and variables must all be unique. For example, you can’t have a text component called text_1 and also use text_1 as the name of the variable that contains the text itself.
One way to reduce the chances of accidentally reusing names is to have a naming convention. For example:
lower_case_with_underscores for components, routines and loops
TitleCase for spreadsheet variables
reverseSentenceCase for code variables
Use var…