# Potential backend sound issue in 1.85?

**URL:** <https://discourse.psychopy.org/t/potential-backend-sound-issue-in-1-85/2058>\
**Category:** Coding\
**Tags:** sound\
**Created:** [March 6, 2017, 12:20pm UTC](https://discourse.psychopy.org/t/potential-backend-sound-issue-in-1-85/2058 "2017-03-06T12:20:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![baya](https://avatars.discourse-cdn.com/v4/letter/b/858c86/32.png) [@baya](https://discourse.psychopy.org/u/baya)\
**Post date:** [March 6, 2017, 12:20pm UTC](https://discourse.psychopy.org/t/potential-backend-sound-issue-in-1-85/2058/1 "2017-03-06T12:20:39Z")

</div>

Hello,

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:

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

```

I updated my local version of backend\_pyo.py to import sys and it works
