Skip to content

Lock when importing nipype.interfaces.spm in version 0.10.0 #1195

Closed
@m-guggenmos

Description

@m-guggenmos

I just encountered a deadlock (or alike) after updating to 0.10.0. This lock (by which I simply mean that the code doesn't proceed) happens already at the import of nipype.interfaces.spm when running the following code:

from nipype.interfaces.matlab import MatlabCommand
MatlabCommand.set_default_paths("/opt/matlab/64bit/R2015a/toolbox/spm12")
MatlabCommand.set_default_matlab_cmd("/opt/matlab/64bit/R2015a/bin/matlab -nodesktop -nosplash")
import nipype.interfaces.spm as spm

This issue does not occur for me on 0.9.2 (here the import of nipype.interfaces.spm is executed in less than a second). I have switched back and forth a couple of times now between 0.10.0 and 0.9.2, and the pattern is consistent. Upon pressing Ctrl+C, I get the following output in 0.10.0: http://pastebin.com/9S1BJjsw

Of note, a similar lock was previously reported for 0.9.1 in these two links:

http://stackoverflow.com/questions/24544726/subprocess-get-stucks-at-poller-poll
https://groups.google.com/forum/#!topic/nipy-user/ICJzyP6sLek

Versions: Ubuntu 15.04 / Python 2.7.8 / Matlab R2015a / SPM12

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions