-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SPM configuration fails #324
Comments
I think it might be related to #315 |
@KamalakerDadi thanks for referencing #315 but I do not get any errors while installing spm mcr or any java related errors. |
Did you tried with install_spm12.sh in continuous_integration ? |
yes I used this script. |
Do you have MCRInstaller.bin in ~/opt/spm12 ? Can you try this line in the same directory ? |
It finished with this message: The InstallShield Wizard has successfully installed MATLAB(R) Compiler Runtime 7.13. Then I re-installed pyprocess producing following log but my test still fails (spm is still None): Appending pypreprocess configuration to |
Aha while installing I also get multiple warnings, maybe that's a clue? /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'zip_safe' |
Ok. so it not related to the issue #315 then. It is specific to Ubuntu 18.10. I am currently having the same problem. Coming to your issue. I did a fresh installation without neurodebian travis and I am unable to reproduce the issue you are showing. On Ubuntu 16.04 _configure_spm(config_spm_dir=os.getenv('SPM_DIR'), config_spm_mcr=os.getenv('SPM_MCR'))
'/home/parietal/kdadi/opt/spm12/spm12/spm12_mcr/spm12' ATM I am unsure what's happening by looking at the warnings. |
I went through the error and after debugging for a while had to make two changes:
So far the pipeline seems to progress. Note that I switched to matlab executive with SPM12 directory mode instead of using MCR. |
I have installed pypreprocess in a Python 2.7 virtual environment on Debian 9.9 but without neurodebian travis as I do not have root access. I cannot get the SPM configured.
Here is my test code and associated output.
Code:
import os
from pypreprocess.configure_spm import _configure_spm
print 'SPM_DIR:', os.getenv('SPM_DIR')
print 'SPM_MCR:', os.getenv('SPM_MCR')
print 'SPM CONFIGURED:', _configure_spm(config_spm_dir=os.getenv('SPM_DIR'),
config_spm_mcr=os.getenv('SPM_MCR'))
Output:
191020-14:30:41,988 nipype.utils INFO:
Running nipype version 1.2.3 (latest: 1.2.3)
SPM_DIR: /home/homeGlobal/kpatil/opt/spm12/spm12/
SPM_MCR: /home/homeGlobal/kpatil/opt/spm12/spm12.sh
No handlers could be found for logger "pypreprocess"
SPM CONFIGURED: None
Is this due to travis not installed or something else?
Will be happy to provide any further information.
The text was updated successfully, but these errors were encountered: