Hello, I posted previously about trying to run an experiment that was programmed for PsychoPy2 to PsychoPy3, so trying to convert the code by troubleshooting any errors that come up when trying to run it. I am having trouble solving the latest error which is this:
File “…/…/lib/lavatask/base.py”, line 1821, in load
self.data = self._readResource(self.getResourceLocation())
File “…/…/lib/lavatask/base.py”, line 1862, in _readResource
file = codecs.open(self.getResourceLocation(), encoding=None)
File “codecs.pyc”, line 895, in open
FileNotFoundError: [Errno 2] No such file or directory: ‘demo.txt’
Experiment ended.
I understand there were some differences in codecs introduced between PsychoPy2 and 3, so I assume it probably has something to do with that, but I can’t figure out what. I can’t find the “codecs.pyc” file it refers to. Is this created by the code, and if so, maybe there is an error with that?
Any help would be greatly appreciated! Thank you,
Saashi