#12341: Empty (full) cremona database in Sage 4.8 causes tests to fail
-------------------------------+--------------------------------------------
Reporter: swenson | Owner: cremona
Type: defect | Status: new
Priority: critical | Milestone: sage-5.0
Component: elliptic curves | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
-------------------------------+--------------------------------------------
Comment(by was):
The following should be using xreadlines, to save memory:
{{{
for line in file('src/allcurves.00000-09999').readlines():
}}}
This optional test in cremona.py is bad, since it will always fail when
the optional package is installed.
{{{
sage: c = CremonaDatabase()
sage: isinstance(c, sage.databases.cremona.MiniCremonaDatabase)
True
sage: isinstance(c, sage.databases.cremona.LargeCremonaDatabase)
# optional - database_cremona_ellcurve
True
}}}
Also, the name of the optional component is totally wrong -- it should be
elliptic_curves, which is the name of the spkg:
{{{
sage-4.8/spkg/standard/elliptic_curves-0.3.spkg
}}}
Anyway, trac #11587 unfortunately introduced many issues. Let's fix them
asap for 5.0!
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12341#comment:3>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.