Howdy, Stranger!

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

Supported by

Extension after_experiment misbehaved on event end_experiment

Hi, everybody. I have some problem with running opensesame experiments.

On closing of almost every experiment a window appears with the message: "Extension after_experiment misbehaved on event end_experiment (see debug window for stack trace)"

In debug window I see this message:

"Traceback:

 File "E:\Programs\OpenSesame38\OpenSesame\Lib\site-packages\libqtopensesame\extensions\_extension_manager.py", line 181, in fire

  ext.fire(event, **kwdict)

 File "E:\Programs\OpenSesame38\OpenSesame\Lib\site-packages\libqtopensesame\misc\base_subcomponent.py", line 62, in fire

  getattr(self, u'event_%s' % event)(**kwdict)

 File "E:\Programs\OpenSesame38\OpenSesame\share\opensesame_extensions\after_experiment\after_experiment.py", line 51, in event_end_experiment

  self.handle_success()

 File "E:\Programs\OpenSesame38\OpenSesame\share\opensesame_extensions\after_experiment\after_experiment.py", line 154, in handle_success

  if self._extra_data_files:

 File "E:\Programs\OpenSesame38\OpenSesame\share\opensesame_extensions\after_experiment\after_experiment.py", line 102, in _extra_data_files

  path for path in data_files

TypeError: 'FailedToGetWorkspaceVariable' object is not iterable"


opensesame version 3.3.8 on Windows 10

What can I do to correct the wrong behavior of after_experiment extension?

P.S. On my computer I have several programs with python. Might this error be the result of conflict between them?


Thank you in advance,

Alexander

Comments

  • Hi Alexander,

    How have you installed Opensesame?

    I don't really know what has caused the issue, but assuming that your installation works fine, it could be that something that you do within your experiment, broke some internal function of Opensesame. Perhaps this discussion is relevant for you?

    Eduard

    Buy Me A Coffee

  • .Eduard, thank you for your attention to my problem. I have installed OpensSesame 3.7.1 version first with the windows installer and later I have installed the 3.8.1 version into a separate folder. I did not remove the previous version. After receiving your response I have removed (with registry cleaning) both versions and have installed 3.7 anew. I got the same error messages. I use experiments from tutorials. No complications just ordinary procedures.

  • Hi,

    As I said, I don't really know enough about these things to help you other than giving some generic advice, but perhaps @sebastiaan can help you.

    Sorry,

    Eduard

    Buy Me A Coffee

  • Hi @arsaa and @eduard ,

    I suspect that there is some variable that is defined during the experiment that cannot be transferred from the experiment process to the GUI process. This should be properly dealt with, but this clearly doesn't work properly in this case. So that's simply a bug in OpenSesame, and I just filed an issue for it.

    Fortunately though, this bug should be harmless. It's ugly, but only affects the 'Experiment finished' screen that is shown when an experiment is finished.

    — Sebastiaan

  • .Yes, Sebastaan, it is harmless. I converted several experiments in OSWeb into Jatos and everything was working properly. Thank you Sebastaan and Eduard for your attention.

Sign In or Register to comment.