Saving to server problem (eye tracking)

PennController for IBEX Forums Support Saving to server problem (eye tracking)

Tagged: 

This topic contains 3 replies, has 2 voices, and was last updated by Avatar genesis99 1 month ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #7457
    Avatar
    genesis99
    Participant

    https://farm.pcibex.net/r/kDecak/

    Hello,

    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)


    2,_bottomFemaleIA,0.ĀĂāĄăĆąĈćĊĉČċĎČ1.đēĒčĄĔĀđęĕĚĜĞĝďġĖĢĤĈĘĐğĩħăĔħĭ
    2,_bottomMaleIA,0.ĀĂāĄăĆąĈćĊĉČċ1Ąďđ.ĒďċĖčĘėăĔęĐĞĚĝĠĢġĤģĂ
    2,_topFemaleIA,0.Ā1āĄĂ.ăĆĈąĄĊĀĎċďđĐēĒĕĔėĖęĘěĚĝċčĜġďĠĞĥĢā
    2,times,0.33āă34ĄāćĂĈ4Ā3Ď1ĈċēĊąĕĒąęĘĉĜēĚĞĒ5ā2ěĠ4ĤďāĎąđĔĥğĖ.2Ģ26ģįĸĠēĢ3ĨİĒė37ĪIJļĎĐěijķ2ŃĽĝĿĺŐĚŊŊőĒōīŏĸĵIJ8āĭąļľŀŤĞ
    2,_topMaleIA,1.Ā0.㹥ćĆĉĈċĆĂČċĀđāēĊĕďĖĘėĚęęĒčěĔĠĜĢĤģĦě
    3,times,0.33āăĂĄćĆĉ4āċ32Ĉąđā5āďĉĒĊĐ.2Ĕ28ā1ĚėĢĘĥěĔĉġĞħě6ć5ĖĖĦģĴĘċĜěğ3ġ3čijľĤŁĵłĶńČņŃę3ĺčļļijŅʼnŐłŀŒĈčIJŗĤ
    3,_bottomMaleIA,0.ĀĂ.1ĄāćąăĀĉĈĆąďĆĊćĒĔēĖĕĘėĚČĒĜđĎğęęĐĤĠĞĐĢĚĩīĪĭĬăĨā
    3,_bottomFemaleIA,1.ĀĂ.0ĄĆąĈćĊĉČċĎĉĀčĒďĔēĖĆđĕĔăĜāĞęėġĚĐĊăąęĨĘğĞħģĎĦīİĤ1
    3,_topFemaleIA,0.ĀĂāĄăĆąĈćĊĉ.1čĄĎđďĒĒċĖČėęĘěĚĎĚğĜġĠģēĥĞĢĢ
    3,_topMaleIA,0.ĀĂāĄĀ1ąĈăĊĉČċĎčĐďĆ.ććēĕĔđĚĒěęĜğĝĠĢġĤģğ

    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,

    #7458
    Avatar
    genesis99
    Participant

    Hi Jeremy,

    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?

    Thank!

    Philip

    #7466
    Jeremy
    Jeremy
    Keymaster

    Hi Philip,

    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?

    Jeremy

    #7474
    Avatar
    genesis99
    Participant

    Hi Jeremy,

    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.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.