MacOS 14.5:
PsychoPy version 2024.1.4:
Standard:
Using an experiment created under 2023.2.3
uninstalling / reinstalling plugin
tldr; I had used the Advanced Vision Science plugin to generate some colored noise masks in 2023.2.3, which worked fine. After upgrading to 2024.1.4, stimuli from the Advanced Vision Science module are no longer available in the Components. The Advanced Vision Science plugin is marked as installed and cannot be uninstalled or reinstalled.
Any help on this would be greatly appreciated. For details see the long version below.
UPDATE
This was due to a bug in that specific version (0.0.5) of the advanced visionscience plugin and has been solved by an update (to 0.0.6). See my response to this thread below, and https://discourse.psychopy.org/t/radialstim-cannot-call-in-builder-2024-1-4/40175/7
long version
After upgrading to 2024.1.4 the Noise stimuli do not work anymore and have a puzzle-piece-with-question-mark icon in the Builder.
The parameters of my noise masks are still available under the Unknown tab if I click on the component.
The NoiseStim is not available as a stimulus component:
Interestingly, the Advanced Vision Science module is marked as installed (in 2024.1.4), although I didn’t install it for this version of PsychoPy:
But there is no option to uninstall or reinstall it.
In the packages tab I see that psychopy-visionscience is installed in an ancient version (0.0.1 rather than 0.0.5)
What have you done to try to solve the issue?
- reinstalled PsychoPy 2024.1.4
- tried to uninstall Advanced Vision Science Plugin, but that option was not available
- tried to uninstall psychopy-visionscience from the Packages tab, but that option was not available
- restarted PsychoPy several times
- rebooted several times
- tried to upgrade psychopy-visionscience using the pip terminal in the Packages tab. After restarting PsychoPy, the noise stims then appeared with the correct icon in the Routines, and even the parameters were filled in correctly in the tabs.
- However, still no Python code is generated for the NoiseStims when running or compiling the script. Furthermore, NoiseStim (or any other of the Advanced Vision Science stimuli) still aren’t available in the Components.
- after a reboot even the Advanced Vision Science Components are visible, however the code still isn’t generated
- installed PsychoPy 2024.1.4 on another system on which PsychoPy 2023.2.3 with Advanced Vision Science plugin had previously been installed. Again the plugin was marked as installed but the Stimuli were not visible in the Components
What finally helped
- created a new user, switched to that user and started PsychoPy. Now the Advanced Vision Science plugin was installable, so I installed it. That kind of worked, insofar as the NoiseStim is now available in the components. But again no uninstall option is available for Advanced Vision Science.
New problem
Even with the freshly installed plugin, the Noise Stim doesn’t work. Creating and running an experiment with just a noise stimulus with default parameters gives the following error message:
TypeError: NoiseStim() takes no arguments
(raised from contrib/lazy_import.py in line 118)
Further notes
I think my topic might be related to [How to add NoiseStim component to the components], and possibly to [Cannot install psychopy_visionscience - #2 by suelynnmah].