"Nicolas M. Thiery" <nicolas.thi...@u-psud.fr> writes: > Hi Martin, > > On Mon, Feb 28, 2011 at 05:26:35PM +0100, Martin Rubey wrote: >> Dear heros, > > :-) > >> sage -combinat install >> >> but it failed:
> Fixed and pushed! many thanks, now it works! Just discovered a slight glitch. Fortunately p^-1 works! All the best, Martin sage: sage: p = PermutationGroupElement([1, 2, 6, 5, 3, 4]) sage: p.inverse() 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', (107, 0)) 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', (646, 0)) --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) /home/martin/martin/TeXSource/Mathematik/RubeyStump/<ipython console> in <module>() /home/martin/SAGE/local/lib/python2.6/site-packages/sage/categories/coxeter_groups.pyc in inverse(self) 1163 """ 1164 -> 1165 return self.parent().one().apply_simple_reflections(self.reduced_word_reverse_iterator()) 1166 1167 __invert__ = inverse /home/martin/SAGE/local/lib/python2.6/site-packages/sage/categories/coxeter_groups.pyc in apply_simple_reflections(self, word, side) 1083 (0, 1, 3, 2) 1084 """ -> 1085 for i in word: 1086 self = self.apply_simple_reflection(i, side) 1087 return self /home/martin/SAGE/local/lib/python2.6/site-packages/sage/categories/coxeter_groups.pyc in reduced_word_reverse_iterator(self) 840 if i is None: 841 return --> 842 self = self.apply_simple_reflection(i, 'right') 843 yield i 844 /home/martin/SAGE/local/lib/python2.6/site-packages/sage/categories/coxeter_groups.pyc in apply_simple_reflection(self, i, side) 1113 """ 1114 if side == 'right': -> 1115 return self.apply_simple_reflection_right(i) 1116 else: 1117 return self.apply_simple_reflection_left(i) /home/martin/SAGE/local/lib/python2.6/site-packages/sage/categories/coxeter_groups.pyc in apply_simple_reflection_right(self, i) 1103 1104 """ -> 1105 s = self.parent().simple_reflections() 1106 return self * s[i] 1107 /home/martin/SAGE/local/lib/python2.6/site-packages/sage/misc/cachefunc.pyc in __call__(self, *args, **kwds) 329 2 330 """ --> 331 return self._cachedmethod._instance_call(self._instance, *args, **kwds) 332 333 def get_cache(self, *args, **kwds): /home/martin/SAGE/local/lib/python2.6/site-packages/sage/misc/cachefunc.pyc in _instance_call(self, inst, *args, **kwds) 473 return cache[key] 474 else: --> 475 cache[key] = self._cachedfunc.f(inst, *args, **kwds) 476 return cache[key] 477 /home/martin/SAGE/local/lib/python2.6/site-packages/sage/categories/coxeter_groups.pyc in simple_reflections(self) 429 """ 430 from sage.sets.family import Family --> 431 return Family(self.index_set(), self.simple_reflection) 432 433 def group_generators(self): /home/martin/SAGE/local/lib/python2.6/site-packages/sage/misc/classcall_metaclass.pyc in __call__(cls, *args, **options) 258 """ 259 if '__classcall_private__' in cls.__dict__: --> 260 return cls.__classcall_private__(cls, *args, **options) 261 elif hasattr(cls, "__classcall__"): 262 return cls.__classcall__(cls, *args, **options) /home/martin/SAGE/local/lib/python2.6/site-packages/sage/sets/family.pyc in __classcall_private__(cls, indices, function, hidden_keys, hidden_function, lazy) 365 elif ( isinstance(indices, (list, tuple, FiniteEnumeratedSet) ) 366 and not lazy): --> 367 return FiniteFamily(dict([(i, function(i)) for i in indices]), 368 keys = indices) 369 else: /home/martin/SAGE/local/lib/python2.6/site-packages/sage/groups/perm_gps/permgroup_named.pyc in simple_reflection(self, i) 312 Finite family {2: (2,3), 3: (3,7)} 313 """ --> 314 return self([(i, self._set[self._domain.index(i)+1])], check=False) 315 316 def major_index(self, parameter=None): /home/martin/SAGE/local/lib/python2.6/site-packages/sage/structure/parent.so in sage.structure.parent.Parent.__getattr__ (sage/structure/parent.c:5574)() /home/martin/SAGE/local/lib/python2.6/site-packages/sage/structure/parent.so in sage.structure.parent.getattr_from_other_class (sage/structure/parent.c:2770)() /home/martin/SAGE/local/lib/python2.6/site-packages/sage/structure/parent.so in sage.structure.parent.raise_attribute_error (sage/structure/parent.c:2646)() AttributeError: 'SymmetricGroup_with_category' object has no attribute '_set' -- You received this message because you are subscribed to the Google Groups "sage-combinat-devel" group. To post to this group, send email to sage-combinat-devel@googlegroups.com. To unsubscribe from this group, send email to sage-combinat-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sage-combinat-devel?hl=en.