If this template helps then use it. If not then just delete and start from scratch.
Win10
**PsychoPy version 2021.2.3
Standard Standalone
I’m trying to insert a simple text routine, but the program comes up with this error every time I run the experiment. I’m not too sure what to do here.
Traceback (most recent call last):
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\monitors\MonitorCenter.py”, line 826, in onCalibGammaBtn
screen=screen)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\monitors\calibTools.py”, line 974, in getLumSeries
bitsMode=bitsMode, screen=screen)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\visual\window.py”, line 537, in init
self._setupGamma(gamma)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\visual\window.py”, line 2737, in _setupGamma
self.gamma = gammaVal # using either pygame or bits++
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\tools\attributetools.py”, line 32, in set
newValue = self.func(obj, value)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\visual\window.py”, line 2759, in gamma
self.backend.gamma = self.dict[‘gamma’]
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\tools\attributetools.py”, line 32, in set
newValue = self.func(obj, value)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\visual\backends\pygletbackend.py”, line 451, in gamma
self._getOrigGammaRamp()
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\visual\backends\pygletbackend.py”, line 491, in _getOrigGammaRamp
self._origGammaRamp = self.getGammaRamp()
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\visual\backends\pygletbackend.py”, line 481, in getGammaRamp
gammaErrorPolicy=self._gammaErrorPolicy)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\visual\backends\gamma.py”, line 179, in getGammaRamp
raise OSError(raise_msg.format(func=func))
OSError: The hardware look-up table function (GetDeviceGammaRamp) failed. If you would like to proceed without look-up table (gamma) changes, you can change your defaultGammaFailPolicy
in the application preferences. For more information see
https://www.psychopy.org/troubleshooting.html#errors-with-getting-setting-the-gamma-ramp