You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the session below the command fails because the optional LARGE Cremona elliptic curves database is not installed (it works fine if it is). The error message should clearly say why the failure occurs, instead of Sage mysteriously bombing out.
sage@modular:~$ build/sage-2.10.1.rc3/sage
----------------------------------------------------------------------
| SAGE Version 2.10.1.rc3, Release Date: 2008-01-30 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
sage: EllipticCurve('14a4').sha().an(use_database=True)
---------------------------------------------------------------------------
<type 'exceptions.AttributeError'> Traceback (most recent call last)
/home2/sage/<ipython console> in <module>()
/home2/sage/build/sage-2.10.1.rc3/local/lib/python2.5/site-packages/sage/schemes/elliptic_curves/sha.py in an(self, use_database)
148 if use_database:
149 try:
--> 150 self.__an = int(round(float(self.E.database_curve().db_extra[4])))
151 return self.__an
152 except RuntimeError, AttributeError:
<type 'exceptions.AttributeError'>: 'EllipticCurve_rational_field' object has no attribute 'db_extra'
sagetrac-mabshoffmannequin
changed the title
change an error message when running a certain command and the elliptic curve database is too small
[needs doctest fix] change an error message when running a certain command and the elliptic curve database is too small
Jan 24, 2009
I was wrong, the above is not caused by this patch.
Cheers,
Michael
sagetrac-mabshoffmannequin
changed the title
[needs doctest fix] change an error message when running a certain command and the elliptic curve database is too small
change an error message when running a certain command and the elliptic curve database is too small
Jan 24, 2009
In the session below the command fails because the optional LARGE Cremona elliptic curves database is not installed (it works fine if it is). The error message should clearly say why the failure occurs, instead of Sage mysteriously bombing out.
Component: number theory
Issue created by migration from https://trac.sagemath.org/ticket/2020
The text was updated successfully, but these errors were encountered: