problems with data logging after experiment
Hello,
I am using a Working Memory assessment battery on OpenSesame (not created by me), and I am having problems with the data logging process. The experiment runs smoothly, no problems at all. However, the columns in the the .csv file that is supposed to log participants' data only contain 'NA' instead of actual numbers.
After the experiment is done and I try to click on "open logfile", I get this message:
extension after_experiment misbehaved on event after_experiment_open_logfile (see debug window for stack trace)
According to the debug window, an extension error occurs when I try to save the data in the appropriate log file. The traceback on the Python window shows this:
Traceback:
File "/Applications/OpenSesame.app/Contents/Resources/lib/python3.7/site-packages/libqtopensesame/extensions/_extension_manager.py", line 181, in fire
ext. fire(event, **kwdict)
File "/Applications/OpenSesame.app/Contents/Resources/lib/python3.7/site-packages/libqtopensesame/misc/base_subcomponent.py", line 62, in fire getattr (self, 'event_%s' % event) (**kwdict)
File "/Applications/OpenSesame.app/Contents/Resources/share/opensesame_extensions/after_experiment/after_experiment.py", line 141, in event_after_experiment_open_logfile
misc. open_url(self._logfile)
File "/Applications/OpenSesame.app/Contents/Resources/lib/python3.7/site-packages/libopensesame/misc.py", line 330, in open_url
if url.startswith(u'http://') or url.startswith(u'https://'):
AttributeError: 'FailedToGetWorkspaceVariable' object has no attribute 'startswith'
I think the problem occurs because I am trying to save my data on a Mac computer file that starts with '/Users/User' instead of an online file that uses an 'http://' prefix. But I don't know how to fix the problem exactly.
I have encountered the same issue both in the Mac and Windows versions of the battery. I have not changed anything in the battery's script on OpenSesame, and I have run the experiment in different computers; the same issue has occurred every time.
Has anyone encountered a similar problem before and knows how to fix it?
Thank you very much in advance.
Comments
Hi @Rakou_st
Are you referring to the OpenWMBattery? If so, I noticed that their readme.md file contains several important steps and notes for running the task properly — including a dedicated script to preprocess the raw data files, as well as other important setup instructions.
Have you tried reaching out to the authors of the battery? Since the issue occurs on multiple machines, it could be related to the installation or setup process, though it’s hard to say for sure.
Let me know,
Claire
Check out SigmundAI.eu for our OpenSesame AI assistant! 🤖
Hello,
Thank you for reaching out! Yes, I am using the OpenWMBattery and I have reviewed all the relevant documents while setting up the experiment. Unfortunately, the problem has persisted.
I have also reached out to the authors but unfortunately I have not gotten a reply back yet.
Kind regards,