Problem running experiment: could not find item
Hi!
I am trying to make task on working memory. I am in a bit of problem here. Earlier the experiment wont start and will ran into an error
"The variable 'letters' does not exist. Tip: use the variable inspector to see the list of variables"
I searched the forum and found a solution
http://forum.cogsci.nl/index.php?p=/discussion/2908/variable-does-not-exist
After adding an inline script the problem disappeared however, I am now facing a new problem.
Again the experiment wont start and would run into an error saying "could not find item ", which is called by loop item 'new_loop1'
I have attached my experiment file.
Please can anyone help me in this
Thanks
Vatsal
Comments
Hi Vatsal,
The error message makes it actually quite clear. It says that the item,
new_loop_1does not exist. I agree, that this error message is a little weird given that there is no trace of this item ever existing. However, it is quite easy to fix. If the experiment wants to have this item, then you should provide it. So, basically add aloopitem, rename it, and let thenew_sequencebe part of it. See also here. I did it already in the script that is attached.Btw. Your experiment still won't do what you want it to do, but this is mostly because you haven't defined your letters properly.
Hope this helps.
Eduard
@sebastiaan, do you think this is something to be fixed in future versions of Opensesame? It appears to be a little funny, that OpenSesame demands an item that doesn't exist any more, and won't work until it is created. More so, it needs to have the same label.
Hey Eduard!
Thanks for responding. I am unable to run the experiment you sent me. There seems to be an error while opening the file:
Traceback (most recent call last):
File "dist\libqtopensesame\qtopensesame.py", line 694, in open_file
File "dist\libqtopensesame\items\experiment.py", line 153, in build_item_tree
File "dist\libqtopensesame\widgets\tree_general_item.py", line 54, in init
File "dist\libqtopensesame\items\sequence.py", line 127, in build_item_tree
File "dist\libqtopensesame\widgets\tree_item_item.py", line 62, in init
File "dist\libqtopensesame\misc\qtitem_store.py", line 177, in used
File "dist\libqtopensesame\items\sequence.py", line 167, in children
File "dist\libqtopensesame\items\loop.py", line 647, in children
File "dist\libqtopensesame\items\sequence.py", line 167, in children
File "dist\libqtopensesame\items\loop.py", line 647, in children
File "dist\libqtopensesame\items\sequence.py", line 167, in children
File "dist\libqtopensesame\items\loop.py", line 647, in children
File "dist\libqtopensesame\items\sequence.py", line 167, in children
File "dist\libqtopensesame\items\loop.py", line 647, in children
File "dist\libqtopensesame\items\sequence.py", line 167, in children
File "dist\libqtopensesame\items\loop.py", line 647, in children
File "dist\libqtopensesame\items\sequence.py", line 167, in children
File "dist\libqtopensesame\items\loop.py", line 647, in children
File "dist\libqtopensesame\items\sequence.py", line 167, in children
File "dist\libqtopensesame\items\loop.py", line 647, in children
File "dist\libqtopensesame\items\sequence.py", line 167, in children
File "dist\libqtopensesame\items\loop.py", line 647, in children
File "dist\libqtopensesame\items\sequence.py", line 167, in children
File "dist\libqtopensesame\items\loop.py", line 647, in children
File "dist\libqtopensesame\items\sequence.py", line 167, in children
File "dist\libqtopensesame\items\loop.py", line 647, in children
File "dist\libqtopensesame\items\sequence.py", line 167, in children
File "dist\libqtopensesame\items\loop.py", line 647, in children
File "dist\libqtopensesame\items\sequence.py", line 167, in children
File "dist\libqtopensesame\items\loop.py", line 647, in children
File "dist\libqtopensesame\items\sequence.py", line 167, in children
File "dist\libqtopensesame\items\loop.py", line 647, in children
File "dist\libqtopensesame\items\sequence.py", line 167, in children
File "dist\libqtopensesame\items\loop.py", line 647, in children
File "dist\libqtopensesame\items\sequence.py", line 167, in children
File "dist\libqtopensesame\items\loop.py", line 647, in children
File "dist\libqtopensesame\items\sequence.py", line 167, in children
File "dist\libqtopensesame\items\loop.py", line 647, in children
File "dist\libqtopensesame\items\sequence.py", line 167, in children
File "dist\libqtopensesame\items\loop.py", line 647, in children
File "dist\libqtopensesame\items\sequence.py", line 167, in children
File "dist\libqtopensesame\items\loop.py", line 647, in children
File "dist\libqtopensesame\items\sequence.py", line 167, in children
File "dist\libqtopensesame\items\loop.py", line 647, in children
File "dist\libqtopensesame\items\sequence.py", line 167, in children
File "dist\libqtopensesame\items\loop.py", line 647, in children
File "dist\libqtopensesame\items\sequence.py", line 167, in children
File "dist\libqtopensesame\items\loop.py", line 647, in children
File "dist\libqtopensesame\items\sequence.py", line 167, in children
File "dist\libqtopensesame\items\loop.py", line 647, in children
File "dist\libqtopensesame\items\sequence.py", line 167, in children
File "dist\libqtopensesame\items\loop.py", line 647, in children
File "dist\libqtopensesame\items\sequence.py", line 167, in children
File "dist\libqtopensesame\items\loop.py", line 647, in children
File "dist\libqtopensesame\items\sequence.py", line 167, in children
File "dist\libqtopensesame\items\loop.py", line 647, in children
File "dist\libqtopensesame\items\sequence.py", line 167, in children
File "dist\libqtopensesame\items\loop.py", line 647, in children
File "dist\libqtopensesame\items\sequence.py", line 167, in children
I am using version 3 of the opensesame.
From here on I am going to discuss the issue with this task on this post of mine.
Thanks again
Vatsal