psychopy.org | Reference | Downloads | Github

Video not working on version 1.85.6

Hello everyone,
I have an experiment that has a loop of videos.
When I try to run it on version 1.85.6 I get the following error:

Welcome to PsychoPy2!
v1.85.6
()
######### Running: C:\Users\admin\Downloads\new 27.4\new 18.4\TRY1.py ##########
pyo version 0.8.7 (uses single precision)
Traceback (most recent call last):
File “C:\Users\admin\Downloads\new 27.4\new 18.4\TRY1.py”, line 110, in
depth=0.0,
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\contrib\lazy_import.py”, line 120, in call
return obj(*args, **kwargs)
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\visual\movie3.py”, line 129, in init
self.loadMovie(self.filename)
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\visual\movie3.py”, line 190, in loadMovie
sampleRate=self._mov.audio.fps)
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\sound\backend_pyo.py”, line 287, in init
init(rate=sampleRate)
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\sound\backend_pyo.py”, line 150, in init
audioInputName, inputID = _bestDriver(devNames, devIDs)
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\sound\backend_pyo.py”, line 27, in _bestDriver
preferredDrivers = prefs.general[‘audioDriver’]
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\configobj.py”, line 563, in getitem
new = [_check(entry) for entry in val]
UnicodeDecodeError: ‘utf8’ codec can’t decode byte 0xae in position 29: invalid start byte

Thanks!

Pretty sure this issue has been addressed so might be worth upgrading to a more recent version of PsychoPy.

Thanks! which version is the most recent? 1.9?