#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 rohana):

 Replying to [comment:5 swenson]:
 > This appeared to be caused by, at some point, I must have run
 >
 > `./sage -t --optional devel/sage/sage/databases/cremona.py`
 >
 > This will create an empty cremona database as a side effect, even though
 it should not.

 I think the culprit is line 1088:
 {{{
 sage: c = CremonaDatabase('cremona') # optional
 }}}
 The issue is because I didn't check for `read_only=False` before opening a
 non-existent database. Shouldn't be too hard to fix.

 -- Andrew

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12341#comment:7>
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.

Reply via email to