| Reference | Downloads | Github

Potential backend sound issue in 1.85?


I tried upgrading to version 1.85, in hope I’ll be able to present a sound together with a movie, and have encountered the following error when trying to create a sound:

C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\visual\ VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
Traceback (most recent call last):
  File "U:\Documents\PsychoPy\", line 90, in <module>
    sound_1 = sound.Sound(u'A', secs=0.2)
  File "C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\sound\", line 276, in __init__
  File "C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\sound\", line 125, in init
    audioDriver, outputID = _bestDriver(devNames, devIDs)
  File "C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\sound\", line 28, in _bestDriver
    osEncoding = sys.getfilesystemencoding()

I updated my local version of to import sys and it works