Skip to content

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

@DestyNova

Description

@DestyNova

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'

Metadata

Metadata

Assignees

Labels

🐞 bugIssue describes a bug (crash or error) or undefined behavior.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions