Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

!Application Error

Hi,

I have uploaded a zipped dot-prob program file to Jatos . After one trial, this message appeares:

Please could you kindly advice how to fix the error?


Peace,

Masoud

Comments

  • Hi Masoud,

    This error by itself is not informative. But you can find information about how to debug OSWeb experiments here:

    In a nutshell, first make sure that the experiment runs on the desktop. And also make sure that you're running the latest version of OSWeb (currently 1.3.7). Then, if the experiment still crashes, you can post the error message here, taken from the browser console as described under the link above.

    Cheers!

    Sebastiaan

  • Dear Sebastian

    Thanks for the reply.

    The program runs well in the OS but not on the browser.

    Please have a look at a copy of the 7 error messages:


    tmpixyack.html:35 OSWeb has stopped running due to a fatal error.

    addError @ tmpixyack.html:35

    tmpixyack.html:35 Script parsing error: Unexpected token

    addError @ tmpixyack.html:35

    tmpixyack.html:35 OSWeb has stopped running due to a fatal error.

    addError @ tmpixyack.html:35

    tmpixyack.html:35 Script parsing error: Unexpected token

    addError @ tmpixyack.html:35

    tmpixyack.html:35 OSWeb has stopped running due to a fatal error.

    addError @ tmpixyack.html:35

    tmpixyack.html:35 Script parsing error: Unexpected token

    addError @ tmpixyack.html:35

    tmpixyack.html:35 Uncaught TypeError: Cannot read property 'body' of null

      at PythonParser._run_statement (tmpixyack.html:35)

      at PythonWorkspace._eval (tmpixyack.html:35)

      at Sequence.run (tmpixyack.html:35)

      at KeyboardResponse._complete (tmpixyack.html:35)

      at KeyboardResponse._complete (tmpixyack.html:35)

      at Events.proceed (tmpixyack.html:35)

      at Events._time (tmpixyack.html:35)

      at Psa.emit (tmpixyack.html:111)

      at Qsa.update (tmpixyack.html:111)

      at Qsa._tick (tmpixyack.html:111)


  • Hi Masoud,

    Right, I see. You're using Python-style conditional statements and these are not supported by OSWeb. Fortunately, you should be able to rewrite them to regular OpenSesame-style conditional statements. For example (Python style):

    =var.correct == 1
    

    Would become (OpenSesame style):

    [correct] = 1
    

    Hope that's useful!

    Sebastiaan


  • Dear Sebastiann


    Thousands of thanks,

    Masoud 🌹

Sign In or Register to comment.