| Reference | Downloads | Github

Cannot open custom code

OS (e.g. Win10):

PsychoPy version (e.g. 1.84.x):

Standard Standalone? (y/n)

What are you trying to achieve?:
To open my custom code in builder

What did you try to make it work?:
I haven’t. I have no idea why this isn’t working.

What specifically went wrong when you tried that?:
This is the error I received when I tried to open my custom code in builder:

  File "C:\Program Files (x86)\PsychoPy3\lib\site-packages\psychopy\app\builder\", line 190, in OnMouse
  File "C:\Program Files (x86)\PsychoPy3\lib\site-packages\psychopy\app\builder\", line 546, in editComponentProperties
  File "C:\Program Files (x86)\PsychoPy3\lib\site-packages\psychopy\app\builder\dialogs\", line 91, in __init__
    _codeTypes.index(self.params['Code Type']))
ValueError: <psychopy.experiment.params.Param object at 0x000002109AFBF780> is not in list

If you have an experiment from 2020 code components won’t open in version 3 because of the auto translate

1 Like