PennController for IBEX › Forums › Support › Saving to server problem (eye tracking)
- This topic has 3 replies, 2 voices, and was last updated 1 year, 6 months ago by genesis99.
October 31, 2021 at 3:04 am #7457
This is my first post here.
First, I’m grateful to have found this wonderful service as this will be a part of my doctoral dissertation (psycholinguistics).
I just started learning about the service but I have no background in programming.
As recommended, I got myself a service at Dreamhost and uploaded the PHP script provided in the tutorial.
I’ve first shortened the “clefts.csv” just to try a few experiments and simply see if any results are properly being sent to the server.
For each experiment session, I do see a file being generated in a folder but the content is unreadable (see below)
I’m simply using the demo experiment with just the PHP file directed to my Dreamhost server.
According to the tutorial, I should get some meaningful results file (https://raw.githubusercontent.com/PennController/Template/eyetracker-with-results/results/results.csv) but it seems that something is not set up properly.
I’ve been stuck with this issue for a few days and I would truly appreciate it if you could give some tips on my issue.
Thanks for reading and I look forward to hearing back from you.
Best,October 31, 2021 at 3:22 am #7458
I was able to retrieve the result file from the menu on the Farm!
So please discard the issued addressed.
I do however have another issue.
It seems like my “PreloadZip” does not work.
I’ve uploaded my own zip files containing the pictures and another of audio files to my Dreamhost server.
But I keep getting the message,
Error downloading https://yoojun.dreamhosters.com/eyetracking/pictures.zip:;Error: InvalidStateError: Failed to read the ‘responseText’ property from ‘XMLHttpRequest’: The value is only accessible if the object’s ‘responseType’ is ” or ‘text’ (was ‘arraybuffer’). (newTrial: 0)
What does the error message mean?
PhilipNovember 2, 2021 at 1:40 pm #7466JeremyKeymaster
I don’t get any error for this:
PreloadZip("https://yoojun.dreamhosters.com/eyetracking/pictures.zip") newTrial( newImage("Picture1.png").print() , newButton("Next").print().wait() )
Did you happen to fix the issue in the meantime?
JeremyNovember 4, 2021 at 1:39 am #7474
Yes, I solved the problem!
I later read in the tutorial that I should add .htaccess file in the same folder!
Thanks a lot for your attention. Much appreciated.
- You must be logged in to reply to this topic.