Howdy, Stranger!

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

Supported by

Unexpected Error When Running Practice Experiment

edited January 9

Hi,

I'm new to the opensesame software so am not entirely confident when using it. When i finished the practice experiment (eye cue gazing), the software states that there is an error when i try and run the experiment. This message comes up and not sure what it means.

If anyone could help that would be great, thanks.

The experiment did not finish normally for the following reason:

Unexpected error
Details

item-stack: experiment[run].practice_loop[run].block_sequence[run].block_loop[run].trial_sequence[prepare].gaze_cue[prepare]
exception type: IOError
exception message: The picture file 'gaze_.png' does not exist
time: Mon Jan 08 17:01:14 2018
Traceback (also in debug window)

File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libqtopensesame\misc\process.py", line 150, in run
exp.run()
File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libopensesame\experiment.py", line 411, in run
self.items.execute(self.var.start)
File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libopensesame\item_store.py", line 91, in execute
self.run(name)
File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libopensesame\item_store.py", line 106, in run
self[name].run()
File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libopensesame\sequence.py", line 51, in run
self.experiment.items.run(_item)
File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libopensesame\item_store.py", line 106, in run
self[name].run()
File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libopensesame\loop.py", line 338, in run
self.experiment.items.execute(self._item)
File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libopensesame\item_store.py", line 91, in execute
self.run(name)
File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libopensesame\item_store.py", line 106, in run
self[name].run()
File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libopensesame\sequence.py", line 51, in run
self.experiment.items.run(_item)
File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libopensesame\item_store.py", line 106, in run
self[name].run()
File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libopensesame\loop.py", line 338, in run
self.experiment.items.execute(self._item)
File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libopensesame\item_store.py", line 90, in execute
self.prepare(name)
File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libopensesame\item_store.py", line 122, in prepare
self[name].prepare()
File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libopensesame\sequence.py", line 124, in prepare
self.experiment.items.prepare(_item)
File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libopensesame\item_store.py", line 122, in prepare
self[name].prepare()
File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libopensesame\sketchpad.py", line 117, in prepare
element.draw()
File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libopensesame\sketchpad_elements\_image.py", line 64, in draw
x=properties[u'x'], y=properties[u'y'], scale=properties[u'scale'])
File "C:\Program Files (x86)\OpenSesame\lib\site-packages\openexp\_canvas\xpyriment.py", line 226, in image
stim = stimuli.Picture(fname, position=(x,y))
File "C:\Program Files (x86)\OpenSesame\lib\site-packages\expyriment\stimuli\_picture.py", line 47, in __init__
unicode2str(filename)))
IOError: The picture file 'gaze_.png' does not exist


• Hi Beth,

You've probably referred to the image as gaze_[gaze_cue].png, as in the beginner tutorial, right? If so, the variable gaze_cue is, at least in some cases, an empty string, resulting in gaze_.png. In other words, you probably have an empty field somewhere in your gaze_cue column.

Does that make sense?

Cheers!
Sebastiaan

There's much bigger issues in the world, I know. But I first have to take care of the world I know.
cogsci.nl/smathot

• Okay, thanks for your help. I'll have a look over that.

Thanks,
Beth