Error loading protocol after crash

Hi Francois,

I had another crash while using BST, and am now unable to load my protocol. I get the following error message on opening BST:


** Error: Line 403: Subscripted assignment dimension mismatch.
**
** Call stack:
** >bst_get.m at 403
** >bst_get.m at 700
** >node_create_db_studies.m at 84
** >panel_protocols.m>UpdateTree at 353
** >bst_call.m at 28
** >macro_methodcall.m at 39
** >panel_protocols.m at 43
** >db_load_protocol.m at 89
** >gui_brainstorm.m>SetCurrentProtocol at 901
** >bst_call.m at 28
** >macro_methodcall.m at 39
** >gui_brainstorm.m at 30
** >bst_startup.m at 476
** >brainstorm.m at 89
**


Is there anything that you can suggest that might let me recover the protocol instead of loading from a backup?

Many thanks,

Dashiel

Hi Dashiel,

If you type “brainstorm reset” then try to load it again (File > Load protocol from folder), it doesn’t help?
You most likely have something wrong in your database structure. You can try to understand what is wrong by placing a breakpoint in bst_get, at the line where it crashes and try to understand what is wrong.
Or you can zip your protocol folder and send it to me if it’s not too big…

Francois

[QUOTE=Francois;5642]Hi Dashiel,

If you type “brainstorm reset” then try to load it again (File > Load protocol from folder), it doesn’t help?
You most likely have something wrong in your database structure. You can try to understand what is wrong by placing a breakpoint in bst_get, at the line where it crashes and try to understand what is wrong.
Or you can zip your protocol folder and send it to me if it’s not too big…

Francois[/QUOTE]

Hi again Francois, thanks for the swift reply (as always!),

As per your suggestion I have tried resetting brainstorm and reloading the protocol, and now I have two error messages, the second same as before, and another one which I reproduce below.

AnneSo has been here with me this morning, bug hunting in bst_get.m and the database structure, but didn’t find anything to solve the problem. Will keep trying; my suspicion is that I’ve somehow got the protocol pointing at files that aren’t there, but how that would have come about I don’t know…

My protocol folder is approx 270gb, so not really feasible to send, but thanks very much for the offer…

New error report:


** Error: Line 849: bst_get (line 849)
** Subject name not specified.
**
** Call stack:
** >bst_get.m at 849
** >node_create_db_subjects.m at 51
** >panel_protocols.m>UpdateTree at 351
** >bst_call.m at 28
** >macro_methodcall.m at 39
** >panel_protocols.m at 43
** >gui_brainstorm.m>SetCurrentProtocol at 817
** >bst_call.m at 28
** >macro_methodcall.m at 39
** >gui_brainstorm.m at 30
** >bst_startup.m at 476
** >brainstorm.m at 89
**


Hi Dashiel,

Is there a way I can connect remotely to the computer you are working on? What OS is it running?
I could try to debug that directly on your machine…

Francois

Hi Francois,

Sure, we could use Teamviewer and you could remote desktop in. Email me at dashiel.munding@gmail.com and I’ll give you the keys…

I’m using Ubuntu 12.04, Matlab 2013a.

D