Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prefs dialog: "module 'psychopy.sound' has no attribute 'getDevices'" #3382

Closed
DestyNova opened this issue Dec 21, 2020 · 0 comments · Fixed by #3390
Closed

Prefs dialog: "module 'psychopy.sound' has no attribute 'getDevices'" #3382

DestyNova opened this issue Dec 21, 2020 · 0 comments · Fixed by #3390
Assignees
Labels
🐞 bug Issue describes a bug (crash or error) or undefined behavior.

Comments

@DestyNova
Copy link

I tried adding pygame as the first choice in the list of audio libraries, since that was working well for me in an older version PsychoPy (with Python 2).

However, it doesn't seem to work on this machine, and now it's not possible to open the preferences dialog to undo the change:

Traceback (most recent call last):
  File "/home/omf/.local/lib/python3.8/site-packages/psychopy/app/_psychopyApp.py", line 767, in showPrefs
    prefsDlg = PreferencesDlg(app=self)
  File "/home/omf/.local/lib/python3.8/site-packages/psychopy/app/preferencesDlg.py", line 543, in __init__
    devnames = sorted(sound.getDevices('output'))
AttributeError: module 'psychopy.sound' has no attribute 'getDevices'
@mdcutone mdcutone added the 🐞 bug Issue describes a bug (crash or error) or undefined behavior. label Dec 30, 2020
@mdcutone mdcutone self-assigned this Jan 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Issue describes a bug (crash or error) or undefined behavior.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants