| Reference | Downloads | Github

Can't access experiment settings dialog

MacOS, PsychoPy v2020.1.2 Standalone

I disabled the participant number dialog because I wanted to randomly assign participant numbers on Pavlovia. However, I am currently unable to test locally as the data filename wants to access this expinfo.

However, I can’t open the experiments settings dialog, so I am unable to either change the data filename or re-apply the participant number box. I reset my settings from the builder via preferences, as I can’t find the .cfg file for the life of me. The experiment settings dialog works in other and new experiments, so it is an issue with this particular one.

The full traceback is as follows:

Traceback (most recent call last):
  File "/Applications/", line 2202, in setExperimentSettings
  File "/Applications/", line 1806, in __init__
  File "/Applications/", line 510, in __init__
    ctrls = self.addCategoryOfParams(theseParams, parent=page)
  File "/Applications/", line 624, in addCategoryOfParams
  File "/Applications/", line 752, in addParam
  File "/Applications/", line 139, in __init__
    parent, val, order=['Field', 'Default'])
  File "/Applications/", line 530, in __init__
    raise AttributeError(msg)
AttributeError: The initial value for a ListWidget must be a list of dicts

Did removing participant info mess up said list, and would anyone know how to restore it please?

I have a suggestion which I’ve put in my crib sheet. Please let me know if it works.

Thanks, I wish I’d read that sooner; but I’ll add it to my team’s resources if you don’t mind!

For now, I’ve found a workaround by opening coding view and adding expInfo['participant'] = 1 as a dummy for local testing, but it’s less than ideal.

Wouldn’t adding?participant=1 to the URL you give your team be easier?

I’d like my crib sheet to be seen as widely so you’re welcome to link to it from your resources.

1 Like