Hello, before i updated brainstorm to the most recent version, i was running the fieldtrip ft_dipolefitting function in the processing tab. It worked fine, but now that i've updated brainstorm to the newest version, i cant run fieldtrip ft_dipolefitting anymore. I got some type of callback error. I then updated my field trip plug in thinking that that was the problem, but it wont update. i get this error
Error in bst_plugin>@(h,ev)InstallInteractive(Plug.Name)
(line 1959)
j(ij).install = gui_component('MenuItem',
j(ij).menu, [], 'Install',
IconLoader.ICON_DOWNLOAD, [],
@(h,ev)InstallInteractive(Plug.Name),
fontSize);
So i uninstalled field_trip and then tried to re-insall it, but i get the same error.
It was working just fine before the brainstorm update.
Thanks for your help
Please try the following:
- Reset Brainstorm: Re-initialize Brainstorm by typing " brainstorm reset " in the Matlab command window, or by clicking on [ Reset ] in the software preferences (menu File > Edit preferences).
- Uninstall FieldTrip: do you see any error in the Matlab command window?
- Check that you don't have any leftover FieldTrip install:
- Delete manually the folder $HOME/.brainstorm/plugins/fieldtrip
- Edit the Matlab path: Make sure you do not have any FieldTrip folder left in there
- Restart Matlab and Brainstorm
- Click on the menu Plugins > FieldTrip > Install
- If you get an error, please copy-paste the entire error message here (you copied only the stack trace, the actual error message is missing from your bug report)
Thanks
Dear @Francois,
I hope you are doing well. I have a similar error as the one listed above. I have updated BS to the most updated version. When I restarted MATLAB and tried to run BS again (by simply typing "brainstorm"), the following error appears:
Unrecognized function or variable 'ICON_DOWNLOAD'.
Error in bst_plugin>MenuCreate (line 1964)
j(ij).install = gui_component('MenuItem', j(ij).menu, [], 'Install', IconLoader.ICON_DOWNLOAD, [], @(h,ev)InstallInteractive(Plug.Name), fontSize);
Error in bst_plugin (line 108)
eval(macro_method);
Error in gui_brainstorm>CreateWindow (line 169)
jMenusPlug = bst_plugin('MenuCreate', jMenuPlugins, fontSize);
Error in gui_brainstorm (line 33)
eval(macro_method);
Error in gui_initialize (line 30)
GlobalData.Program.GUI = gui_brainstorm('CreateWindow');
Error in bst_startup (line 336)
gui_initialize();
Error in brainstorm (line 138)
bst_startup(BrainstormHomeDir, 1, BrainstormDbDir);
Now I can't open BS anymore and I am not sure on how to solve it. I tried the steps you recommended above but the same error keeps showing. Would you know why this is happening? Thanks so much in advance for your time and help.
Best regards,
Nastassja
Hi.
Can you try to type « brainstorm update » and try again
Hi @edelaire,
Thanks for your reply. Sure! When I tried what you advised I got the following error:
Error using javaObjectEDT
No constructor with appropriate signature exists in Java class org.brainstorm.file.BstDownload
Error in gui_brainstorm (line 33)
eval(macro_method);
Error in bst_update (line 71)
errMsg = gui_brainstorm('DownloadFile', urlUpdate, zipFile, 'Brainstorm update');
Error in brainstorm (line 177)
bst_update(0);
Best regards,
Nastassja
@nastafischer
It looks like the Java support is not work, either because you start Matlab with a nojvm
option or something similar, or because your installation of Brainstorm is incomplete.
To test that Java is correctly working from Matlab:
- Copy-paste and execute
j=javax.swing.JFrame('Test'); j.show();
in the Matlab command window.
It should open a small window in a corner of the screen, just close it.
To make sure there are no issues related with your Brainstorm install:
- Edit the Matlab path: remove all the references to Brainstorm, and all the folders that are not directly related with the installation of Matlab itself (remove all your personal folders or additional toolboxes)
- Close Matlab
- Make sure you have a backup set up to safely archive all your sensitive data
- Delete the previous
brainstorm3
installation folder (make sure you do not have multiple copies of Brainstorm on your computer)
- Delete the folder
$HOME/.brainstorm
(Brainstorm user preferences and plugins)
- Download a new package from the Brainstorm website, unzip it
- Start Matlab, run
brainstorm.m