Fmriprep warning


I’m running some data through fmriprep version 1.3.0 and noticed this warning message at the end which I haven’t seen before.

Sentry is attempting to send 1 pending error messages
Waiting up to 2.0 seconds
Press Ctrl-C to quit
Captured warning (<class 'ResourceWarning'>): unclosed <ssl.SSLSocket fd=4, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('', 56896), raddr=('', 443)>

This doesn’t seem to be an issue however, since the preprocessing appears complete and the summary reports seem fine. I just wanted to double check to be sure this isn’t something I should watch out for in the future.


Same - I just updated to fmriprep 1.3.0 yesterday (from 1.1.8) and got that message as well. From some Googling, it looks like a standard Python warning, e.g.

Yes, I think newer versions of Python have begun warning over things that never produced warnings before, and so we along with a number of dependent libraries are now producing more noise than usual. We’re trying to reduce some of that.

As a rule, though, warnings can be ignored, while exceptions are problems.

1 Like