Fmriprep warning

Hello,

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=('149.165.234.192', 56896), raddr=('35.188.42.15', 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.

Thanks.

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. https://github.com/kennethreitz/requests/issues/3912

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