From: Steven Trogdon <strogdon@d.umn.edu>
To: "gentoo-science@lists.gentoo.org" <gentoo-science@lists.gentoo.org>
Subject: [gentoo-science] [sage-on-gentoo] numpy-1.4.1/scipy-0.8.0
Date: Wed, 08 Sep 2010 08:00:53 -0500 [thread overview]
Message-ID: <1283950861.28048.0@pavilion64> (raw)
[-- 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 --]
next reply other threads:[~2010-09-08 13:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-08 13:00 Steven Trogdon [this message]
2010-09-09 8:47 ` [gentoo-science] [sage-on-gentoo] numpy-1.4.1/scipy-0.8.0 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1283950861.28048.0@pavilion64 \
--to=strogdon@d.umn.edu \
--cc=gentoo-science@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox