basic installation

PennController for IBEX Forums Support basic installation

This topic contains 9 replies, has 3 voices, and was last updated by Avatar achim 3 weeks, 5 days ago.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #5467
    Avatar
    achim
    Participant

    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?

    • This topic was modified 1 month, 1 week ago by Jeremy Jeremy. Reason: more appropriate in support
    #5470
    Jeremy
    Jeremy
    Keymaster

    Hello,

    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

    #5541
    Avatar
    achim
    Participant

    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.

    Achim

    #5544
    Jeremy
    Jeremy
    Keymaster

    Hi 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

    #5581
    Avatar
    gmzunino
    Participant

    Hi!
    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.

    #5582
    Jeremy
    Jeremy
    Keymaster

    Hi,

    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

    #5583
    Avatar
    gmzunino
    Participant

    I am on PCIbex Farm. Thanks, Jeremy, I´ll try to check that.
    Gabi

    #5585
    Jeremy
    Jeremy
    Keymaster

    You should double-check that you really have no extra file, especially no files ending with upper-case extensions, like image.PNG in Resources

    Jeremy

    #5599
    Avatar
    gmzunino
    Participant

    Hi, Jeremy.
    It seems that the problem was exactly that: upper-case in the one file name.
    Thank you so much.
    Gabi

    #5618
    Avatar
    achim
    Participant

    Hello,

    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!

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

You must be logged in to reply to this topic.