Thanks for the response. Reducing the number of elifs didn’t seem to help as you had suggested may be an issue in one of the threads. One of the responders in ValueError: stat: path too long for Windows - Online experiments - PsychoPy
suggested that he was encountering a problem because a component of his code was being passed into HTML. This is required for my experiment as I am using the participant and session number to determine what video is run.
I have gotten it working again by uninstalling PsychoPy 2021.2.1 and reinstalling 2020.2.5, which was the version that worked with my pilot data. It is also now working on other web browsers again. When I add the changes, it gives me roughly the same error again.
I’m having trouble getting anything to show up adding the line of code suggested by jon in ValueError: stat: path too long for Windows - Online experiments - PsychoPy.
It might be an issue with the number of elifs.
It works in this one:
Thesis [PsychoPy] (pavlovia.org)
I’m still messing with putting one more line at a time.