public inbox for gentoo-science@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-science] [sage-on-gentoo] numpy-1.4.1/scipy-0.8.0
@ 2010-09-08 13:00 Steven Trogdon
  2010-09-09  8:47 ` François Bissey
  0 siblings, 1 reply; 5+ messages in thread
From: Steven Trogdon @ 2010-09-08 13:00 UTC (permalink / raw
  To: gentoo-science@lists.gentoo.org

[-- Attachment #1: Type: text/plain, Size: 3390 bytes --]

Hi everyone,

I performed the subject upgrade and I have one test that fails on my 32bit  
chroot that seems to be out of the ordinary. There is no problem with the test  
on amd64, at least here there isn't.

sage -t  -force_lib  
"devel/sage/sage/schemes/hyperelliptic_curves/hyperelliptic_finite_field.py"
**********************************************************************
File  
"/usr/share/sage/devel/sage/sage/schemes/hyperelliptic_curves/hyperelliptic_finite_field.py",  
line 315:
     sage: len(C.points())
Exception raised:
     Traceback (most recent call last):
       File "/usr/bin/ncadoctest.py", line 1231, in run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File "/usr/bin/sagedoctest.py", line 38, in run_one_example
         OrigDocTestRunner.run_one_example(self, test, example, filename,  
compileflags)
       File "/usr/bin/ncadoctest.py", line 1172, in run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_6[7]>", line 1, in <module>
         len(C.points())###line 315:
     sage: len(C.points())
       File  
"/usr/lib/python2.6/site-packages/sage/schemes/hyperelliptic_curves/hyperelliptic_finite_field.py",  
line 327, in points
         self.__points = self._points_fast_sqrt() # this is fast using Zech  
logarithms
       File  
"/usr/lib/python2.6/site-packages/sage/schemes/hyperelliptic_curves/hyperelliptic_finite_field.py",  
line 239, in _points_fast_sqrt
         points.append(self.point([x, v+sqrtD, one], check=True))
       File "/usr/lib/python2.6/site-packages/sage/schemes/generic/scheme.py",  
line 256, in point
         return self._point_class(self, v, check=check)
       File  
"/usr/lib/python2.6/site-packages/sage/schemes/generic/algebraic_scheme.py",  
line 208, in _point_class
         return self.__A._point_class(*args, **kwds)
       File  
"/usr/lib/python2.6/site-packages/sage/schemes/generic/projective_space.py",  
line 561, in _point_class
         return morphism.SchemeMorphism_projective_coordinates_field(*args,  
**kwds)
       File  
"/usr/lib/python2.6/site-packages/sage/schemes/generic/morphism.py", line 608,  
in __init__
         X.codomain()._check_satisfies_equations(v)
       File  
"/usr/lib/python2.6/site-packages/sage/schemes/generic/algebraic_scheme.py",  
line 538, in _check_satisfies_equations
         raise TypeError, "Coordinates %s do not define a point on  
%s"%(list(v),self)
     TypeError: Coordinates [5*a + 6, 6*a + 4, 1] do not define a point on  
Hyperelliptic Curve over Finite Field in a of size 11^2 defined by y^2 + (x^2 +
  2)*y = x^5 + x + 10
**********************************************************************

When I enter into sage the lines in the test around the failing line (315)  
things seem to be OK. So perhaps there is something else in the test  
contributing to the failure. François suggested python as a culprit. Here is  
my configuration:

emerge -pv =dev-lang/python-2.6.5-r99

[ebuild   R   ] dev-lang/python-2.6.5-r99  USE="berkdb gdbm ipv6 ncurses  
readline sqlite ssl threads (wide-unicode) xml -build -doc -examples -tk  
-wininst" 0 kB [1]

Total: 1 package (1 reinstall), Size of downloads: 0 kB
Portage tree and overlays:
  [0] /usr/portage
  [1] /var/lib/layman/sage-on-gentoo

Steve


[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-09-11 16:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-08 13:00 [gentoo-science] [sage-on-gentoo] numpy-1.4.1/scipy-0.8.0 Steven Trogdon
2010-09-09  8:47 ` François Bissey
2010-09-09 14:22   ` Steven Trogdon
2010-09-10 10:47     ` François Bissey
2010-09-11 16:56       ` Steven Trogdon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox