Error in gratings demo: name "noise" is not defined

OS (e.g. Win10): OS X 11.6.7
PsychoPy version (e.g. 1.84.x): 2023.2.0
Standard Standalone? (y/n) If not then what?: Yes
What are you trying to achieve?: Run Gratings demo

What did you try to make it work?:

Opened gratings demo, clicked Run locally. After the “measuring frame rate” message, the experiment crashes with:

ioHub Server Process Completed With Code: 0
File “/Users/fintan/Dropbox/City/psychopy/Feature Demos/gratings/gratings_lastrun.py”, line 651, in
run(
File “/Users/fintan/Dropbox/City/psychopy/Feature Demos/gratings/gratings_lastrun.py”, line 375, in run
trialComponents = [noise, ModNoise, ModSin, Beat, NoiseAddBeat, ModNoiseText, MosSinText, BeatText, BeatNoiseText]
NameError: name ‘noise’ is not defined

and various messages like

WARNING Parameter ‘power’ is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.

Same results on version 2023.1.3

Please could you show your grating settings? I just tried the default in 2023.2.0 and it was fine.

These are the components in the routine:

And the settings for the first component:

I wonder if I am doing something wrong - I am simply opening the sample project in PsychoPy and then clicking on the Run button.

Here is the some more of the log output:

60.6783     WARNING     Parameter 'color' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
60.6821     WARNING     Parameter 'colorSpace' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
60.6865     WARNING     Parameter 'contrast' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
60.6920     WARNING     Parameter 'filter' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
60.6976     WARNING     Parameter 'imageComponent' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
60.7040     WARNING     Parameter 'interpolate' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
60.7122     WARNING     Parameter 'mask' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
60.7205     WARNING     Parameter 'noiseBW' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
60.7302     WARNING     Parameter 'noiseBWO' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
60.7415     WARNING     Parameter 'noiseBaseSf' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
60.7552     WARNING     Parameter 'noiseClip' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
60.7679     WARNING     Parameter 'noiseElementSize' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
60.7806     WARNING     Parameter 'noiseFilterLower' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
60.7929     WARNING     Parameter 'noiseFilterOrder' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
60.8057     WARNING     Parameter 'noiseFilterUpper' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
60.8205     WARNING     Parameter 'noiseFractalPower' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
60.8351     WARNING     Parameter 'noiseImage' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
60.8505     WARNING     Parameter 'noiseNewSample' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
60.8660     WARNING     Parameter 'noiseNewSampleWhen' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
60.8836     WARNING     Parameter 'noiseOri' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
60.8994     WARNING     Parameter 'noiseType' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
60.9161     WARNING     Parameter 'opacity' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
60.9353     WARNING     Parameter 'ori' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
60.9530     WARNING     Parameter 'phase' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
60.9704     WARNING     Parameter 'pos' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
60.9885     WARNING     Parameter 'sf' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
61.0068     WARNING     Parameter 'size' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
61.0255     WARNING     Parameter 'texture resolution' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
61.0441     WARNING     Parameter 'units' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
61.0627     WARNING     Parameter 'beat' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
61.0827     WARNING     Parameter 'blendmode' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
61.1027     WARNING     Parameter 'carrier' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
61.1236     WARNING     Parameter 'color' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
61.1448     WARNING     Parameter 'colorSpace' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
61.1675     WARNING     Parameter 'contrast' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
61.1907     WARNING     Parameter 'envelope' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
61.2141     WARNING     Parameter 'envori' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
61.2405     WARNING     Parameter 'envphase' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
61.2652     WARNING     Parameter 'envsf' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
61.2941     WARNING     Parameter 'interpolate' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
61.3216     WARNING     Parameter 'mask' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
61.3509     WARNING     Parameter 'moddepth' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
61.3792     WARNING     Parameter 'opacity' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
61.4082     WARNING     Parameter 'ori' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
61.4350     WARNING     Parameter 'phase' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
61.4630     WARNING     Parameter 'pos' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
61.4924     WARNING     Parameter 'power' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
61.5228     WARNING     Parameter 'sf' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
61.5514     WARNING     Parameter 'size' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
61.5809     WARNING     Parameter 'texture resolution' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
61.6163     WARNING     Parameter 'units' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
61.6500     WARNING     Parameter 'beat' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
61.6819     WARNING     Parameter 'blendmode' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
61.7144     WARNING     Parameter 'carrier' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
61.7469     WARNING     Parameter 'color' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
61.7830     WARNING     Parameter 'colorSpace' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
61.8189     WARNING     Parameter 'contrast' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
61.8571     WARNING     Parameter 'envelope' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
61.8969     WARNING     Parameter 'envori' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
61.9320     WARNING     Parameter 'envphase' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
61.9685     WARNING     Parameter 'envsf' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
62.0046     WARNING     Parameter 'interpolate' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
62.0440     WARNING     Parameter 'mask' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
62.0855     WARNING     Parameter 'moddepth' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
62.1268     WARNING     Parameter 'opacity' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
62.1690     WARNING     Parameter 'ori' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
62.2132     WARNING     Parameter 'phase' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
62.2570     WARNING     Parameter 'pos' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
62.3020     WARNING     Parameter 'power' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
62.3469     WARNING     Parameter 'sf' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
62.3925     WARNING     Parameter 'size' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
62.4385     WARNING     Parameter 'texture resolution' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
62.4827     WARNING     Parameter 'units' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
62.5242     WARNING     Parameter 'beat' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
62.5660     WARNING     Parameter 'blendmode' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
62.6086     WARNING     Parameter 'carrier' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
62.6523     WARNING     Parameter 'color' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
62.6958     WARNING     Parameter 'colorSpace' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
62.7409     WARNING     Parameter 'contrast' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
62.7861     WARNING     Parameter 'envelope' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
62.8315     WARNING     Parameter 'envori' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
62.8768     WARNING     Parameter 'envphase' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
62.9232     WARNING     Parameter 'envsf' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
62.9703     WARNING     Parameter 'interpolate' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
63.0194     WARNING     Parameter 'mask' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
63.0698     WARNING     Parameter 'moddepth' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
63.1176     WARNING     Parameter 'opacity' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
63.1663     WARNING     Parameter 'ori' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
63.2159     WARNING     Parameter 'phase' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
63.2668     WARNING     Parameter 'pos' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
63.3210     WARNING     Parameter 'power' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
63.3797     WARNING     Parameter 'sf' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
63.4382     WARNING     Parameter 'size' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
63.4964     WARNING     Parameter 'texture resolution' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
63.5569     WARNING     Parameter 'units' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
63.6188     WARNING     Parameter 'beat' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
63.6757     WARNING     Parameter 'blendmode' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
63.7310     WARNING     Parameter 'carrier' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
63.7858     WARNING     Parameter 'color' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
63.8436     WARNING     Parameter 'colorSpace' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
63.8994     WARNING     Parameter 'contrast' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
63.9560     WARNING     Parameter 'envelope' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
64.0126     WARNING     Parameter 'envori' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
64.0697     WARNING     Parameter 'envphase' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
64.1274     WARNING     Parameter 'envsf' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
64.1866     WARNING     Parameter 'interpolate' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
64.2476     WARNING     Parameter 'mask' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
64.3068     WARNING     Parameter 'moddepth' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
64.3681     WARNING     Parameter 'opacity' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
64.4305     WARNING     Parameter 'ori' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
64.4921     WARNING     Parameter 'phase' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
64.5529     WARNING     Parameter 'pos' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
64.6150     WARNING     Parameter 'power' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
64.6783     WARNING     Parameter 'sf' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
64.7418     WARNING     Parameter 'size' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
64.8069     WARNING     Parameter 'texture resolution' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
64.8723     WARNING     Parameter 'units' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
64.9829     WARNING     Parameter 'blendmode' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
65.0492     WARNING     Parameter 'color' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
65.1150     WARNING     Parameter 'colorSpace' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
65.1816     WARNING     Parameter 'contrast' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
65.2519     WARNING     Parameter 'filter' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
65.3197     WARNING     Parameter 'imageComponent' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
65.3912     WARNING     Parameter 'interpolate' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
65.4612     WARNING     Parameter 'mask' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
65.5297     WARNING     Parameter 'noiseBW' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
65.6003     WARNING     Parameter 'noiseBWO' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.



```e

Could this be related to the following comments in the generated code?

I am experiencing similar results when I run the noise demo:

307.2127     WARNING     Parameter 'blendmode' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
307.4719     WARNING     Parameter 'color' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
307.7146     WARNING     Parameter 'colorSpace' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
307.9708     WARNING     Parameter 'contrast' is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
## Running: /Users/fintan/Dropbox/City/psychopy/2023-2-0/demos/Feature Demos/noise/noise_lastrun.py ##
using PyQt5
2023-08-11 14:06:40.863 python[56720:1332257] ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to /var/folders/q_/k6n0nr4n2hgdfy14ssx1hjkh0000gn/T/org.opensciencetools.psychopy.savedState
2023-08-11 14:06:45.813 python[56720:1332257] Warning: Expected min height of view: (<NSPopoverTouchBarItemButton: 0x7facea7aa1e0>) to be less than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation.
2023-08-11 14:06:45.814 python[56720:1332257] Warning: Expected min height of view: (<NSButton: 0x7facea7ed4e0>) to be less than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation.
2023-08-11 14:06:45.816 python[56720:1332257] Warning: Expected min height of view: (<NSPopoverTouchBarItemButton: 0x7facea7f0b40>) to be less than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation.
2023-08-11 14:06:45.817 python[56720:1332257] Warning: Expected min height of view: (<NSPopoverTouchBarItemButton: 0x7facea7fa3b0>) to be less than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation.
Traceback (most recent call last):
9.1734     WARNING     User requested fullscreen with size [800 600], but screen is actually [1920, 1080]. Using actual size
1.5417     WARNING     Monitor specification not found. Creating a temporary one...
  File "/Users/fintan/Dropbox/City/psychopy/2023-2-0/demos/Feature Demos/noise/noise_lastrun.py", line 745, in <module>
    run(
  File "/Users/fintan/Dropbox/City/psychopy/2023-2-0/demos/Feature Demos/noise/noise_lastrun.py", line 412, in run
    trialComponents = [BinaryNoise, GaborNoise, PinkNoise, FilteredNoise, ImageNoise, BinaryText, FilteredText, PinkText, GaborText, ImageText, ISI]
NameError: name 'BinaryNoise' is not defined
ioHub Server Process Completed With Code:  0
################ Experiment ended with exit code 1 [pid:56720] #################

I have reviewed some similar issues:

which seemed to be provoked by using the wrong version of PsychoPy. I verified that I unpacked the 2023.2.0 demos.

I also tried with 2023.1.3: I unpacked the demos for that version, and ran the gratings demo. I get the same error:

Are there any other versions I should try?

I have tried setting the “Use PsychoPy version” setting here:

image

However I get the same errors.

Hi everyone,

The noise component (as well as the envelope grating component) is currently a plugin.

To install it, please click the “+Get more…” icon at the top of the components list, and then search for “psychopy-visionscience”. Install that and restart the app, and you should see the components back in your list and also be able to run the noise demo.

As for the gratings demo, we’ll look into that in a little more detail as I’ve just noticed that this still doesn’t work in spite of the components required being present (at least for me). I’ll come back and update this thread as soon as possible.

Thanks so much,

Kim

As Kim says, the first issue is that this functionality has moved into a plugin, but we haven’t got the transition smooth enough yet for finding things that have moved.

I think what’s happened with the Gratings psyexp demo is that, PsychoPy found the Component it didn’t know and replaced it with UnknownComponent, but then saved the file.

We’ll be updating in the next bugfix release (probably in a week or so) to handle this better - if you load an experiment that requires a plugin to run it will let you know that (and won’t corrupt itself while trying :wink: ).

In the meantime, if you now have the psychopy-visionscience plugin installed and you’ve restarted then this file should get you going again:
gratings.psyexp (27.7 KB)

best wishes
Jon

(useVersion 2022.2.5 should also work since that was the last version before the move to plugins)

@jon @Kimberley_Dundas Thank you very much, both. This is really good to know, since errors in the tutorials tend to make one doubt one’s own sanity - “It can’t be a problem with the library!” I will install the psychopy-visionscience plugin and try with 2022.2.5.