Open Sesame crashes on finishing experiment
Hello,
Open Sesame started crashing after the experiment has finished. I get the following error:
Traceback (most recent call last): File "C:\Program Files (x86)\OpenSesame\Lib\site-packages\libqtopensesame\qtopensesame.py", line 1011, in run_quick self.run_experiment(fullscreen=False, quick=True) File "C:\Program Files (x86)\OpenSesame\Lib\site-packages\libqtopensesame\qtopensesame.py", line 985, in run_experiment self._runner.run(fullscreen=fullscreen, quick=quick) File "C:\Program Files (x86)\OpenSesame\Lib\site-packages\libqtopensesame\runners\base_runner.py", line 272, in run ret_val = self.execute() ^^^^^^^^^^^^^^ File "C:\Program Files (x86)\OpenSesame\Lib\site-packages\libqtopensesame\runners\external_runner.py", line 100, in execute print(open(self.stdout, "r").read()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files (x86)\OpenSesame\Lib\encodings\cp1252.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 364: character maps to <undefined>
It causes everything but the console to freeze, forcing me to restart. I use version 4.0.5.
It started doing this since I updated OS Web using the console. I could do without it, too, but reinstalling OS did not help either.
Does anyone happen to know what to do about this? Many thanks in advance, it is much appreciated. :)
Comments
Hi @DavidTU ,
I have seen this error before, but it is very mysterious, and I never understood what causes or triggers it. It seems to come somewhere deep down from the Python internals.
As a workaround, you can first try to run all updates to the automatic updater within OpenSesame. If this doesn't work, installing OpenSesame through Anaconda might also resolve the issue.
I appreciate that this is a little bit like banging on a broken TV in the hope that it will work again, but since I don't understand the cause of the issue that's the best I can offer!
— Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!
Thank you for your suggestions, @sebastiaan! Will give it a try...