The interface checks whether the utility program "points2placingtriang" 
from TOPCOM is available, and didn't find it in your install. Do you have 
Sage's current spkg of TOPCOM installed or some other version?

Just for the record, you almost certainly want 

regular.restrict_to_star_triangulations([0,0,0])

as well.


On Monday, July 1, 2013 4:19:50 PM UTC-4, Ursula wrote:
>
> I'm running sage-5.10.rc0.
>
> When I evaluate the following code:
>
> p = ReflexivePolytope(3,2)
> points = p.points().columns()
> pointConfig = PointConfiguration(points)
> regular = pointConfig.restrict_to_regular_triangulations(True)
> regular
>
> I get the error:
>
> You must install TOPCOM to test for regularity.
>
> But I have installed TOPCOM, using the command install_package('TOPCOM') in 
> the notebook!
>
> Any ideas what is going on?  The full traceback on my error message is:
>
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "_sage_input_12.py", line 10, in <module>
>     exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 
> -*-\\n" + 
> _support_.preparse_worksheet_cell(base64.b64decode("cCA9IFJlZmxleGl2ZVBvbHl0b3BlKDMsMikKcG9pbnRzID0gcC5wb2ludHMoKS5jb2x1bW5zKCkKcG9pbnRDb25maWcgPSBQb2ludENvbmZpZ3VyYXRpb24ocG9pbnRzKQpyZWd1bGFyID0gcG9pbnRDb25maWcucmVzdHJpY3RfdG9fcmVndWxhcl90cmlhbmd1bGF0aW9ucyhUcnVlKQpyZWd1bGFy"),globals())+"\\n");
>  execfile(os.path.abspath("___code___.py"))
>   File "", line 1, in <module>
>     
>   File "/tmp/tmpVZpwc_/___code___.py", line 6, in <module>
>     regular = pointConfig.restrict_to_regular_triangulations(True)
>   File 
> "/home/whitchua/sage-5.10.rc0/local/lib/python2.7/site-packages/sage/geometry/triangulation/point_configuration.py",
>  line 790, in restrict_to_regular_triangulations
>     star=self._star)
>   File "classcall_metaclass.pyx", line 330, in 
> sage.misc.classcall_metaclass.ClasscallMetaclass.__call__ 
> (build/cythonized/sage/misc/classcall_metaclass.c:1224)
>   File 
> "/home/whitchua/sage-5.10.rc0/local/lib/python2.7/site-packages/sage/geometry/triangulation/point_configuration.py",
>  line 311, in __classcall__
>     .__classcall__(cls, points, connected, fine, regular, star, 
> defined_affine)
>   File "cachefunc.pyx", line 992, in 
> sage.misc.cachefunc.WeakCachedFunction.__call__ 
> (build/cythonized/sage/misc/cachefunc.c:5394)
>   File 
> "/home/whitchua/sage-5.10.rc0/local/lib/python2.7/site-packages/sage/structure/unique_representation.py",
>  line 447, in __classcall__
>     instance = typecall(cls, *args, **options)
>   File "classcall_metaclass.pyx", line 518, in 
> sage.misc.classcall_metaclass.typecall 
> (build/cythonized/sage/misc/classcall_metaclass.c:1586)
>   File 
> "/home/whitchua/sage-5.10.rc0/local/lib/python2.7/site-packages/sage/geometry/triangulation/point_configuration.py",
>  line 342, in __init__
>     raise ValueError, 'You must install TOPCOM to test for regularity.'
> ValueError: You must install TOPCOM to test for regularity.
>
> --Ursula Whitcher.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to