buttonNEX = new visual.ImageStim({
win : psychoJS.window,
name : 'buttonNEX', units : undefined,
image : 'sns/circles/buttonNEXT.png', mask : undefined,
ori : 0.0, pos : [0.45, (- 0.4)], size : [0.25, 0.08],
color : new util.Color([1, 1, 1]), opacity : undefined,
flipHoriz : false, flipVert : false,
texRes : 128.0, interpolate : true, depth : -2.0
});
mouse_10 = new core.Mouse({
win: psychoJS.window,
This is how I uploaded the image:
This is how I upload images:
What do you mean upload it via experiment settings?
I already tried replacing the image online by deleting the image that was synced with PsychoPy and uploading it again.
I don’t think there’s an advantage of starting at frameN 0 instead of the usual 0 seconds.
I can see the image online so I think it’s fine. However, you could try with a different image just to test. I have found the png files made by GIMP can fail and so I sometimes resave them with IrfanView.
Click on Experiment Settings (the cog icon) in Builder and then on the Online tab and try adding the image file in Additional Resources.
The error appears even if it’s set on “Set every repeat”:
The image is saved online and I triple-checked everything, as before.
How can I avoid having this error? It is really annoying, as everything seems to be OK with the code.
The image was uploaded to the PsychoPy file after the experiment was initially sync-ed online.
Should I just delete the previous online sync-ed experiment and re-do everything from the beginning?
It’s the same error regardless of the file type: jpg or png.
I still get this and I tried everything I know: clearing cache, removing image from online and uploading again, changing in PsychoPy from "constant’ to “set every repeat” or “set every frame”.
I think that the only solution would be to delete the project and start over.
Have a look on Gitlab to see if your JS files are actually being updated. Maybe you’re getting a sync error which is stopping your changes from being uploaded.