#8251: traceback when computing E.torsion_subgroup() for an elliptic curve E
-------------------------------+--------------------------------------------
   Reporter:  was              |       Owner:  cremona 
       Type:  defect           |      Status:  new     
   Priority:  critical         |   Milestone:  sage-4.5
  Component:  elliptic curves  |    Keywords:          
     Author:                   |    Upstream:  N/A     
   Reviewer:                   |      Merged:          
Work_issues:                   |  
-------------------------------+--------------------------------------------

Comment(by robertwb):

 Easier to reproduce.

 {{{
 sage: RationalField()
 Rational Field
 sage: list(JonesDatabase().unramified_outside([3], 3))
 [Number Field in a with defining polynomial x^3 - 3*x + 1, Number Field in
 a with defining polynomial x^3 - 3]
 sage: RationalField()
 ERROR: An unexpected error occurred while tokenizing input
 The following traceback may be corrupted or invalid
 The error message is: ('EOF in multi-line statement', (436, 0))

 ---------------------------------------------------------------------------
 ValueError                                Traceback (most recent call
 last)

 /Users/sekhon/<ipython console> in <module>()

 /Applications/sage/local/lib/python2.6/site-
 packages/sage/rings/rational_field.pyc in __init__(self)
     212         print id(self)
     213         ParentWithGens.__init__(self, self, category = Fields())
 --> 214         self._assign_names(('x',),normalize=False) # ???
     215
 self._populate_coercion_lists_(element_constructor=rational.Rational,
 init_no_parent=True)
     216

 /Applications/sage/local/lib/python2.6/site-
 packages/sage/structure/parent_gens.so in
 sage.structure.parent_gens.ParentWithGens._assign_names
 (sage/structure/parent_gens.c:2869)()

 /Applications/sage/local/lib/python2.6/site-
 packages/sage/structure/category_object.so in
 sage.structure.category_object.CategoryObject._assign_names
 (sage/structure/category_object.c:3287)()

 ValueError: variable names cannot be changed after object creation.

 }}}

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

Reply via email to