May 28, 2020 at 3:10 pm #5467
Sorry, a very basic installation question:
I installed the latest version of ibex on my stand-alone server (macOS, apache)
The default experiment runs normally (experiment.html)
I added PennController.js to th folder js_includes.
I restarted the default experiment: no difference.
What do I need to do in order to activate PennController on my machine?
May 28, 2020 at 4:22 pm #5470
- This topic was modified 1 month, 1 week ago by Jeremy. Reason: more appropriate in support
PennController is activated as soon as you add PennController.js to the js_includes folder. If you didn’t change anything in the main script file of your experiment, you won’t see any difference, as PennController should be 100% compatible with native Ibex.
JeremyMay 29, 2020 at 8:57 am #5541
Thanks, Jeremy. So I did this and followed the Tutorial.
– Copied PennController to js_includes
– Copied the other files in data_includes and chunk_includes
– inserted the sample code in main.js, e.g.
newTrial( newText("The fish swim in a tank which is perfectly round") .print() , newImage("2fishRoundTank.png") .print() , newKey(" ") .wait() )
– Opened experiment.html in browser
– Display “Loading, please wait…” plus the Debug window, but nothing else.
– No errors show up in the debug window. If I introduce errors in main.js the debug window gives an error message, so main.js seemms to be interpreted alright.
So I feel I’m almost there, but I don’t understand why nothing else shows up on my page.
Any help would be greatly appreciated.
AchimMay 29, 2020 at 11:12 am #5544
Did you make sure to place your resource files (eg. 2fishRoundTank.png) in the www folder, as mentioned here? Using chunk_includes will only work for CSV tables and HTML files.
JeremyJune 4, 2020 at 10:17 am #5581
I am having the same problem: “Display “Loading, please wait…” plus the Debug window, but nothing else.”
It happens even without any extra file. A week ago I was able to run a very similar script without any problem.June 4, 2020 at 10:51 am #5582
Are you running a local installation, or are you running your experiment on the (PC)Ibex Farm?
You can try to open the web console to check for any error message: https://kb.mailster.co/how-can-i-open-the-browsers-console/
JeremyJune 4, 2020 at 11:22 am #5583
I am on PCIbex Farm. Thanks, Jeremy, I´ll try to check that.
GabiJune 4, 2020 at 11:51 am #5585
You should double-check that you really have no extra file, especially no files ending with upper-case extensions, like image.PNG in Resources
JeremyJune 7, 2020 at 12:09 pm #5599
It seems that the problem was exactly that: upper-case in the one file name.
Thank you so much.
GabiJune 11, 2020 at 7:52 am #5618
that was it: I had *copied* resource files from chunk_includes to www, not *moved*.
Being an Ibex newbie I’m sure I’ll be back with other questions, but for now it works!
Thank you for help your patience!
You must be logged in to reply to this topic.