Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug in restart calibration Pytribe #4

Open
dvanmoorselaar opened this issue Jul 3, 2015 · 2 comments
Open

bug in restart calibration Pytribe #4

dvanmoorselaar opened this issue Jul 3, 2015 · 2 comments

Comments

@dvanmoorselaar
Copy link

Hello,

It seems there is a bug in calibration procedure. After running calibration, the output tells whether calibration is succesfull or whether it failed. You then have the option to continue (press space) or restart the calibration (R). In case of a failed calibration it is not possible to restart (R) the calibration as an error pops up that calibration is allready in progress. The surprising thing is that in case of a succesfull calibration you can restart the calibration without any problems. See the traceback of the error below:

Unexpected error
line: 1127
exception message: Error in calibration.start: Calibration already in progress (code 403)
exception type: Exception

Traceback (also in debug window):
File "dist\libqtopensesame\misc\process.py", line 139, in run
File "dist\libopensesame\experiment.py", line 344, in run
File "dist\libopensesame\sequence.py", line 47, in run
File "C:\Program Files (x86)\OpenSesame\plugins\pygaze_init\pygaze_init.py", line 208, in run
File "dist\pygaze_eyetracker\libeyetribe.py", line 192, in calibrate
File "dist\pygaze_eyetracker\pytribe.py", line 1127, in start
Exception: Error in calibration.start: Calibration already in progress (code 403)

Best,

Dirk van Moorselaar

@ArshamSol
Copy link

Hi
could you help me how can i run calibration ?
I have the error "Calibration already in progress" when I call tracker.calibration.start().
this is traceback of error :
File "E:/Code/EyeTracking/PyTribe-master/example/experiment.py", line 78, in
tracker.calibration.start(9)
File "E:\Code\EyeTracking\PyTribe-master\pytribe.py", line 1126, in start
raise Exception("Error in calibration.start: %s (code %d)" % (response['values']['statusmessage'],response['statuscode']))
Exception: Error in calibration.start: Calibration already in progress (code 403)

@esdalmaijer
Copy link
Owner

Would you be able whether this bug still persist if you download the latest version? It should be fixed there. Thanks for flagging it up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants