[Mne_analysis] Unexpected error: Exception TypeError in RawEDF.__del__

Eric Larson larson.eric.d at gmail.com
Tue May 8 13:23:51 EDT 2018
Search archives:

        External Email - Use Caution        

This is probably a harmless warning, yes. Are you passing a `str` to
preload (i.e., to use memmapping)? If so I think I see what might be
causing this. Feel free to open a GitHub issue and we can work to fix it.

Eric


On Tue, May 8, 2018 at 10:44 AM, d p <aglasis at gmail.com> wrote:

>         External Email - Use Caution
>
>
> Hello all,
>
> I am currently encountering the same error/warning:
>
> Exception TypeError: TypeError('coercing to Unicode: need string or
> buffer, NoneType found',) in <bound method RawEDF.__del__ of <RawEDF  |
> s14.bdf, n_channels x n_times : 69 x 9009152 (4399.0 sec), ~147 kB, data
> loaded>> ignored
>
> It does not occur consistently (i.e, I can't attribute to a particular
> command), but I most often see it when I either reset variables (to clean
> up the python environment) or when I delete a particular raw data object,
> but not all the times. I have also seen it a couple of times after calling
> plots (Raw, butterfly and PSD), just after I close the plot window.
>
> I does not seem to affect anything, and as far as I can tell all calls and
> commands run as expected, so I am not too concerned about it. The only
> issue with it is that when I apply the same operations to a number of
> individual datasets (in a loop), the mentioned message appears and
> interrupts and exits the loop.
>
> Has anyone encountered anything like this before? Is there something I
> should consider or add into my code to avoid this? More importantly, am I
> correct in assuming that this is a harmless warning, and ignoring it? Or is
> there something I should fix?
>
> Thanks for any comments / suggestions
> Best,
> Daniel
>
> PS. I am using the latest version of MNE-python on a linux computer
> (Ubuntu 17.10), with Python 2.7. Please let me know if you need some more
> details about my set-up.
>
>
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>
>
> The information in this e-mail is intended only for the person to whom it
> is
> addressed. If you believe this e-mail was sent to you in error and the
> e-mail
> contains patient information, please contact the Partners Compliance
> HelpLine at
> http://www.partners.org/complianceline . If the e-mail was sent to you in
> error
> but does not contain patient information, please contact the sender and
> properly
> dispose of the e-mail.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20180508/0b412a59/attachment.html 


More information about the Mne_analysis mailing list