PennController for IBEX › Forums › Support › No pictures during experimentation
- This topic has 6 replies, 2 voices, and was last updated 1 year, 8 months ago by
CogSciLanMethLab.
-
AuthorPosts
-
December 3, 2022 at 2:19 pm #9755
CogSciLanMethLab
ParticipantHello Jeremy,
We hope that you are doing well!
Some time ago, we have already asked for advice in the forum regarding picture resources not showing up during experimentation. At that time, a PCIbex server crash seemed to be the cause for the above problem because our study could be run without any trouble since then.
However, another study we have programmed with the help of PCIbex still has the issue that the picture resources are not shown during experimentation. Instead a message will pop-up saying that the participant should wait for about 1 minute. Unfortunately, we cannot figure out why this is?
The .png images are all stored at the root of a .zip folder on a server hosted by our institution and are around the size of 180 KB at maximum.
Could you please let us know how to solve this problem? Maybe we have overseen something? According to the IT department of our institution, the server where the picture resources are stored, works fine.
The demonstration link is https://farm.pcibex.net/r/wWSfYA/ (part 1 of the experiment) and https://farm.pcibex.net/r/vEPADh/ (part 2 of the experiment).
Thank you very much!
With best regards,
CogSciLanMethLabDecember 4, 2022 at 11:31 pm #9759Jeremy
KeymasterHello,
There are no files at the links you reference:
- https://www.ling.uni-potsdam.de/cslmlab/continuation_study/continuation_pcibex_resources/pic_continuation_study_day1.zip
- https://www.ling.uni-potsdam.de/cslmlab/continuation_study/continuation_pcibex_resources/pic_continuation_study_day2.zip
I tried visiting the same URLs without
www.
just in case, but with no success. Did you double-check the paths and the file names?Jeremy
December 5, 2022 at 4:52 am #9762CogSciLanMethLab
ParticipantHello Jeremy,
Thank you very much for your fast reply!
You are totally right, we have been working on this script recently and have apparently overseen this mistake. However, we have fixed the URL pointing to the server but the script is still not able to retreive the picture resources. The correct URL should be https://www.ling.uni-potsdam.de/cslmlab/continuation_study/continuation_pcibex_resources/pic_continuation_study.zip for both of the study parts.
We beg your pardon for this silly mistake. But still, can you think of a reason for the problem that we experience?
Thank you again!
Best,
CogSciLanMethLabDecember 5, 2022 at 3:59 pm #9766Jeremy
KeymasterHello,
The link points to a forbidden resource. Does the zip file have read permission for everyone?
Jeremy
December 6, 2022 at 1:31 pm #9773CogSciLanMethLab
ParticipantHello Jeremy,
The link to the resources given above points to the .zip folder with the images at the root. In the same directory where this .zip folder is located, there is an additional .htaccess file (with the dot in the very front) with the following content taken from the PCIbex documentation:
# with AJAX withCredentials=false (cookies NOT sent)
Header always set Access-Control-Allow-Origin “*”
Header always set Access-Control-Allow-Methods “GET”
Header always set Access-Control-Allow-Headers “X-Accept-Charset,X-Accept,Content-Type”
RewriteEngine On
RewriteCond %{REQUEST_METHOD} OPTIONS
RewriteRule ^(.*)$ $1 [R=200,L,E=HTTP_ORIGIN:%{HTTP:ORIGIN}]]When right-clicking on the .zip folder on the server, the boxes for “Read” and “Read & execute” for “Everyone” under the tab “Security” are now checked – these are the same settings we have used for an earlier study where the picture resources are stored on the same server which works fine (demo link: https://farm.pcibex.net/r/zBUnUG/).
Is there anything else that has to be checked or that we may have overlooked?
Thank you very much for your help and effort!
Best,
CogSciLanMethLabDecember 6, 2022 at 1:54 pm #9774Jeremy
KeymasterHello,
The zip file and the pictures it contains are being downloaded and preloaded normally in the projects you linked to, now that the zip file is publicly available at the URL you gave
Jeremy
December 7, 2022 at 4:49 pm #9777CogSciLanMethLab
ParticipantHello Jeremy,
Again, thank you for your help and feedback on the accessibility of the resources folder!
It now seems that the pictures are only occasionally loaded when the experiment link is opened and sometimes not. We think it is best to upload them into the PCIbex Farm account instead so that we can make sure that the images are available during experimentation at any time.
Still, thank you very much!
Best,
CogSciLanMethLab -
AuthorPosts
- You must be logged in to reply to this topic.