# "'NoneType' object is not callable" error message shows up on v.2020.2.10

OS (e.g. Win10): Win10
PsychoPy version (e.g. 1.84.x): 2020.2.10
Standard Standalone? (y/n) If not then what?: y

I was forced to upgrade psychopy from v.2020.1.3 to v.2020.2.10 because of memory issue. When I installed and ran the recent version of it, it seemed like it worked OK locally at first. However, when the last stimulus of the experiment was presented, the message “##### Experiment ended. #####” didn’t appear on the runner while a constant spinning mouse cursor was shown. So the only way to force the experiment to end is to click the quit button. The biggest problem to me is that because the experiment doesn’t finish legitimately, the excel data file cannot be saved.

For your information, it worked perfectly fine both locally and online on v.2020.1.3 only except for online memory issue. In addition, it ran successfully on v.2020.2.5, but not on v.2020.2.8.

I suspect that I have a similar issue to this post. Unfortunately, the post didn’t provide any solution to this trouble. I will greatly appreciate any helpful advice.

Best,
Galaxy

### Error message

Exception ignored in: <bound method TextStim.__del__ of <psychopy.visual.text.TextStim object at 0x0000023CD2297860>>
Traceback (most recent call last):
File "C:\Program Files\PsychoPy3\lib\site-packages\psychopy\visual\text.py", line 240, in __del__
File "C:\Program Files\PsychoPy3\lib\site-packages\pyglet\gl\lib.py", line 97, in errcheck
TypeError: 'NoneType' object is not callable
Exception ignored in: <bound method TextStim.__del__ of <psychopy.visual.text.TextStim object at 0x0000023CD93F21D0>>
Traceback (most recent call last):
File "C:\Program Files\PsychoPy3\lib\site-packages\psychopy\visual\text.py", line 240, in __del__
File "C:\Program Files\PsychoPy3\lib\site-packages\pyglet\gl\lib.py", line 97, in errcheck
TypeError: 'NoneType' object is not callable
Exception ignored in: <bound method TextStim.__del__ of <psychopy.visual.text.TextStim object at 0x0000023CDBA82470>>
Traceback (most recent call last):
File "C:\Program Files\PsychoPy3\lib\site-packages\psychopy\visual\text.py", line 240, in __del__
File "C:\Program Files\PsychoPy3\lib\site-packages\pyglet\gl\lib.py", line 97, in errcheck
TypeError: 'NoneType' object is not callable
Exception ignored in: <bound method TextStim.__del__ of <psychopy.visual.text.TextStim object at 0x0000023CDBA829E8>>
Traceback (most recent call last):
File "C:\Program Files\PsychoPy3\lib\site-packages\psychopy\visual\text.py", line 240, in __del__
File "C:\Program Files\PsychoPy3\lib\site-packages\pyglet\gl\lib.py", line 97, in errcheck
TypeError: 'NoneType' object is not callable
Exception ignored in: <bound method ElementArrayStim.__del__ of <psychopy.visual.elementarray.ElementArrayStim object at 0x0000023CD9294390>>
Traceback (most recent call last):
File "C:\Program Files\PsychoPy3\lib\site-packages\psychopy\visual\elementarray.py", line 735, in __del__
File "C:\Program Files\PsychoPy3\lib\site-packages\psychopy\visual\basevisual.py", line 1020, in clearTextures
File "C:\Program Files\PsychoPy3\lib\site-packages\pyglet\gl\lib.py", line 97, in errcheck
TypeError: 'NoneType' object is not callable
Exception ignored in: <bound method TextStim.__del__ of <psychopy.visual.text.TextStim object at 0x0000023CDBA82E48>>
Traceback (most recent call last):
File "C:\Program Files\PsychoPy3\lib\site-packages\psychopy\visual\text.py", line 240, in __del__
File "C:\Program Files\PsychoPy3\lib\site-packages\pyglet\gl\lib.py", line 97, in errcheck
TypeError: 'NoneType' object is not callable
Exception ignored in: <bound method TextStim.__del__ of <psychopy.visual.text.TextStim object at 0x0000023CDBA8BA58>>
Traceback (most recent call last):
File "C:\Program Files\PsychoPy3\lib\site-packages\psychopy\visual\text.py", line 240, in __del__
File "C:\Program Files\PsychoPy3\lib\site-packages\pyglet\gl\lib.py", line 97, in errcheck
TypeError: 'NoneType' object is not callable
Exception ignored in: <bound method TextStim.__del__ of <psychopy.visual.text.TextStim object at 0x0000023CDBA6E5C0>>
Traceback (most recent call last):
File "C:\Program Files\PsychoPy3\lib\site-packages\psychopy\visual\text.py", line 240, in __del__
File "C:\Program Files\PsychoPy3\lib\site-packages\pyglet\gl\lib.py", line 97, in errcheck
TypeError: 'NoneType' object is not callable
Exception ignored in: <bound method TextStim.__del__ of <psychopy.visual.text.TextStim object at 0x0000023CD92A13C8>>
Traceback (most recent call last):
File "C:\Program Files\PsychoPy3\lib\site-packages\psychopy\visual\text.py", line 240, in __del__
File "C:\Program Files\PsychoPy3\lib\site-packages\pyglet\gl\lib.py", line 97, in errcheck
TypeError: 'NoneType' object is not callable
Exception ignored in: <bound method TextStim.__del__ of <psychopy.visual.text.TextStim object at 0x0000023CDDB12630>>
Traceback (most recent call last):
File "C:\Program Files\PsychoPy3\lib\site-packages\psychopy\visual\text.py", line 240, in __del__
File "C:\Program Files\PsychoPy3\lib\site-packages\pyglet\gl\lib.py", line 97, in errcheck
##### Experiment ended. #####


Hello Galaxy,

well, without the stimuli (e.g. rating_scale.png) and condition-files nobody can really test your experiment. And you need to compile an example that most people in this forum can read the instructions or give us more instructions how to run the experiment and what to press when. What kind of language do you try to display?

Best wishes Jens

You are totally right, Jens. My post was terribly and embarrassingly far from anything reproducible. I’m so sorry for my neglect. I attached the whole experiment folder where you can find all files you need to run the experiment: My exp file with instructions in English, condition files and image files. Please press the following link:

whole experiment folder

Best,
Galaxy

Dear Galaxy,

you test program runs without problem (Win10, Firefox 83, no add-blocker, PsychoPy 2020.2.10). You might not want to limit the presentation of your rating scale to 2.5 sec. but rather give your participants all the time they need to rate your stimuli.

Best wishes Jens

It’s very strange… because I’ve never succeeded in finishing the experiment legitimately locally on v.2020.2.10 in spite of multiple re-installations. My computer environment might be the cause of the trouble, but I can’t pinpoint it actually. Fortunately, however, it works fine on v.2020.2.5, so I’ll to launch it online using that version. I hope this problem would be solved in the next update. Oh, and thank you for your advice on rating time. But since participants are already allowed to read more than 300 sentences in the self-paced fashion, I can’t help but presenting the rating scale only for a limited duration to reduce the time for the whole experiment as much as possible. I deeply appreciate your time and your kind advice, Jens.

Best,
Galaxy