Error Message from PsychoPy3 2020.2.5 Win64 Builder

\

OS: Win7
PsychoPy version: PsychoPy3 2020.2.5 Win64
Standard Standalone? Yes

Hello!~ I was trying to run a trial, clicked the ‘Run’ button, and the following error message came up. Could anyone kindly help out? Thanks in advance!

Traceback (most recent call last):

File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\builder\builder.py”, line 1066, in runFile

self.app.runner.panel.runLocal(event)

File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\runner\runner.py”, line 559, in runLocal

exp=self.loadExperiment())

File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\scripts\psyexpCompile.py”, line 73, in generateScript

compileScript(infile=exp, version=None, outfile=filename)

File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\scripts\psyexpCompile.py”, line 242, in compileScript

_makeTarget(thisExp, outfile, targetOutput)

File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\scripts\psyexpCompile.py”, line 221, in _makeTarget

script = thisExp.writeScript(outfile, target=targetOutput)

File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\experiment_experiment.py”, line 172, in writeScript

localDateTime = data.getDateStr(format="%B %d, %Y, at %H:%M")

File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\data\utils.py”, line 626, in getDateStr

now = time.strftime(format, time.localtime())

ValueError: embedded null byte

It looks like for whatever reason, time.localtime() is returning None. Do you have any custom packages installed, or any variables named time which might have overwritten it?

Thank you so much for your reply! It could be a problem with my own computer rather than PsychoPy. I will (try to) look into it!~