#11634: Base Polyhedron on PPL (by default)
------------------------------------------------+---------------------------
   Reporter:  vbraun                            |          Owner:  mhampton     
  
       Type:  enhancement                       |         Status:  
positive_review
   Priority:  major                             |      Milestone:  sage-5.0     
  
  Component:  geometry                          |       Keywords:               
  
Work_issues:                                    |       Upstream:  N/A          
  
   Reviewer:  Marshall Hampton, David Loeffler  |         Author:  Volker Braun 
  
     Merged:                                    |   Dependencies:  #12159, 
#11429 
------------------------------------------------+---------------------------

Comment(by novoselt):

 I am not entirely sure if something is wrong on my end, but when I apply
 the following patches to Sage-5.0.beta8
 {{{
 novoselt@sage ~/sage/devel/sage-main $ hg qapplied
 trac_11599_no_circular_imports.patch
 trac_11599_homset_new_coercion_model.patch
 trac_11599_rename_morphisms.patch
 trac_11599_toric_morphisms.patch
 trac_11599_reviewer.patch
 trac_11599_remove_class_suffix.patch
 trac_11599_remaining_fixes.patch
 trac_11599_numerical_noise.patch
 trac_12159_separate_triangulation_file.patch
 trac_12159_placing_triangulation.patch
 trac_12159_normal_cone.patch
 trac_11634-folded.patch
 }}}
 I get after trying to start Sage
 {{{
 ----------------------------------------------------------------------
 | Sage Version 5.0.beta8, Release Date: 2012-03-13                   |
 | Type notebook() for the GUI, and license() for information.        |
 ----------------------------------------------------------------------
 **********************************************************************
 *                                                                    *
 * Warning: this is a prerelease version, and it may be unstable.     *
 *                                                                    *
 **********************************************************************
 /home/novoselt/sage-5.0.beta8/local/lib/python2.7/site-
 packages/sage/combinat/root_system/associahedron.py:22:
 DeprecationWarning: (Since Sage Version 4.8) The module
 sage.geometry.polyhedra has been removed, use sage.geometry.polyhedron
 instead.
   from sage.geometry.polyhedra import Polyhedron
 ---------------------------------------------------------------------------
 TypeError                                 Traceback (most recent call
 last)

 /home/novoselt/sage-5.0.beta8/local/lib/python2.7/site-
 packages/IPython/ipmaker.pyc in force_import(modname, force_reload)
      61         reload(sys.modules[modname])
      62     else:
 ---> 63         __import__(modname)
      64
      65

 /home/novoselt/sage-5.0.beta8/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/novoselt/sage-5.0.beta8/local/lib/python2.7/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/novoselt/sage-5.0.beta8/local/lib/python2.7/site-
 packages/sage/all.py in <module>()
      80 from sage.modules.all    import *
      81 from sage.monoids.all    import *
 ---> 82 from sage.algebras.all   import *
      83 from sage.modular.all    import *
      84 from sage.schemes.all    import *

 /home/novoselt/sage-5.0.beta8/local/lib/python2.7/site-
 packages/sage/algebras/all.py in <module>()
      34 from group_algebra_new import GroupAlgebra
      35
 ---> 36 from iwahori_hecke_algebra import IwahoriHeckeAlgebraT
      37 from affine_nil_temperley_lieb import AffineNilTemperleyLiebTypeA
      38 from nil_coxeter_algebra import NilCoxeterAlgebra

 /home/novoselt/sage-5.0.beta8/local/lib/python2.7/site-
 packages/sage/algebras/iwahori_hecke_algebra.py in <module>()
      10
 #*****************************************************************************
      11 from sage.categories.all import AlgebrasWithBasis,
 FiniteDimensionalAlgebrasWithBasis, CoxeterGroups
 ---> 12 import sage.combinat.root_system.cartan_type
      13 from sage.combinat.root_system.weyl_group import WeylGroup
      14 from sage.combinat.family import Family

 /home/novoselt/sage-5.0.beta8/local/lib/python2.7/site-
 packages/sage/combinat/root_system/__init__.py in <module>()
      11 import type_G
      12
 ---> 13 import all
      14
      15

 /home/novoselt/sage-5.0.beta8/local/lib/python2.7/site-
 packages/sage/combinat/root_system/all.py in <module>()
 ----> 1
       2
       3 from associahedron import Associahedron
       4 from cartan_type import CartanType
       5 from dynkin_diagram import DynkinDiagram, dynkin_diagram
       6 from cartan_matrix import cartan_matrix
       7 from coxeter_matrix import coxeter_matrix

 /home/novoselt/sage-5.0.beta8/local/lib/python2.7/site-
 packages/sage/combinat/root_system/associahedron.py in <module>()
      24 from sage.modules.free_module_element import vector
      25
 ---> 26 class Associahedron(Polyhedron):
      27     r"""
      28     The generalized associahedron is a polytopal complex with
 vertices in one-to-one correspondence

 TypeError: Error when calling the metaclass bases
     function() argument 1 must be code, not str
 Error importing ipy_profile_sage - perhaps you should run %upgrade?
 WARNING: Loading of ipy_profile_sage failed.
 }}}
 Is it because some new stuff merged in alpha8 uses old polyhedra code and
 was not converted?

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