TypeError: c is undefined
Dear OS Crew,
i am exploring OSWeb at the moment and set up a very simple experiment with only the basics. It runs in OS, but not in the Browser.
I was using Win10 and Firefox. (The error message is different Opera.)
Source map error: Error: NetworkError when attempting to fetch resource.
Resource URL: file:///C:/Users/Admin/AppData/Local/Temp/tmpyf8lymj5.html
Source Map URL: vendors~osweb.1.4.0.bundle.css.map
I only used a loop, a sequence, a sketchpad, a response, and a logger. (No inlineJava_scripts, no forms)
The loop involves a variable for the images (e.g. Fig1.jpg) which is used in the sketchpad.
Second question: What's the calculation of the response_time variable? In the data it appears not to be time_Resp - time_stim which is what i had expected.
Best,
Stephan
Comments
Hi Stephan,
Is it possible to upload your experiment here, so that we can have a look?
Second question: What's the calculation of the response_time variable? In the data it appears not to be time_Resp - time_stim which is what i had expected.
The variable "response_time" is calculated as the interval in milliseconds between the start of the response interval (that is, the initiation of, for example, the
keyboard_responseitem) and the last response.For more information, see here:
Cheers,
Lotje
Did you like my answer? Feel free to

Hi Lotje,
thanks for the response on the response times. I believe that presenting the stimulus takes some time, which makes the differences. I think that would not be a problem if the canvas would be prepared in advance (as i did in python scripting), but using the drag and drop loop, loading the canvas is done within each loop. Therefore, the difference in RT is much more than the 16 ms presentation time.
I tried to load up my experiment in the first place already. It appears to be to big for an upload. I always have many pictures as stimuli. You may grab it from here now 😉
The experiment involves only the main part yet to keep it simple at the beginning.
Stephan
Hi @DahmSF ,
I noticed that in the block_
loop, you wrote the extension of the images in lower case (e.g., "Folie9.jpg", whereas in thefile poolthe extensions are written in capitals (e.g. "Folie9.JPG"). Could you try replacing the extensions in theloopitem to ".JPG" and check whether this solves the problem?A quick way to do this, is as follows:
loopitemCtrl + HOn a side note, I noticed that, in the
keyboard_responseitem, you put quotation marks around thesquare-bracket syntaxto indicate the correct response. These should be removed, like so:Hope this helps!!
Cheers,
Lotje
Did you like my answer? Feel free to

Thanks that helped.