Howdy, Stranger!

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

Supported by

[open] Failed to parse line "draw textline 0.0 0.0 "as displayed on the image below:".

edited August 2014 in OpenSesame

I created an experiment that was running perfectly on a MacBook Pro (OS X), OpenSesame 0.27.4.

I added a line of text to a sketchpad item… an error message came up and now I can’t open the experiment. I simply get the following error message (see screenshot of the error message below too):

Failed to parse line "draw textline 0.0 0.0 "as displayed on the image below:". Is there a closing quotation missing?

Any ideas what I need to do in order to open my experiment again?

Any help would be much appreciated!

image

Comments

  • edited 6:49PM

    Hi,

    It looks like the definition of a sketchpad element became corrupted. To fix this, you can open the script in a text editor, find the offending line, and fix it. Presumably, you will notice that there's something wrong with the quotation, i.e. one extra/ missing quotation mark.

    If your experiment is in .opensesame.tar.gz format, you can first extract the experiment file with a tool like 7-zip, or an analogous tool for Mac OS that can exract .tar.gz archives. You will see that the script is in there in plain-text format.

    So it's fixable, but it should not have happened. Can you find a way to reproduce this problem reliably? If so, I can check if it still happens with more recent versions of OpenSesame (2.9.0 is currently under development).

    Cheers!
    Sebastiaan

  • edited 6:49PM

    Hi Sebastiaan,
    Thanks for that!
    I started a new experiment and copy and pasted the script (after unpacking and opening in TextEdit on a Mac) into the new experiment (after removing the sketchpad element that had become corrupted).
    It’s back up and running now.
    Many thanks!

Sign In or Register to comment.