Problem reterving items from the server

PennController for IBEX Forums Support Problem reterving items from the server

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #10952
    multanip
    Participant

    I am having trouble getting my audio and picture from the server. We are using server for other project and they work well. Audio and picture are saved directly under the root zip and two seperate files for each. But for this project I cannot seem to get the pictures and audio. I get error messages:

    [14:22:11] Resource target_audio has not finished preloading after 60000ms
    [14:22:11] Resource RightPicture has not finished preloading after 60000ms
    [14:22:11] Resource ContextPicture has not finished preloading after 60000ms
    [14:22:11] Resource TargetPicture has not finished preloading after 60000ms
    [14:21:14] No valid resource named target_audio could be found at any URL or in any zip file.
    [14:21:14] No valid resource named RightPicture could be found at any URL or in any zip file.
    [14:21:14] No valid resource named ContextPicture could be found at any URL or in any zip file.
    [14:21:14] No valid resource named TargetPicture could be found at any URL or in any zip file.
    [14:21:11] Attempted to access column ‘condition’ in data3.csv but no such named column was found.
    [14:21:11] Attempted to access column ‘item’ in data3.csv but no such named column was found.
    [14:21:11] Attempted to access column ‘TargetAudio’ in data3.csv but no such named column was found.
    [14:21:11] Attempted to access column ‘RightPicture’ in data3.csv but no such named column was found.
    [14:21:11] Attempted to access column ‘ContextPicture’ in data3.csv but no such named column was found.
    [14:21:11] Attempted to access column ‘TargetPicture’ in data3.csv but no such named column was found.

    [14:22:13] No media to play for Audio element target_audio

    the headings of my csv are (small sample of csv)
    item,condition,response,ContextPicture,RightPicture,TargetPicture,TargetAudio,Animal,ContextSentence,Sentence
    1,c,f,Item17_f_1.jpg,Item17_f_3.jpg,Item17_f_2.jpg,filler17_f.wav,horse,sentence17f,17f,,,,,
    2,c,t,Item03_1.jpg,Item03_3.jpg,Item03_2.jpg,item03a.wav,liontiger,03sentence,3,,,,,
    3,c,f,Item15_f_1.jpg,Item15_f_3.jpg,Item15_f_2.jpg,filler15_f.wav,turtlewall,15sentence,15,,,,,
    4,c,t,Item10_1.jpg,Item10_3.jpg,Item10_2.jpg,item10b.wav,chimpsapple,10sentence,10,,,,butterfly,audio onlz works

    My code is
    //GeoExp3_list3_2-middle_age from cogniton run
    PennController.ResetPrefix(null) // Keep this here
    PennController.DebugOff()

    PreloadZip(“https://psyli-lab.research-zas.de/Geo_RT_cogRun_items/Audio_picture/audios.zip”)
    PreloadZip(“https://psyli-lab.research-zas.de/Geo_RT_cogRun_items/Audio_picture/pictures.zip”)

    //URL where the PHP and data is stored
    //URL(“https://psyli-lab.research-zas.de/Geo_RT_cogRun_items/results/Geo_RT_time.php”)

    var showProgressBar = false;

    //Sequence of the experiment
    Sequence(“Preload”,”Start”,”eyetracking”,”Send”,”Exit”)
    // CheckPreloaded
    CheckPreloaded(“Preload”)

    newTrial(“Start”,
    newButton(“Start the experiment”)
    .center()
    .print(“center at 50%”, “top at 25%”)
    .wait()
    )

    Template(“data3.csv”, row =>
    newTrial(“eyetracking”,
    defaultImage.size(400,300)
    ,
    newTimer(“pre-trial”, 500).start().wait()
    ,
    newImage(“TargetPicture”, row.TargetPicture)
    .size(400, 400)
    ,
    newImage(“ContextPicture”, row.ContextPicture)
    .size(400, 400)
    ,
    newImage(“RightPicture”, row.RightPicture)
    .size(400, 400)
    ,
    newCanvas(“Middle”, “25vw”, “50vh”)
    .add( “center at 50%” , “middle at 50%” , getImage(“TargetPicture”) )
    .print( “center at 50%” , “middle at 50%” )
    ,
    newCanvas(“Left”, “25vw”, “50vh”)
    .add( “center at 50%” , “middle at 50%” , getImage(“ContextPicture”) )
    .print( “center at 15%” , “middle at 50%” )
    ,
    newCanvas(“Right”, “25vw”, “50vh”)
    .add( “center at 50%” , “middle at 50%” , getImage(“RightPicture”) )
    .print( “center at 85%” , “middle at 50%” )
    ,
    newAudio(“target_audio”, row.TargetAudio)
    .log()
    .play()
    ,
    newText(“F”).print(“center at 150px”, 500, getCanvas(“Left”)),
    newText(“J”).print(“center at 150px”, 500, getCanvas(“Right”))
    ,
    getAudio(“target_audio”).wait(“first”)
    ,
    newSelector(“answer”)
    .add(getImage(“ContextPicture”),getImage(“RightPicture”))
    .keys(“F”,”J”)
    .frame(“solid 5px purple”)
    .log()
    .once()
    ,
    newTimer(10000).start().wait()
    ,
    clear()
    ,
    newTimer(“post-trial”, 500).start().wait()
    )
    .log(“item”, row.item)
    .log(“condition”, row.condition)
    )

    SendResults(“Send”);

    I have another vesion of this script where things are stored locally and it works but it eaten up all the pcibex space.

    Why is this not working?

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.