Hello I’m pretty new with Psychopy and Python in general. I have a Mac and I’m having issues with opening dialog boxes
I’m just trying the example code from the website:
expInfo = {'observer':'jwp', 'refOrientation':0}
expInfo['dateStr'] = data.getDateStr()
dlg = gui.DlgFromDict(expInfo, title='simple JND Exp', fixed=['dateStr'])
And I get the next error
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/psychopy/gui/wxgui.py", line 248, in __init__
Dlg.__init__(self, title)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/psychopy/gui/wxgui.py", line 64, in __init__
wx.Dialog.__init__(self, None, -1, title, pos, size, style)
TypeError: Dialog(): arguments did not match any overloaded call:
overload 1: too many arguments
overload 2: argument 4 has unexpected type 'NoneType'
I think it is a problem with xwPython and the gui from Psychopy but I don’t know how to solve it
Thanks for your attention.