URL of experiment: (The experiment is in running status and I still have credits. If I share the link, will this consume a credit?)
Description of the problem: I uploaded my experiment a couple of days ago to Pavlovia, after checking that it worked well on my laptop and other computers with different OS. After a couple of minutes of testing, I started receiving messages from participants (recruited via Prolific) reporting different errors. To give you some examples, two participants said they received the following error: TypeError: Cannot read property āreadPixelsā of undefined
Some participants said that their browser (Chrome) crashed, and one of them even said that the experiment made his computer crash . At that point I decided to pause the study on Prolific.
I am trying to understand what is wrong with the study, and see if thereās a way of avoiding all these errors. The experiment is a bit long (5 mins) and has some videos. Maybe that might explain these technical issues? Also, is there a recommended ālimitā on how many participants can take part in the study simultaneously?
a memory error where the machines are running out of memory (probably in the graphics card) while trying to load the movies. If thatās it then weāll need to work out how/why thatās happening
a movie file with a different format, now supported by all browsers?
There isnāt a limit on the number of participants running and Iām confident that wonāt be affecting you.
By the way, I noticed you had another post about the video not updating on each trial (sorry - I didnāt have any idea what might cause that and so hadnāt responded). Did you resolve that issue?
Regarding the videos, I still havenāt found a solution to my problem (i.e. how can I repeat a video on Pavlovia across trials, so that I donāt need to have multiple copies of the video for each trial?)
Edit: I just realized that other Psychopy users had similar problems a couple of months ago, here and here, and apparently the solution they found was to create multiple copies of the video filesā¦
I think that the fact of having so many videos might be one of the main reasons why my experiment keeps crashing. Isnāt there a way (maybe with a code component) to repeat the video file on every trial?
Yes, repeating the video should be fine (i.e. I consider this a bug). Weāll need to work out why itās failing (but most likely the situation is that the lib is detecting this is the same movie and ācontinuingā rather than ārestartingā the video so weāll need to add some explicit line to restart from beginning). Iāll get @apitiot to look into both the memory and restart issues
Actually, Iāve just posted on your other issue, that Alain has already implemented the reset method for movies (but we werenāt using it in the output code) so you should be able to manually start the movies from the beginning on each trial using a Code Component, and in future weāll make sure the Builder-generated code does this for you automatically