Open lwthompson2 opened 2 days ago
Hi @lwthompson2,
I tested all three issues you mentioned on two different machines and three operating systems (Windows 11, macOS, and Fedora Linux), and everything worked as expected. I didn’t encounter any crashes when clicking the Channels button multiple times, and changing channels then adding conditions with the + button worked fine as well. Reloading the saved configuration with multiple conditions also functioned without any issues, and there were no duplicate conditions created.
It seems the problem may be related to your specific signal chain. Could you please share your config file? I’d like to try reproducing the issue with the same setup you’re using.
Edit: I was able to repro the crashes (clicking on Channels button and clicking on add condition button) on my Linux machine. I have some idea about where the crash is coming from and a potential fix for it. I'll let you know once I have a fix for this ready.
Hi @lwthompson2,
I've resolved the first two crashes, but I couldn't reproduce the third issue with the plugin loading duplicate conditions for electrodes. Could you please test the attached plugin with these fixes on your end and let me know if everything works as expected? Once you confirm, I'll proceed with deploying a new version of the plugin.
To install the patched plugin, download the zip file below, extract it, and replace the existing DLL in C:\ProgramData\Open Ephys\plugins-api8
with the new one. Then, launch the GUI to load the patched plugin.
Thanks!
Thanks @anjaldoshi this did indeed fix the crashing problem. It will still load duplicates of the conditions after restarting the GUI, but it is very easy to remove them before starting the experiment now. Let me know if you need any more info.
Great to hear that the crashes are now fixed!
Regarding the duplicate conditions problem, it'd be helpful if you can share your signal chain config file.
I was finally able to repro the duplicate trigger conditions on reload bug. It was happening when using a merger in the signal chain that is upstream of the OnlinePSTH plugin (e.g. when merging two sources). I was able to fix it in this commit 957710f.
Can you test the latest patched plugin attached below and confirm if it is fixed on your end as well?
I'm having a few issues using the online PSTH plugin that causes the GUI to crash. GUI version 0.6.7 Windows 11
1) When adding a condition, clicking the channel button will result in a crash. This only happens about 25% of the time. These crashes do not provide a warning message or activity log with debug info.
2) If I am able to select the channel button, clicking on a channel, then add (+) results in a crash. This happens about 70% of the time, Sometimes it will make it through the first couple of conditions I add. These crashes provide a warning that Open Ephys has crashed and produce an activity log with some debug info:
3) Even if I manage to add conditions and record, the next time I open the GUI I cannot use the same configuration. The PSTH plugin will load a ton of duplicate conditions for each electrode (see screenshot).