#8218: Finite Field move
---------------------------+------------------------------------------------
   Reporter:  roed         |       Owner:               
       Type:  enhancement  |      Status:  needs_work   
   Priority:  major        |   Milestone:  sage-4.3.4   
  Component:  algebra      |    Keywords:  finite fields
     Author:  roed         |    Upstream:  N/A          
   Reviewer:               |      Merged:               
Work_issues:               |  
---------------------------+------------------------------------------------
Changes (by cremona):

  * status:  needs_review => needs_work


Comment:

 OK, I did that (except with the bundle trac_8218_move_433.bundle),
 applying it all to 4.3.4.alpha0.  The merge is ok (one piece of fuzz).
 The rebuild took a long time.  But sage -br ended up not running properly:
 {{{
 AttributeError                            Traceback (most recent call
 last)

 /home/john/sage-current/local/lib/python2.6/site-
 packages/IPython/ipmaker.pyc in force_import(modname)
      64         reload(sys.modules[modname])
      65     else:
 ---> 66         __import__(modname)
      67
      68

 /home/john/sage-4.3.4.alpha0/local/bin/ipy_profile_sage.py in <module>()
       5     preparser(True)
       6
 ----> 7     import sage.all_cmdline
       8     sage.all_cmdline._init_cmdline(globals())
       9

 /home/john/sage-current/local/lib/python2.6/site-
 packages/sage/all_cmdline.py in <module>()
      12 try:
      13
 ---> 14     from sage.all import *
      15     from sage.calculus.predefined import x
      16     preparser(on=True)

 /home/john/sage-current/local/lib/python2.6/site-packages/sage/all.py in
 <module>()
      70 get_sigs()
      71
 ---> 72 from sage.rings.all      import *
      73 from sage.matrix.all     import *
      74

 /home/john/sage-current/local/lib/python2.6/site-
 packages/sage/rings/all.py in <module>()
      88
      89 # Algebraic numbers

 ---> 90 from qqbar import (AlgebraicRealField, is_AlgebraicRealField, AA,
      91                    AlgebraicReal, is_AlgebraicReal,
      92                    AlgebraicField, is_AlgebraicField, QQbar,

 /home/john/sage-current/local/lib/python2.6/site-
 packages/sage/rings/qqbar.py in <module>()
    1410
    1411 # Cache some commonly-used polynomial rings

 -> 1412 QQx = QQ['x']
    1413 QQx_x = QQx.gen()
    1414 QQy = QQ['y']

 /home/john/sage-current/local/lib/python2.6/site-
 packages/sage/rings/ring.so in sage.rings.ring.Ring.__getitem__
 (sage/rings/ring.c:2551)()

 /home/john/sage-current/local/lib/python2.6/site-
 packages/sage/rings/polynomial/polynomial_ring_constructor.pyc in
 PolynomialRing(base_ring, arg1, arg2, sparse, order, names, name,
 implementation)
     341                 raise TypeError, "if second arguments is a string
 with no commas, then there must be no other non-optional arguments"
     342             name = arg1
 --> 343             R = _single_variate(base_ring, name, sparse,
 implementation)
     344         else:
     345             # 2-4. PolynomialRing(base_ring, names,
 order='degrevlex'):


 /home/john/sage-current/local/lib/python2.6/site-
 packages/sage/rings/polynomial/polynomial_ring_constructor.pyc in
 _single_variate(base_ring, name, sparse, implementation)
     421
     422         elif base_ring.is_field(proof = False):
 --> 423             R = m.PolynomialRing_field(base_ring, name, sparse,
 implementation=implementation)
     424
     425         elif base_ring.is_integral_domain(proof = False):

 /home/john/sage-current/local/lib/python2.6/site-
 packages/sage/rings/polynomial/polynomial_ring.pyc in __init__(self,
 base_ring, name, sparse, element_class, implementation)
    1194         if implementation is None: implementation="NTL"
    1195         if implementation == "NTL" and \
 -> 1196                 sage.rings.finite_field.is_FiniteField(base_ring):
    1197             p=base_ring.characteristic()
    1198             from sage.libs.ntl.ntl_ZZ_pEContext import
 ntl_ZZ_pEContext

 AttributeError: 'module' object has no attribute 'finite_field'
 Error importing ipy_profile_sage - perhaps you should run %upgrade?
 WARNING: Loading of ipy_profile_sage failed.
 }}}

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