Error when attempting automatic gamma calibration

MacOS Mojave v10.14.6
Psychopy Version: ‘2020.2.8’
Standard Standalone? y
Photometer: ColorCal MKII.

I wish to perform an automatic gamma calibration using the monitor centre. This worked a couple weeks ago when I was on an older version of PsychoPy but I recently updated to a newer version.

I can pull up the monitor centre from BuilderView, I can click ‘get photometer’ and perform the dark calibration successfully. I can click ‘Gamma Calibration’ but when I click ‘OK’ to begin the ‘auto’ calibration, I get the following error messages:

  File “/Applications/”, line 826, in onCalibGammaBtn
  File “/Applications/”, line 964, in getLumSeries
  File “/Applications/”, line 434, in __init__
  File “/Applications/”, line 74, in getBackend
  File “/Applications/”, line 171, in __init__
  File “/Applications/”, line 648, in __init__
  File “/Applications/”, line 197, in _create
  File “/Applications/”, line 300, in attach
AttributeError: ‘NoneType’ object has no attribute ‘setWantsBestResolutionOpenGLSurface_’

Not sure what to do about this so advice would be appreciated!

It looks like something is going wrong with pyglet, some object is being set to None when it shouldn’t be. Can you check your version of Pyglet?

Within the shell it’s 1.5.10