Psychopy encountered an unhandled error

Error occur when I open the psychopy, here are the details:

Traceback (most recent call last):
File “E:\Psychopy\Lib\site-packages\psychopy\app\psychopyApp.py”, line 104, in
main()
File “E:\Psychopy\Lib\site-packages\psychopy\app\psychopyApp.py”, line 100, in main
start_app()
File “E:\Psychopy\Lib\site-packages\psychopy\app\psychopyApp.py”, line 28, in start_app
app = PsychoPyApp(0, showSplash=showSplash)
File “E:\Psychopy\lib\site-packages\psychopy\app_psychopyApp.py”, line 226, in init
self.onInit(testMode=testMode, **kwargs)
File “E:\Psychopy\lib\site-packages\psychopy\app_psychopyApp.py”, line 359, in onInit
self.showCoder(fileList=scripts)
File “E:\Psychopy\lib\site-packages\psychopy\app_psychopyApp.py”, line 536, in showCoder
files=fileList, app=self)
File “E:\Psychopy\lib\site-packages\psychopy\app\coder\coder.py”, line 1269, in init
self.setCurrentDoc(filename, keepHidden=True)
File “E:\Psychopy\lib\site-packages\psychopy\app\coder\coder.py”, line 2285, in setCurrentDoc
self.currentDoc.analyseScript()
File “E:\Psychopy\lib\site-packages\psychopy\app\coder\coder.py”, line 1017, in analyseScript
self.coder.structureWindow.refresh()
File “E:\Psychopy\lib\site-packages\psychopy\app\coder\sourceTree.py”, line 171, in refresh
defType, defName = lineTokens[:2]
ValueError: not enough values to unpack (expected 2, got 1)

Hello,

Were you able to resolve this? I’m currently having the same issue.

Thanks,
Brooke