Error when trying to calibrate with Opensesame PyGaze

Forum to report issues and bugs on Windows 7, 8, and 10.

Error when trying to calibrate with Opensesame PyGaze

Postby agosto83 » 20 May 2016, 02:22

Hi, i'm trying to set an experiment in Opensesame with the ET, but the calibration phase always ends crashing. I have the ET server on and this happens even in the template pre-packaged to be used with the eye tracker.

The log of the EyeTribe brings something like this (i suppose this is the important part):

Code: Select all
2016-05-13 17:42:29.815|2340015440|I|Validating config chosen device
2016-05-13 17:42:42.817|2427200557|I|New connection detected [176093691904]
2016-05-13 17:42:43.853|1886814084|I|Setting up device properties
2016-05-13 17:42:43.899|1886814084|I|The device stream has started
2016-05-13 17:42:43.910|2427200557|I|Tracker started
2016-05-13 17:42:43.910|2427200557|I|Creating new connection [176093691904]
2016-05-13 17:42:47.213|2427200557|E|Invalid JSON format: [{
"category": "calibration",
"request": "pointend",
}]
2016-05-13 17:42:48.337|2427200557|I|Connection removed [176093691904]
2016-05-13 17:42:49.133|1886814084|I|The device stream has stopped
2016-05-13 17:42:49.137|2427200557|I|Tracker stopped


Any help is greatly appreciated!
agosto83
 
Posts: 1
Joined: 22 Mar 2016, 15:49

Re: Error when trying to calibrate with Opensesame PyGaze

Postby Martin » 20 May 2016, 10:10

Hi

Thanks for reporting

We are aware of the compatibility issue between PyGaze and version 0.9.77. I have created a bug report and will report back once it has been resolved by our developers.

For now, please use version 0.9.56 until we get a patch out.

Update:

We've now debugged the PyTribe.py implementation. The reason it fails with the new server is due to stricter JSON validation.

Message sent to server from PyGaze:

Code: Select all
{
   "category": "calibration",
   "request": "pointend",
}


Upon validating with JSONLint following error is reported.

Code: Select all
Error: Parse error on line 3:
...quest": "pointend",}
----------------------^
Expecting 'STRING', got '}'


The last comma after pointend is not allowed in JSON whereby the server rejects the message.
It's a matter of a single character.
Martin
 
Posts: 567
Joined: 29 Oct 2013, 15:20

Re: Error when trying to calibrate with Opensesame PyGaze

Postby cbarbour » 20 Jul 2016, 21:18

Are there any updates on this issue?
cbarbour
 
Posts: 5
Joined: 01 Feb 2016, 18:23


Return to Issues and troubleshooting - Windows



cron