Just sharing my struggle and fix as a first time user, after getting my first experiment running i was trying to add a microphone and ran into an error. I tried really hard to find the original, but I only starting recording everything when I couldn’t fix it right away…
Here is the first thing I did capture:
File “D:\PsychoPy\lib\site-packages\psychopy_app\deviceManager\dialog.py”, line 146, in onAddDeviceBtn
self.populate()
File “D:\PsychoPy\lib\site-packages\psychopy_app\deviceManager\dialog.py”, line 89, in populate
self.pages[name] = DevicePanel(
File “D:\PsychoPy\lib\site-packages\psychopy_app\deviceManager\panel.py”, line 129, in init
prop.ChangeFlag(wx.propgrid.PG_PROP_READONLY, True)
AttributeError: module ‘wx.propgrid’ has no attribute ‘PG_PROP_READONLY’
Forgive the lack of information, but just in case it helps anyont, here is my file:
PsychoPy\lib\site-packages\psychopy_app\deviceManager\deialog.py file with code corrections that got it working on my machine. (confirmed I could at least add camera, mic, & xbox controller without a bugcheck)
dialog.py (6.5 KB)