| Reference | Downloads | Github

RGB Error and screen size error

If this template helps then use it. If not then just delete and start from scratch.

Hi guys I have Windows 10, the latest psychopy version, and the standalone version.
So I’m trying to conduct the first stroop experiment in the book. When I run my test only the background color shows up and the text stimulus does not.

This is what came up:
Hello from the pygame community. Contribute - pygame wiki
1.8790 WARNING We strongly recommend you activate the PTB sound engine in PsychoPy prefs as the preferred audio engine. Its timing is vastly superior. Your prefs are currently set to use [‘sounddevice’, ‘PTB’, ‘pyo’, ‘pygame’] (in that order).
8.4851 WARNING User requested fullscreen with size [1024 768], but screen is actually [2736, 1824]. Using actual size
12.0709 DEPRECATION ‘-1.0000, -1.0000, -1.0000’ is not a valid rgb color

Experiment ended.

C:\Users\steph\PsychoPy_Install\lib\site-packages\psychopy\tools\ RuntimeWarning: invalid value encountered in true_divide
hsv_out[:, 1] = numpy.where(cmax > 0.0, delta / cmax, 0.0)

I think the RGB value is the error, although I’ve clicked on many different colors available and it keeps saying error…
I also changed the screen size and saved it but still get this error…
anyway if any of you all have a moment to help I’d really appreciate it :slight_smile:

This error looks like it’s happening when trying to convert an RGB colour to HSV, could you share the psyexp so I can see exactly what you’re doing? If it’s the Stroop demo it should just be converting from named to RGB so I’m not sure where the HSV conversion is happening