PennController for IBEX › Forums › Support › basic installation
Tagged: installation, macos, manual
- This topic has 9 replies, 3 voices, and was last updated 4 years, 8 months ago by
achim.
-
AuthorPosts
-
May 28, 2020 at 3:10 pm #5467
achim
ParticipantSorry, 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?
-
This topic was modified 4 years, 8 months ago by
Jeremy. Reason: more appropriate in support
May 28, 2020 at 4:22 pm #5470Jeremy
KeymasterHello,
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.
Jeremy
May 29, 2020 at 8:57 am #5541achim
ParticipantThanks, 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.Achim
May 29, 2020 at 11:12 am #5544Jeremy
KeymasterHi Achim,
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.
Jeremy
June 4, 2020 at 10:17 am #5581gmzunino
ParticipantHi!
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 #5582Jeremy
KeymasterHi,
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/
Jeremy
June 4, 2020 at 11:22 am #5583gmzunino
ParticipantI am on PCIbex Farm. Thanks, Jeremy, I´ll try to check that.
GabiJune 4, 2020 at 11:51 am #5585Jeremy
KeymasterYou should double-check that you really have no extra file, especially no files ending with upper-case extensions, like image.PNG in Resources
Jeremy
June 7, 2020 at 12:09 pm #5599gmzunino
ParticipantHi, Jeremy.
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 #5618achim
ParticipantHello,
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!
-
This topic was modified 4 years, 8 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.