Due to an error
TypeError: exceptions must be old-style classes or derived from BaseException, not str
(see details below) my experiment crashes.
Since time at the eye tracker is rare, I couldn't reproduce it with bare code.
Primary it appears after I exit the tracker setup procedure (runSetupProcedure) after the validation pressing "Esc". The calibration and validation I start from the Psychopy-menu and not from the Eyetracker-PC. I use an Eyelink 1000. The only thing I do directly at the Eyetracking-PC is activating the "auto trigger" from calibration and validation.
Short version:
Problem:
raise errorReply
at https://github.com/psychopy/psychopy/blob/master/psychopy/iohub/client/init.py#L1181Solution:
raise Exception(errorReply)
Long version:
Due to an error
TypeError: exceptions must be old-style classes or derived from BaseException, not str
(see details below) my experiment crashes.Since time at the eye tracker is rare, I couldn't reproduce it with bare code. Primary it appears after I exit the tracker setup procedure (
runSetupProcedure
) after the validation pressing "Esc". The calibration and validation I start from the Psychopy-menu and not from the Eyetracker-PC. I use an Eyelink 1000. The only thing I do directly at the Eyetracking-PC is activating the "auto trigger" from calibration and validation.Regarding http://stackoverflow.com/questions/11497234/typeerrorexceptions-must-be-old-style-classes-or-derived-from-baseexception-no I changed the "problematic" code at https://github.com/psychopy/psychopy/blob/master/psychopy/iohub/client/init.py#L1181 to
raise Exception(errorReply)
and the error didn't appear anymore.Since I can't do further testing I don't dare a pull request.
ERROR
Code