Re: [sage-devel] problems installing TOPCOM for triangulations?

2013-07-01 Thread Volker Braun
This sounds even worse, the triangulation module is pure python but you got 
an exception ignored which must have come from some C/Cython code. 


On Monday, July 1, 2013 5:22:44 PM UTC-4, William wrote:
>
> Exception pexpect.ExceptionPexpect: ExceptionPexpect() in  object _TOPCOM_exec at 0x9185c30> ignored 
> A point configuration in QQ^3 consisting of 6 points. The 
> triangulations of this point configuration are assumed to be 
> connected, not necessarily fine, regular. 
>
>

-- 
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.




[sage-devel] problems installing TOPCOM for triangulations?

2013-07-01 Thread Ursula
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 "", line 1, in 
  File "_sage_input_12.py", line 10, in 
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 

  File "/tmp/tmpVZpwc_/___code___.py", line 6, in 
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.