Problem with uploading my protocols

Hello friends,
I have problem....
I have been using Brainstorm with great pleasure since Jan 2024, but when I got back there this morning, I received the following error message when trying to open Brainstorm - all stops at the stage of data upload (I believe). I intalled the new version. Can anybody help, please? Many many thanks
Karine

BST> Downloading brainstorm.jar...

BST> Starting Brainstorm:
BST> =================================
BST> Version: 08-Oct-2024
BST> Compiling main interface files...
BST> Deleting old process reports...
BST> Loading configuration file...
BST> Checking internet connectivity... ok
BST> Initializing user interface...
BST> Starting OpenGL engine... hardware
BST> Reading process folder...
BST> Downloading ICBM152 template...
BST> Installing ICBM152 template...
BST> Loading current protocol...
Unable to perform assignment because the indices on the left side are not compatible with the size of
the right side.

Error in bst_get (line 670)
argout1(iTargetAnalysis) = repmat(ProtocolStudies.AnalysisStudy, size(iTargetAnalysis));

Error in bst_get (line 993)
[argout1, argout2] = bst_get('Study', iAnalStudyInter);

Error in node_create_db_studies (line 99)
[sAnalysisStudy, iAnalysisStudy] = bst_get('AnalysisInterStudy');

Error in panel_protocols>UpdateTree (line 433)
case 'StudiesSubj', [selNode, dbNode, numNodes] = node_create_db_studies(nodeRoot, 'subject', iSearch);

Error in panel_protocols (line 46)
eval(macro_method);

Error in db_load_protocol (line 104)
panel_protocols('UpdateTree');

Error in gui_brainstorm>SetCurrentProtocol (line 1052)
db_load_protocol(iProtocol);

Error in gui_brainstorm (line 34)
eval(macro_method);

Error in bst_startup (line 651)
gui_brainstorm('SetCurrentProtocol', GlobalData.DataBase.iProtocol);

Error in brainstorm (line 126)
bst_startup(BrainstormHomeDir, 1, BrainstormDbDir, TemplateName);


** Error: Line 670: Unable to perform assignment because the indices on the left side are not compatible with the size of the right side.
**
** Call stack:
** >bst_get.m at 670
** >bst_get.m at 993
** >node_create_db_studies.m at 99
** >panel_protocols.m>UpdateTree at 433
** >panel_protocols.m at 46
** >gui_brainstorm.m>CreateWindow/protocolDisplayModeChanged_Callback at 559
** >bst_call.m at 28
** >gui_brainstorm.m>@(h,ev)bst_call(@protocolDisplayModeChanged_Callback,h,ev) at 458
**


Unable to perform assignment because the indices on the left side are not compatible with the size of
the right side.

Error in bst_get (line 670)
argout1(iTargetAnalysis) = repmat(ProtocolStudies.AnalysisStudy, size(iTargetAnalysis));

Error in bst_get (line 993)
[argout1, argout2] = bst_get('Study', iAnalStudyInter);

Error in node_create_db_studies (line 99)
[sAnalysisStudy, iAnalysisStudy] = bst_get('AnalysisInterStudy');

Error in panel_protocols>UpdateTree (line 433)
case 'StudiesSubj', [selNode, dbNode, numNodes] = node_create_db_studies(nodeRoot, 'subject', iSearch);

Error in panel_protocols (line 46)
eval(macro_method);

Error in db_load_protocol (line 104)
panel_protocols('UpdateTree');

Error in gui_brainstorm>SetCurrentProtocol (line 1052)
db_load_protocol(iProtocol);

Error in gui_brainstorm>CreateWindow/protocolComboBoxChanged_Callback (line 574)
SetCurrentProtocol(jItem.getUserData());


** Error: Line 699: Index exceeds the number of array elements. Index must not exceed 0.
**
** Call stack:
** >gui_layout.m>PositionFigure at 699
** >gui_layout.m>TileWindows at 597
** >gui_layout.m>Update at 50
** >gui_layout.m at 33
** >bst_figures.m>CreateFigure at 232
** >bst_figures.m at 59
** >view_timeseries.m at 147
** >bst_call.m at 28
** >tree_callbacks.m>@(h,ev)bst_call(@view_timeseries,filenameRelative,AllMod{iMod},,'NewFigure') at 1444

It seems something happened to your database during the update.

  • Could it be that the database folder was inside the brainstorm3 directory?
  • Was this the first time you updated Brainstorm?

Hi Raymundo
Many thanks.
No, the database folder was separate.
Yes, I did update for the first time, but this was done after I first had the problem.
Best
Karine

Hi Raymundo

As I have a problem with my current database, I downloaded a previous version of my database (from 1 week ago, when everything was working fine). I placed this older version in the brainstorm_db folder in place of the damaged version. The problem is that when I open Brainstorm, the data aren't there, even though I've checked that there were data in this version of my database. It seems to be a problem loading the files.... Do I need to run a specific script or to do something else to load the data from this older version?
Thank you for your help

Regards

Karine

Hi Raymundo
Many thanks.
No, the database folder was separate.
Yes, I did update for the first time, but this was done after I first had the problem.
Best
Karine

Hi Raymundo,

Finally, I had a protocol whose data had been corrupted and I redid the analyses within a new protocol. After closing brainstorm, when I want to reopen my new protocol, the opening is in read-only mode. Could you help me to solve this problem?

Thank you
Regards
Karine

If you explore that path, do you see the typical structure for a Brainstorm protocol?

Protocol_Name/              # Protocol folder            
├─ anat/                    # Anatomy data  folder
│  ├─ Subject01/            # Subject folder
├─ data/                    # Functional data folder
│  ├─ Subject01/            # Subject folder
│  ├─ protocol.mat          # .mat file with the Protocol database structure

Can it be that the Protocol was generated when using Brainstorm with a different user?

Is your brainstorm_db directory synchronized in the cloud?
If so, be sure that it is not uploading/downloading when you start Brainstorm