I think that SPM99 is having trouble reading the directory
/usr/local/spm99/toolbox. Make sure that it is readable and
executable.
Incidentally, the function spm_list_files (a mex routine)
is used to read the directory. For some installations, there
is a possibility that there may have been a problem in the
compilation of this routine.
Something that I have seen on some Linux versions, is that there
in an incompatibility between one of the include files and the
C libraries. I think the problem was with dirent.h, with the
DIR data structure. Either the library or the include file assumes
an extra field in the structure. I don't think it is the problem
for your installation though, as root was able to call the routine.
All the best,
-John
| Dear superusers, uicontrol callbacks and penguins,
|
| we are having trouble getting SPM99 run on an SuSE LINUX 6.3 platform.
| We have run the installation procedure by the superuser, and can invoke
| SPM99 perfectly from root. However, all other users get SPMīs startup
| without any problem but going to any of the options (e.g., fMRI time
| series) inevitably results in the following error announcement:
|
|
| / __)( _ \( \/ )
| \__ \ )___/ ) ( Statistical Parametric Mapping
| (___/(__) (_/\/\_) SPM99 - http://www.fil.ion.ucl.ac.uk/spm
|
|
|
| Initialising SPM..??? Error while evaluating uicontrol Callback.
|
|
| >> ??? Index exceeds matrix dimensions.
|
| Error in ==> /usr/local/spm99/spm.m
| On line 1051 ==> tmp = cellstr(tmp(tmp(:,1)~='.',:))';
|
| Error in ==> /usr/local/spm99/spm.m
| On line 667 ==> xTB = spm('TBs');
|
| Error in ==> /usr/local/spm99/spm.m
| On line 439 ==> Fmenu =
| spm('CreateMenuWin','off'); fprintf('.')
|
| I guess, it is an issue of permissions but I canīt figure it out. To me,
| user permissions seem ok and "unlimit" wonīt fix it. Any thoughts?
| Thanks a lot in advance-
| Yours, andreas
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|