nitime icon indicating copy to clipboard operation
nitime copied to clipboard

[32bit] Calling TimeArray.min() .max(), mean() should return TimeArrays: assert getattr(b, f)().__class__ == ts.TimeArray

Open igor-raits opened this issue 10 years ago • 9 comments

Fails only on i686:

======================================================================
FAIL: Calling TimeArray.min() .max(), mean() should return TimeArrays
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.4/site-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File "/builddir/build/BUILD/nitime-rel-0.5/nitime/tests/test_timeseries.py", line 900, in test_timearray_math_functions
    assert getattr(b, f)().__class__ == ts.TimeArray
AssertionError

igor-raits avatar Oct 30 '15 21:10 igor-raits

Sorry for the ignorance (and for the delay in responding): what is i686, and how would I debug on it?

arokem avatar Nov 08 '15 06:11 arokem

i686 is architecture. Actually it's just 32bit on x86. How debug - the same as for nilearn:

On centos you can download src.RPM and do: mock -r fedora-rawhide-i386 --verbose --no-cleanup-after /path/to/src.rpm and once it will fail do: mock -r fedora-rawhide-i386 --shell and all stuff will be available under /buildroot/BUILD/.

SRPM: https://ignatenkobrain.fedorapeople.org/python-nitime-0.5-2.fc24.src.rpm

If nitime uses nibabel or other nipy stuff - modify /etc/mock/fedora-......cfg and add

[ignatenkobrain-neurofedora]
name=Copr repo for neurofedora owned by ignatenkobrain
baseurl=https://copr-be.cloud.fedoraproject.org/results/ignatenkobrain/neurofedora/fedora-$releasever-$basearch/
enabled=1

In the bottom.

igor-raits avatar Nov 08 '15 06:11 igor-raits

any news? @arokem

igor-raits avatar Nov 24 '15 18:11 igor-raits

Sorry - had to get a hand on a centos machine. I just tried to downloading the src.rpm file that you pointed to, but it's not there anymore. Did you take it down?

On Tue, Nov 24, 2015 at 10:54 AM, Igor Gnatenko [email protected] wrote:

any news? @arokem https://github.com/arokem

— Reply to this email directly or view it on GitHub https://github.com/nipy/nitime/issues/137#issuecomment-159371139.

arokem avatar Nov 24 '15 20:11 arokem

Fixed. Link the same. But try mock with fedora-23-i386 because rawhide now broken

igor-raits avatar Nov 24 '15 20:11 igor-raits

What does this mean?


[root@ip-172-30-0-76 ~]# mock -r fedora-23-i386 --verbose
--no-cleanup-after python-nitime-0.5-2.fc24.src.rpm

You need to be a member of the mock group for this to work

On Tue, Nov 24, 2015 at 12:55 PM, Igor Gnatenko [email protected] wrote:

Fixed. Link the same. But try mock with fedora-23-i386 because rawhide now broken

— Reply to this email directly or view it on GitHub https://github.com/nipy/nitime/issues/137#issuecomment-159402407.

arokem avatar Nov 24 '15 23:11 arokem

Actually you should not run mock from root. Run from user using sudo.

igor-raits avatar Nov 25 '15 06:11 igor-raits

I seem to be reproducing this issue on Windows: https://ci.appveyor.com/project/arokem/nitime/build/1.0.7/job/nxvdt73pwxrfq8co

arokem avatar Dec 08 '15 22:12 arokem

Hiya,

Any update on this? I'm building the latest commit 1fab571 and this test still fails on i686.

sanjayankur31 avatar Nov 06 '18 22:11 sanjayankur31