Error message help--urgent!

I run into this problem everytime I want to open an PyschoPy experiment (builder), does anyone know what’s the issue? I’ll present my experiment to my supervisor tomorrow, but I have no idea how to fix it. Help!!!
The followings are the error messages:

File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app_psychopyApp.py”, line 864, in onIdle
idle.doIdleTasks(app=self)
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\idle.py”, line 120, in doIdleTasks
logging.flush()
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\logging.py”, line 300, in flush
logger.flush()
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\logging.py”, line 286, in flush
target.write(formatted[thisEntry] + ‘\n’)
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\logging.py”, line 206, in write
stream.write(txt)
File “C:\Program Files\PsychoPy3\lib\encodings\cp1252.py”, line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: ‘charmap’ codec can’t encode characters in position 54-55: character maps to

Could you share your .psyexp file? I’d wager there’s a character in there somewhere (maybe the value of a Text component?) which PsychoPy doesn’t know how to handle

Hi, Thanks very much for your response! I have attached my psyexp file below. SSOT.psyexp (15.5 KB)

Strangely, it seems to open fine for me. Are you using the latest version (2020.2.4) of Psychopy?

I notice a few &# characters in there, if these are the culprit then you can remove these by opening the .psyexp file in a text editor (e.g. Notepad) and then deleting any instance of &# in the text, that might help.

Yes, I’m using the latest version. I reinstalled and restarted my computer, and opened some other experiment files, then I opened mine, somehow the issue disappeared! I don’t know if the same issue will occur, but I’ll take notes for your advice, in case I encounter the same issue.
Thank you very much for your quick response and suggestions! Really appreciate it! :+1::grinning:

1 Like