Howdy, Stranger!

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

Supported by

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

Sign In or Register to comment.