make test error on unaltered code from mne-python

Hi all,

I am getting the following test failure when running make from the
mne-python repository root.

ICE default IO error handler doing an exit(), pid = 32504, errno = 32
Makefile:46: recipe for target 'test' failed
make: *** [test] Error 1

I followed the instructions on
http://www.martinos.org/mne/stable/contributing.html

Downloaded and extracted the sample data..
ftp://surfer.nmr.mgh.harvard.edu/pub/data/MNE-sample-data-processed.tar.gz
into the root directory of the repository.

I also noticed that there is a different sample data package on the MNE
Software Downloads visible after registering.

MNE-sample-data-processed.tar.gz (from the contributing to pages) is
1.4G and MNE-sample-data-2.5.tar.gz (from MNE Software Downloads) is 166M.

I imagine the error running make results from inconsistencies in sample
data.

I further see on men-python/README.md that running nosetests from the
repo root is recommended rather than make.

Which is the proper manner to run the tests? Which is the correct sample
data? Any idea why make test fails?

Thanks,
Kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x8A61431E.asc
Type: application/pgp-keys
Size: 11239 bytes
Desc: not available
Url : http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20140927/de3cd99a/attachment.bin

Hi Kevin,

Hi all,

I am getting the following test failure when running make from the
mne-python repository root.

ICE default IO error handler doing an exit(), pid = 32504, errno = 32
Makefile:46: recipe for target 'test' failed
make: *** [test] Error 1

I have encountered this problem before. The solution is to remove
.ICEauthority file from the home directory.

I followed the instructions on
http://www.martinos.org/mne/stable/contributing.html

Downloaded and extracted the sample data..
ftp://surfer.nmr.mgh.harvard.edu/pub/data/MNE-sample-data-processed.tar.gz
into the root directory of the repository.

I also noticed that there is a different sample data package on the MNE
Software Downloads visible after registering.

MNE-sample-data-processed.tar.gz (from the contributing to pages) is
1.4G and MNE-sample-data-2.5.tar.gz (from MNE Software Downloads) is 166M.

You need the test dataset. In ipython you can do:

from mne.datasets import testing
testing.data_path()

The contributing.rst document needs to be updated:
BUG: Update contributing.rst to mention testing dataset · Issue #1573 · mne-tools/mne-python · GitHub. Maybe you can work on
it?

Mainak

I imagine the error running make results from inconsistencies in sample
data.

I further see on men-python/README.md that running nosetests from the
repo root is recommended rather than make.

Which is the proper manner to run the tests? Which is the correct sample
data? Any idea why make test fails?

Thanks,
Kevin

_______________________________________________
Mne_analysis mailing list
Mne_analysis at nmr.mgh.harvard.edu
Mne_analysis Info Page

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
MyComplianceReport.com: Compliance and Ethics Reporting . 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/20140928/696ca6d6/attachment.html

Mainak Jas wrote:

Hi Kevin,

Hi all,

I am getting the following test failure when running make from the
mne-python repository root.

ICE default IO error handler doing an exit(), pid = 32504, errno = 32
Makefile:46: recipe for target 'test' failed
make: *** [test] Error 1

I have encountered this problem before. The solution is to remove
.ICEauthority file from the home directory.

I followed the instructions on
http://www.martinos.org/mne/stable/contributing.html

Downloaded and extracted the sample data..
ftp://surfer.nmr.mgh.harvard.edu/pub/data/MNE-sample-data-processed.tar.gz
into the root directory of the repository.

I also noticed that there is a different sample data package on the MNE
Software Downloads visible after registering.

MNE-sample-data-processed.tar.gz (from the contributing to pages) is
1.4G and MNE-sample-data-2.5.tar.gz (from MNE Software Downloads) is 166M.

You need the test dataset. In ipython you can do:

from mne.datasets import testing
testing.data_path()

The contributing.rst document needs to be updated:
https://github.com/mne-tools/mne-python/issues/1573. Maybe you can work on
it?

Mainak

I imagine the error running make results from inconsistencies in sample
data.

I further see on men-python/README.md that running nosetests from the
repo root is recommended rather than make.

Which is the proper manner to run the tests? Which is the correct sample
data? Any idea why make test fails?

Thanks,
Kevin

_______________________________________________
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.

_______________________________________________
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.

Hi Mainak,

Thanks for the response. All tests are passing.

In terms of the rst discussion, I suggest removing...

1. A Unix (Linux or Mac OS) box: MNE command line utilities and
Freesurfer that are required to make the best out of this toolbox
require a Unix platform.

from contributing.rst and adding a warning about .ICEauthority at the
end of...

Note that the first time this is run, the mne-python sample dataset
(~1.2 GB) will be downloaded to the root directory and extracted. This
is necessary for running some of the tests and nearly all of the examples.

I would not version control large binary data files and continue to
gitignore them.

-Kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x8A61431E.asc
Type: application/pgp-keys
Size: 11239 bytes
Desc: not available
Url : http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20140927/b7fce150/attachment.bin

Hi Kevin,

In terms of the rst discussion, I suggest removing...

1. A Unix (Linux or Mac OS) box: MNE command line utilities and
Freesurfer that are required to make the best out of this toolbox
require a Unix platform.

from contributing.rst and adding a warning about .ICEauthority at the
end of...

Note that the first time this is run, the mne-python sample dataset
(~1.2 GB) will be downloaded to the root directory and extracted. This
is necessary for running some of the tests and nearly all of the examples.

would you mind spending a few minutes to send a PR with your edits?

I would not version control large binary data files and continue to
gitignore them.

sure.

Alex

Hi Alex,

I issued a pull request [0] with some changes reflecting what helped me
to get started, and what I regarded as distracting.

I also suggest locking down the sample data file transfers. For
reference, see how a Debian package manager uses crypto tools to protect
end users [1].

Having some checksum evaluation of the sample data tar ball would be a
great start.

-Kevin

[0] https://github.com/mne-tools/mne-python/pull/1580
[1] SecureApt - Debian Wiki

Alexandre Gramfort wrote:

Hi Kevin,

In terms of the rst discussion, I suggest removing...

1. A Unix (Linux or Mac OS) box: MNE command line utilities and
Freesurfer that are required to make the best out of this toolbox
require a Unix platform.

from contributing.rst and adding a warning about .ICEauthority at the
end of...

Note that the first time this is run, the mne-python sample dataset
(~1.2 GB) will be downloaded to the root directory and extracted. This
is necessary for running some of the tests and nearly all of the examples.

would you mind spending a few minutes to send a PR with your edits?

I would not version control large binary data files and continue to
gitignore them.

sure.

Alex
_______________________________________________
Mne_analysis mailing list
Mne_analysis at nmr.mgh.harvard.edu
Mne_analysis Info Page

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
MyComplianceReport.com: Compliance and Ethics Reporting . 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 --------------
A non-text attachment was scrubbed...
Name: 0x8A61431E.asc
Type: application/pgp-keys
Size: 11239 bytes
Desc: not available
Url : http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20140928/5829d8f7/attachment.bin