ascII
Hi,
I got this error. I think the reason is that I am using ¢ symbol in my experiment, and I am using xlsx. But I also tried csv without BOM. The opensesame was still crashed.
By the way, I got this error when I tested it in the lab with eyelink. But I would not get this error if I just run dummy code on the same computer in the lab.
Thank you all in advance! It is near the due date...
Stopped
The experiment did not finish normally for the following reason:
• Unexpected error
Details
• item-stack:experiment[run].practice_loop[run].instance_loop_practice[run].instance_sequence_prac[run].block_loop_prac[run].block_sequence_prac[run].trial_loop_prac[run].trial_sequence_prac[run].pygaze_log_prac[run]
• exception type: UnicodeEncodeError
• exception message: 'ascii' codec can't encode character u'\xa2' in position 13: ordinal not in range(128)
• time: Wed Mar 28 10:27:21 2018
Traceback (also in debug window)
File "C:\Program Files\OpenSesame\lib\site-packages\libqtopensesame\misc\process.py", line 154, in run
exp.run()
File "C:\Program Files\OpenSesame\lib\site-packages\libopensesame\experiment.py", line 439, in run
self.items.execute(self.var.start)
File "C:\Program Files\OpenSesame\lib\site-packages\libopensesame\item_store.py", line 103, in execute
self.run(name)
File "C:\Program Files\OpenSesame\lib\site-packages\libopensesame\item_store.py", line 122, in run
self[name].run()
File "C:\Program Files\OpenSesame\lib\site-packages\libopensesame\sequence.py", line 51, in run
self.experiment.items.run(_item)
File "C:\Program Files\OpenSesame\lib\site-packages\libopensesame\item_store.py", line 122, in run
self[name].run()
File "C:\Program Files\OpenSesame\lib\site-packages\libopensesame\loop.py", line 341, in run
self.experiment.items.execute(self._item)
File "C:\Program Files\OpenSesame\lib\site-packages\libopensesame\item_store.py", line 103, in execute
self.run(name)
File "C:\Program Files\OpenSesame\lib\site-packages\libopensesame\item_store.py", line 122, in run
self[name].run()
File "C:\Program Files\OpenSesame\lib\site-packages\libopensesame\loop.py", line 341, in run
self.experiment.items.execute(self._item)
File "C:\Program Files\OpenSesame\lib\site-packages\libopensesame\item_store.py", line 103, in execute
self.run(name)
File "C:\Program Files\OpenSesame\lib\site-packages\libopensesame\item_store.py", line 122, in run
self[name].run()
File "C:\Program Files\OpenSesame\lib\site-packages\libopensesame\sequence.py", line 51, in run
self.experiment.items.run(_item)
File "C:\Program Files\OpenSesame\lib\site-packages\libopensesame\item_store.py", line 122, in run
self[name].run()
File "C:\Program Files\OpenSesame\lib\site-packages\libopensesame\loop.py", line 341, in run
self.experiment.items.execute(self._item)
File "C:\Program Files\OpenSesame\lib\site-packages\libopensesame\item_store.py", line 103, in execute
self.run(name)
File "C:\Program Files\OpenSesame\lib\site-packages\libopensesame\item_store.py", line 122, in run
self[name].run()
File "C:\Program Files\OpenSesame\lib\site-packages\libopensesame\sequence.py", line 51, in run
self.experiment.items.run(_item)
File "C:\Program Files\OpenSesame\lib\site-packages\libopensesame\item_store.py", line 122, in run
self[name].run()
File "C:\Program Files\OpenSesame\lib\site-packages\libopensesame\loop.py", line 341, in run
self.experiment.items.execute(self._item)
File "C:\Program Files\OpenSesame\lib\site-packages\libopensesame\item_store.py", line 103, in execute
self.run(name)
File "C:\Program Files\OpenSesame\lib\site-packages\libopensesame\item_store.py", line 122, in run
self[name].run()
File "C:\Program Files\OpenSesame\lib\site-packages\libopensesame\sequence.py", line 51, in run
self.experiment.items.run(_item)
File "C:\Program Files\OpenSesame\lib\site-packages\libopensesame\item_store.py", line 122, in run
self[name].run()
File "C:\Program Files\OpenSesame\share\opensesame_plugins\pygaze_log\pygaze_log.py", line 52, in run
info[u'value'])
File "C:\Program Files\OpenSesame\lib\site-packages\pygaze_eyetracker\baseeyetracker.py", line 319, in log_var
self.log(u"var %s %s" % (safe_decode(var), safe_decode(val)))
File "C:\Program Files\OpenSesame\lib\site-packages\pygaze_eyetracker\libeyelink.py", line 246, in log
pylink.getEYELINK().sendMessage(msg)
File "c:\python27\Lib\site-packages\pylink\eyelink.py", line 157, in sendMessage
UnicodeEncodeError: 'ascii' codec can't encode character u'\xa2' in position 13: ordinal not in range(128)
Comments
I used images instead of symbols. Problem solved.