opensesamerun error with debug option -d
Hello,
Running an opensesame experiment from the command line works fine:
opensesame-bin-path/python opensesame-bin-path/opensesamerun experiment-path/experiment.osexp
Adding the debug flag (either -d or --debug):
opensesame-bin-path/python opensesame-bin-path/opensesamerun experiment-path/experiment.osexp -d
results in the error:
000000 debug mode enabled
Traceback (most recent call last):
File "/Applications/OpenSesame.app/Contents/Resources/bin/opensesamerun", line 22, in
main.opensesamerun()
File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/site-packages/libqtopensesame/main.py", line 162, in opensesamerun
experiment, experiment_path=experiment_path)
UnboundLocalError: local variable 'experiment_path' referenced before assignment
Just reporting what seems like a bug to me. Running OpenSesame 3.2.1 on Mac OS High Sierra with python 2.7.
Comments
Hi Dan,
Thanks again for reporting this! This is indeed a bug, and it's been fixed for 3.2.2.
Cheers!
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!