Replies: 3 comments 3 replies
-
Hey, Does bonsai also crash when these bugs happen? How are you closing the workflow? A you also include the workflow file that minimally reproduces the bug? |
Beta Was this translation helpful? Give feedback.
-
Yup the two workflows I included above (lcr_passive and stim_wheel_right_stage2) have both had the issue - added the .txt suffix to upload. Bonsai doesn't seem to crash when this happens, and the workflow either closes itself (lcr_passive) or is closed by listening to an outside stop signal (stim_wheel_right_stage2), both of which work normally when this csvwriter issue happens. |
Beta Was this translation helpful? Give feedback.
-
I've possibly found the solution to this - it may have been the order of I have two Here's the order that seems to work, whereas the bad order was to have Maybe there's some kind of conflict if it's trying to write and draw at the same time? Guess it makes sense to put the CSV writing at the end of a series of things. |
Beta Was this translation helpful? Give feedback.
-
I have a rare issue where CsvWriter appears to stop writing mid-entry, and sometimes this is accompanied by workflow issues. Unfortunately the bug is too rare to reproduce and troubleshoot, but here are some examples:
This workflow draws a sequence of visual stimuli - when this one errors, I believe the stimuli keep being drawn and the workflow ends properly, but then the CSV file ends mid-way through one of the entries:
lcr_passive.bonsai.txt
This workflow has an interactive stimulus - when this one errors, the CSV file also ends mid-way through an entry, but the stimulus also becomes non-interactive (always at the start of being drawn):
stim_wheel_right_stage2.bonsai.txt
I saw in this issue (https://github.com/orgs/bonsai-rx/discussions/981) that a swap for reactive/shaders node was recommended - I already use the shaders one, but maybe my issues is similarly BonVision-related? Should I be trying to use BonVision's EventLogger instead of the standard CsvWriter?
Beta Was this translation helpful? Give feedback.
All reactions