Error extracting irregular duration epochs

Hi, we work a lot with research designs that require extracting epochs of irregular, various lengths from EEG signal. We tried to use Brainstorm based on the conversation here: Epochs with different lenghts
We keep coming across the error in the uploaded document. Would anyone be able to help?

MANY THANKS!

Please see this forum post:

Note that it is not recommended to use this menu to import epochs to the database. The safest way to do this is to use the menu "Import MEG/EEG", as illustrated in the introduction tutorials, or the equivalent processes from the pipeline editor.