When I call runInfo = psychopy.info.RunTimeInfo()
and then print(runInfo)
, I get a bug internal to Psychopy, here is a minimal program that reproduces the error for me , which is
Traceback (most recent call last):
File "/Users/alexh 1/Documents/attention_tempresltn/temp res of attn, binding/Mednick_Martini_collabs/pythonProgrammingABtask/Humby3streams/tests/lowerPsychopyBug.py", line 19, in <module>
print(runInfo)
File "/Applications/PsychoPy2_1.90.1.app/Contents/Resources/lib/python2.7/psychopy/info.py", line 618, in __str__
infoLines = self.__repr__()
File "/Applications/PsychoPy2_1.90.1.app/Contents/Resources/lib/python2.7/psychopy/info.py", line 583, in __repr__
sectKeys.sort(key=str.lower, reverse=bool(sect in revSet))
TypeError: descriptor 'lower' requires a 'unicode' object but received a 'str'
Belatedly realized I should probably be putting this on Github as an issue, so I’ve done that now https://github.com/psychopy/psychopy/issues/1825