Forum Replies Created
-
AuthorPosts
-
CarlosParticipant
Hello, Jeremy,
Thank you for your reply. Little did I suppose that there had been DDoS attacks… I really appreciate your efforts to restore the server.
As you advised, I would like to host my experiments on my own server too, and I understand that csv files and multimedia files require different folders to be uploaded.
I would like to thank you again for all your time and effort in maintaining PCIbex.
Best,
Carlos
CarlosParticipantHi, Jeremy,
Thank you for your quick reply and really helpful advice! I haven’t notice that the participants may be able to see the source of the experiment… Thank you for letting me know that! Among other things, I really appreciate your code! The code works fine in my experiment, too!
Carlos
CarlosParticipantJeremy said:
Note that I replaced s: with q: in the Question controller, but that wouldn’t make the experiment crash anyway
However, this replacement (i.e. using
q: row.Sentence
) will show nothing with PennController 2.0, at least from my browser, Chrome Ver 100.0.4896.60(Official Build, 64bit, in normal mode [not in incognito mode]). Does anybody replicate the behaviour from the following link?: https://farm.pcibex.net/r/VfHNoP/PennController.ResetPrefix(null) // Keep here ParticipantID = GetURLParameter("id") PennController.Template("final_pilot_03_cnp_subj_items_all_lists.csv", row => PennController("trials", defaultText .settings.center() .print() , //q: row.Sentence will show nothing //s: row.Sentence will show the question and judgement options newController("AcceptabilityJudgment", {q: row.Sentence, as: ["1", "2", "3", "4", "5", "6", "7"], presentAsScale: true, leftComment: "very bad", rightComment: "very good"}) .print() .log() .wait() .remove() , (row.Question != "NA" ? newController("Question", {q: row.Question, as: ["Yes", "No"], hasCorrect: row.Answer}) .print() .log() .wait() .remove() : {}) ) .log("ParticipantID", ParticipantID) .log("Group", row.Group) .log("UniqID", row.UniqID) .log("Sentence", '"' + row.Sentence + '"') .log("Question", '"' + row.Question + '"') .log("Answer", row.Answer) );
September 27, 2021 at 12:29 am in reply to: Translation for the explanatory messages of eye-tracking module #7314CarlosParticipantHi Jeremy,
I found that the messages were defined in the original Ibex commands, and that we can change them following the commands described here: https://github.com/addrummond/ibex/blob/master/docs/manual.md#miscellaneous–options
Sorry for my silly question…
Carlos
September 25, 2021 at 5:43 am in reply to: Translation for the explanatory messages of eye-tracking module #7312CarlosParticipantHi Jeremy,
Related to the topic, I would like to translate the following messages, which do not appear in
PennController.js
. Where are they written?Sending results to the server…/
(defined in
undefined (PennController)
in Debug’s Sequence tab)The results were successfully sent to the server. Thanks!
(defined in
null (__SendResults__)
in Debug’s Sequence tab)Carlos
- This reply was modified 3 years, 1 month ago by Carlos. Reason: Add where the messages can be found
CarlosParticipantHi Jeremy,
There persists difficulties to operate WebGazer 2.1.0 on PCIbex, but thank you. I’ll keep working around the issue.
Carlos
CarlosParticipantHi Jeremy,
1. Unknown Cookies
When I tried a self-paced reading experiment, I found, by Google Chrome Developer Tool, cookies called
_pcibexfarm_session
andTEST
, both of which were fromfarm.pcibex.net
. Moreover, by the cookie indicator on Google Chrome (an icon of eye on the right side of the search box),
I found that unknown six third party cookies were blocked when I turned on the blocking function.2. Webgazer’s TypeError
When I tried a self-paced reading experiment, no error related to WebGazer occurred. Specifically, I could not find the following error:
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading '0') at ridgeWeightedReg_reg.RidgeWeightedReg.predict (webgazer.js:138258) at getPrediction (webgazer.js:138724) at async loop (webgazer.js:138780)
Carlos
CarlosParticipantWhen I block the third party cookies, both your example (EyeTracker_webgazer210) and my own project fail to run with the same errors reported earlier. When I toggle Chrome Developer Tools (F12 on Windows/Cmd + Opt + I on Mac) on the calibration screen, I found the following error message. What’s going on here…?
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading '0') at ridgeWeightedReg_reg.RidgeWeightedReg.predict (webgazer.js:138258) at getPrediction (webgazer.js:138724) at async loop (webgazer.js:138780)
CarlosParticipantHi Jeremy,
It’s weird… PCIbex does have a cookie called
_pcibexfarm_session
as you told when I inspected by this way. However, the cookie indicator on Google Chrome (an icon of eye on the right side of the search box) tells that the browser blocks unknown seven third party cookies when the blocking function turns on…CarlosParticipantHi Jeremey,
Thank you for sharing me the URL! I tried your experiments two times, and now I am able to run your experiment and my own without problem. I found that my browser disabled the third party cookies when I visit pcibex.net domain. Once enabled, the experiments successfully run!
The cookie permission button on the browser is small and hard to find sometimes. If PCIbex could present a popup to allow the use of third party cookies, it would be very useful. I would be grateful if you consider the implementation of this kind of functionality.
September 19, 2021 at 8:19 am in reply to: Translation for the explanatory messages of eye-tracking module #7282CarlosParticipantHi Jeremy,
I modified PennController.js as you suggested, and I successfully changed the texts as I wanted! I am grateful for your help and suggestion!
Carlos
September 18, 2021 at 2:24 am in reply to: Translation for the explanatory messages of eye-tracking module #7273CarlosParticipantHello, Jeremy,
Thank you for your reply. I tried your code, and successfully replaced the original English texts with texts in various other languages (e.g. in Japanese;
計測には,機器調整スコアが最低$2点必要ですが,現在のスコアは$1点です。
). However, I failed to modify the style of<p>
tags (e.g. I could not replace<p>
with<p style='width:30em'>
). Is it possible to modify any HTML tags using your code, or should I directly rewrite PennElement_eyetracker.js and place it in script folder of my project?replaceTexts.set( "<p>It looks like we were not able to precisely calibrate the tracker:", "<p style='width:30em'>Il semble que nous n'avons pas pu calibrer le tracker précisément" ).set( /You calibration score is (\d+) and you need at least (\d+)/, "計測には,機器調整スコアが最低$2点必要ですが,現在のスコアは$1点です。" )
Carlos
-
AuthorPosts