Builder Issue: Open through .psychopy cause plug-in component become UnknownPluginComponent

Hello, everyone. This is my first time Posting here. If this content is more appropriate for GitHub, please feel free to correct me. Thanks for any comments!

Environment

OS (e.g. Win10): Win11
PsychoPy version: v2024.1.4
Standard Standalone?: yes
psychopy-visionscience version: 0.0.6

Issue

When the builder is opened through double click the .psyexp experiment file, NoiseStim component becomes an UnknownPluginComponent.

How to Repeat

  1. Build any experiment file contains at least one NoiseStim and save it to a .psyexp file.
  2. Close all psychopy windows.
  3. Open the .psyexp file by double click it.

How to Solve

For now, we can start by running psychopy builder first, then load the .psyexp file. After that, NoiseStim can be correctly identified.

Hypothesis

Based on this, I guess it’s a small bug related to the loading order.

Update:
Tested in most recent development branch origin/dev at following commit. This problem seems to be fixed.

Merge: 06f69580b 71f880072
Author: Todd Parsons <todd.e.parsons@googlemail.com>
Date:   Wed Aug 7 16:23:03 2024 +0100

According to the release history and issues, not sure which commit resolves the problem, but we can wait until next release. :smile:

About Test

With the info from Registry, when we double click, we run:

"...\Programs\PsychoPy\python.exe" "...\Programs\PsychoPy\Lib\site-packages\psychopy\app\psychopyApp.py" "*.psyexp"

So we just run it in the similar way, change both python.exe and psychopyApp to our development version. After that the problem seems to be fixed.

If it’s fixed inbetween 2024.1.4 and the dev branch (at Aug 7th) then it’s likely that 2024.2.1 will work for you as it was built not long before - give it a go from here:

1 Like

Thanks for response!

That’s exactly what happened. The newest release PsychoPy-2024.2.1post4 has already fixed it. Thanks again.