Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ignatenkobrain opened this issue Oct 30, 2015 · 9 comments

Comments

@ignatenkobrain
Copy link
Contributor

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
@arokem
Copy link
Member

arokem commented Nov 8, 2015

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

@ignatenkobrain
Copy link
Contributor Author

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.

@ignatenkobrain ignatenkobrain changed the title [i686] Calling TimeArray.min() .max(), mean() should return TimeArrays: assert getattr(b, f)().__class__ == ts.TimeArray [32bit] Calling TimeArray.min() .max(), mean() should return TimeArrays: assert getattr(b, f)().__class__ == ts.TimeArray Nov 8, 2015
@ignatenkobrain
Copy link
Contributor Author

any news? @arokem

@arokem
Copy link
Member

arokem commented Nov 24, 2015

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
#137 (comment).

@ignatenkobrain
Copy link
Contributor Author

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

@arokem
Copy link
Member

arokem commented Nov 24, 2015

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
#137 (comment).

@ignatenkobrain
Copy link
Contributor Author

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

@arokem
Copy link
Member

arokem commented Dec 8, 2015

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

@sanjayankur31
Copy link

Hiya,

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants