[Debian-med-packaging] Bug#813982: Bug#813982: python-mne: FTBFS: IndexError: an index can only have a single ellipsis ('...')

Alexandre Gramfort alexandre.gramfort at telecom-paristech.fr
Tue Feb 16 08:59:09 UTC 2016


Hi,

we identified the problem. We'll send a fix ASAP. It's an issue due to
an old version of numpy.

Best,
Alex


On Sun, Feb 7, 2016 at 10:44 AM, Chris Lamb <lamby at debian.org> wrote:
> Source: python-mne
> Version: 0.10.1+dfsg-1
> Severity: serious
> Justification: fails to build from source
> User: reproducible-builds at lists.alioth.debian.org
> Usertags: ftbfs
> X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
>
> Dear Maintainer,
>
> python-mne fails to build from source in unstable/amd64:
>
>   [..]
>
>   ======================================================================
>   ERROR: Test PSD estimation on epochs
>   ----------------------------------------------------------------------
>   Traceback (most recent call last):
>     File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
>       self.test(*self.arg)
>     File "/usr/lib/python2.7/dist-packages/numpy/testing/decorators.py", line 147, in skipper_func
>       return f(*args, **kwargs)
>     File "/home/lamby/temp/cdt.20160207103006.4o4ykTzhLo/python-mne-0.10.1+dfsg/mne/time_frequency/tests/test_psd.py", line 95, in test_psd_epochs
>       n_fft=n_fft, picks=picks)
>     File "<string>", line 2, in compute_epochs_psd
>     File "/home/lamby/temp/cdt.20160207103006.4o4ykTzhLo/python-mne-0.10.1+dfsg/mne/utils.py", line 551, in verbose
>       return function(*args, **kwargs)
>     File "/home/lamby/temp/cdt.20160207103006.4o4ykTzhLo/python-mne-0.10.1+dfsg/mne/time_frequency/psd.py", line 171, in compute_epochs_psd
>       data = epochs.get_data()[:, picks][..., time_mask]
>   IndexError: an index can only have a single ellipsis ('...')
>   -------------------- >> begin captured stdout << ---------------------
>   Opening raw data file /home/lamby/temp/cdt.20160207103006.4o4ykTzhLo/python-mne-0.10.1+dfsg/mne/io/tests/data/test_raw.fif...
>       Read a total of 3 projection items:
>           PCA-v1 (1 x 102)  idle
>           PCA-v2 (1 x 102)  idle
>           PCA-v3 (1 x 102)  idle
>   Current compensation grade : 0
>       Range : 25800 ... 40199 =     42.956 ...    66.930 secs
>   Ready.
>   Adding average EEG reference projection.
>   1 projection items deactivated
>   2 matching events found
>   Reading 2671 ... 3271  =      4.447 ...     5.446 secs...
>   [done]
>   Applying baseline correction ... (mode: mean)
>   Reading 4350 ... 4950  =      7.243 ...     8.242 secs...
>   [done]
>   Applying baseline correction ... (mode: mean)
>   0 bad epochs dropped
>   2 matching events found
>   Reading 2370 ... 3572  =      3.946 ...     5.947 secs...
>   [done]
>   Applying baseline correction ... (mode: mean)
>   Reading 4049 ... 5251  =      6.741 ...     8.743 secs...
>   [done]
>   Applying baseline correction ... (mode: mean)
>   0 bad epochs dropped
>
>   --------------------- >> end captured stdout << ----------------------
>
>   ======================================================================
>   ERROR: Test plotting epochs psd (+topomap)
>   ----------------------------------------------------------------------
>   Traceback (most recent call last):
>     File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
>       self.test(*self.arg)
>     File "/usr/lib/python2.7/dist-packages/numpy/testing/decorators.py", line 147, in skipper_func
>       return f(*args, **kwargs)
>     File "/home/lamby/temp/cdt.20160207103006.4o4ykTzhLo/python-mne-0.10.1+dfsg/mne/viz/tests/test_epochs.py", line 164, in test_plot_psd_epochs
>       epochs.plot_psd()
>     File "/home/lamby/temp/cdt.20160207103006.4o4ykTzhLo/python-mne-0.10.1+dfsg/mne/epochs.py", line 868, in plot_psd
>       verbose=None, show=show)
>     File "<string>", line 2, in plot_epochs_psd
>     File "/home/lamby/temp/cdt.20160207103006.4o4ykTzhLo/python-mne-0.10.1+dfsg/mne/utils.py", line 551, in verbose
>       return function(*args, **kwargs)
>     File "/home/lamby/temp/cdt.20160207103006.4o4ykTzhLo/python-mne-0.10.1+dfsg/mne/viz/epochs.py", line 495, in plot_epochs_psd
>       n_jobs=n_jobs)
>     File "<string>", line 2, in compute_epochs_psd
>     File "/home/lamby/temp/cdt.20160207103006.4o4ykTzhLo/python-mne-0.10.1+dfsg/mne/utils.py", line 551, in verbose
>       return function(*args, **kwargs)
>     File "/home/lamby/temp/cdt.20160207103006.4o4ykTzhLo/python-mne-0.10.1+dfsg/mne/time_frequency/psd.py", line 171, in compute_epochs_psd
>       data = epochs.get_data()[:, picks][..., time_mask]
>   IndexError: an index can only have a single ellipsis ('...')
>   -------------------- >> begin captured stdout << ---------------------
>   Opening raw data file /home/lamby/temp/cdt.20160207103006.4o4ykTzhLo/python-mne-0.10.1+dfsg/mne/io/tests/data/test_raw.fif...
>       Read a total of 3 projection items:
>           PCA-v1 (1 x 102)  idle
>           PCA-v2 (1 x 102)  idle
>           PCA-v3 (1 x 102)  idle
>   Current compensation grade : 0
>       Range : 25800 ... 40199 =     42.956 ...    66.930 secs
>   Ready.
>   Adding average EEG reference projection.
>   1 projection items deactivated
>   1 matching events found
>   Created an SSP operator (subspace dimension = 3)
>   4 projection items activated
>   Reading 2911 ... 3572  =      4.847 ...     5.947 secs...
>   [done]
>   Applying baseline correction ... (mode: mean)
>   0 bad epochs dropped
>
>   --------------------- >> end captured stdout << ----------------------
>
>   ----------------------------------------------------------------------
>   Ran 549 tests in 306.354s
>
>   FAILED (SKIP=193, errors=2)
>   debian/rules:19: recipe for target 'override_dh_auto_test' failed
>   make[1]: *** [override_dh_auto_test] Error 1
>   make[1]: Leaving directory '/home/lamby/temp/cdt.20160207103006.4o4ykTzhLo/python-mne-0.10.1+dfsg'
>   debian/rules:7: recipe for target 'build' failed
>   make: *** [build] Error 2
>
>   [..]
>
> The full build log is attached.
>
>
> Regards,
>
> --
>       ,''`.
>      : :'  :     Chris Lamb
>      `. `'`      lamby at debian.org / chris-lamb.co.uk
>        `-
>
> _______________________________________________
> Debian-med-packaging mailing list
> Debian-med-packaging at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging



More information about the Debian-med-packaging mailing list