From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1P8IsS-00023C-BX for garchives@archives.gentoo.org; Tue, 19 Oct 2010 20:34:00 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 47128E07BE; Tue, 19 Oct 2010 20:33:18 +0000 (UTC) Received: from mx1.d.umn.edu (mx1.d.umn.edu [131.212.109.15]) by pigeon.gentoo.org (Postfix) with ESMTP id 1AB2EE07BE for ; Tue, 19 Oct 2010 20:33:17 +0000 (UTC) Received: from mxr1.d.umn.edu (mxr1.d.umn.edu [131.212.109.92]) by mx1.d.umn.edu (8.13.8/8.13.8) with ESMTP id o9JKUg6L029369 for ; Tue, 19 Oct 2010 15:30:42 -0500 (CDT) Received: from mxv2.d.umn.edu (mxv2.d.umn.edu [131.212.109.136]) by mxr1.d.umn.edu (8.13.8/8.13.8) with ESMTP id o9JKUgDi004939 for ; Tue, 19 Oct 2010 15:30:42 -0500 (CDT) Received: from smtp.d.umn.edu (mx3.d.umn.edu [131.212.109.40]) by mxv2.d.umn.edu (8.13.8/8.13.8) with ESMTP id o9JKPfIC006895 for ; Tue, 19 Oct 2010 15:30:18 -0500 (CDT) Received: from ledaig (ledaig.d.umn.edu [131.212.64.12]) (authenticated bits=0) by smtp.d.umn.edu (8.13.8/8.13.8) with ESMTP id o9JKP2kt010372 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 19 Oct 2010 15:25:02 -0500 (CDT) Date: Tue, 19 Oct 2010 15:25:02 -0500 From: Steven Trogdon Subject: Re: [gentoo-science] [sage-on-gentoo]mpmath testing To: gentoo-science@lists.gentoo.org In-Reply-To: <201010192245.49664.f.r.bissey@massey.ac.nz> (from f.r.bissey@massey.ac.nz on Tue Oct 19 04:45:49 2010) X-Mailer: Balsa 2.4.8 Message-Id: <1287519902.1572.7@ledaig> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-science@lists.gentoo.org Reply-to: gentoo-science@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=PGP-SHA1; boundary="=-QD9ytl/DPtAZRPFsHQlE" X-Virus-Scanned: clamav-milter 0.96.3 at mxv2.d.umn.edu X-Virus-Status: Clean X-Archives-Salt: c8fb6498-7223-4633-9165-ac6ee9d2ab5a X-Archives-Hash: 25dd76157b57bb5a82f9f609db674b94 --=-QD9ytl/DPtAZRPFsHQlE Content-Type: text/plain; charset=ISO-8859-1; DelSp=Yes; Format=Flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 10/19/10 - 04:45:49, Fran=E7ois Bissey wrote: > Thank you Steve, >=20 > Could you send me the result of > printenv | grep SAGE > from the machine running sage-4.5.3. printenv | grep SAGE gives (on _all_ installations) SAGE_DATA=3D/usr/share/sage/data SAGE_BROWSER=3D/usr/bin/firefox SAGE_LOCAL=3D/usr SAGE_ROOT=3D/usr/share/sage SAGE_DOC=3D/usr/share/sage/devel/sage/doc For mpmath with sage-4.6alpha3 > I was expecting this error: > >>> import mpmath > Traceback (most recent call last): > File "", line 1, in > File "/usr/lib/python2.6/site-packages/mpmath/__init__.py", line 6, =20 > in > > from ctx_mp import MPContext > File "/usr/lib/python2.6/site-packages/mpmath/ctx_mp.py", line 48, =20 > in > > from sage.libs.mpmath.ext_main import Context as BaseMPContext > File "integer.pxd", line 9, in init sage.libs.mpmath.ext_main > (sage/libs/mpmath/ext_main.c:22894) > File "integer.pyx", line 165, in init sage.rings.integer > (sage/rings/integer.c:33926) > File "/usr/lib/python2.6/site-packages/sage/rings/infinity.py", =20 > line 200, in > > import sage.rings.rational > File "rational.pyx", line 70, in init sage.rings.rational > (sage/rings/rational.c:25264) > File "real_mpfr.pyx", line 1, in init sage.rings.real_mpfr > (sage/rings/real_mpfr.c:31325) > File "complex_number.pxd", line 8, in init sage.libs.mpmath.utils > (sage/libs/mpmath/utils.c:7374) > File "complex_double.pxd", line 13, in init =20 > sage.rings.complex_number > (sage/rings/complex_number.c:18312) > File "complex_double.pyx", line 95, in init =20 > sage.rings.complex_double > (sage/rings/complex_double.c:16534) > File =20 > "/usr/lib/python2.6/site-packages/sage/rings/complex_field.py", line =20 > 89, > in ComplexField > C =3D ComplexField_class(prec) > File =20 > "/usr/lib/python2.6/site-packages/sage/rings/complex_field.py", line > 187, in __init__ > ParentWithGens.__init__(self, self._real_field(), ('I',), False, =20 > category =3D > Fields()) > File =20 > "/usr/lib/python2.6/site-packages/sage/rings/complex_field.py", line > 240, in _real_field > self.__real_field =3D real_mpfr.RealField(self._prec) > File "real_mpfr.pyx", line 267, in sage.rings.real_mpfr.RealField > (sage/rings/real_mpfr.c:4222) > TypeError: 'NoneType' object is unsubscriptable > > >=20 > ---------------- > I posted about it on the sage-release, where we talk about the =20 > sage-4.6 pre > releases, and no one else has the problem so far. If you don't have =20 > it either > that may be a problem on my machine. >=20 > Francois >=20 I don't get the above with an import of mpmath. Just a thought, could =20 it be mpfr-related. I'm using mpfr-2.4.2_p3 here. Steve --=-QD9ytl/DPtAZRPFsHQlE Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iEYEABECAAYFAky9/p4ACgkQSh5h5U6haiFlYACfVxCUbF6yGHhMn026e/IgTaiw DDoAn2KLGM4JPSh+7Hssf3VDay/q5btI =0zhg -----END PGP SIGNATURE----- --=-QD9ytl/DPtAZRPFsHQlE--