kelly_marshall

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: Resources Not Loading – Random Points in Experiment #8330
    kelly_marshall
    Participant

    Makes sense. Thank you for looking into these issues!

    in reply to: Resources Not Loading – Random Points in Experiment #8328
    kelly_marshall
    Participant

    Ah, okay. Thanks!

    I updated the CORS configuration to match what you have there.

    When I am editing my experiment and press refresh, I continue to get the same error. But, when I open the demo link (https://farm.pcibex.net/r/JTnlcu/) or open in new tab, I don’t get any errors and when I look in the log I see the following : [17:55:45] Download of https://kellymarshallresearch.s3.amazonaws.com/DDMZip_AllInstbias.zip complete.

    The experiment seems to work and I can hear audio that is not in the local resources but should be coming from the zip file. Does this mean it’s working okay even without sending the header? Or do these kinds of errors just not show up in the demo?

    in reply to: Resources Not Loading – Random Points in Experiment #8325
    kelly_marshall
    Participant

    Thanks for your quick response!

    I double checked that the “*” was in that line of the .htaccess file and .htaccess is in the DDMMaterials folder.

    I also tried to set up an Amazon S3 bucket and I get the same error if I try to use PreloadZip() from that link. I think I’ve gone through and made everything public and sent the CORS information as described on other posts on this forum. If I’m getting the same error could it be something about the zip file itself?

    Here is the link for the AWS server: https://kellymarshallresearch.s3.amazonaws.com/DDMZip_AllInstbias.zip

    in reply to: Resources Not Loading – Random Points in Experiment #8322
    kelly_marshall
    Participant

    Hi Jeremy,

    Thanks again for your help! I now have a server set up here: https://kellymarshallresearch.umd.edu/DDMMaterials which includes the materials in a zip file and .htaccess files per the Managing Resources Guide. I can download the zip file from a browser but when I try to run

    PreloadZip(“https://kellymarshallresearch.umd.edu/DDMMaterials/DDMZip_AllInstbias.zip”);

    in my experiment, I get the following 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’)

    I’ve checked that there’s no extension like .txt on the .htaccess and the text is copied directly from the guide, but I’m wondering if there’s some other issue there.

    Best,
    Kelly

    in reply to: Resources Not Loading – Random Points in Experiment #8298
    kelly_marshall
    Participant

    Hi Jeremy,

    I have been running into a possibly related issue with a new version of this same experiment.

    After your previous response, I was able to get the experiment working successfully by keeping the picture resources local and only making 1 request to GitHub per trial for the audio (zip files weren’t possible for a few reasons with our current setup). I successfully ran 2 pilot experiments with no issues.

    In the most recent version, there are more stimuli but the setup is the same. On several test runs through, everything worked correctly for me in the last 1-2 weeks. Beginning this week, participants have been having issues with the stimuli not loading at different points throughout the experiment, and I have also had issues on test runs through. Unlike last time, what is not loading is now sometimes the pictures or instructions that are stored in local resources and sometimes the audio from GitHub.

    My question is whether there is a different issue, or if I am potentially running into the same problem now that the number of stimuli increased.

    Here is a link to the experiment demo: https://farm.pcibex.net/r/JTnlcu/

    Thank you!
    Kelly

    in reply to: Resources Not Loading – Random Points in Experiment #7802
    kelly_marshall
    Participant

    Hi Jeremy,

    Thank you so much for looking into this! I will try out the zip files option.

    -Kelly

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