Hi Darij, I get the same error that you get in sage-5.4 and sage-5.5.rc0 with the entire sage-combinat queue applied, both the sage.structure.coerce_dict.TripleDictEraser ValueError and the problem with StandardTableaux(3).list().
When you remove the sage-combinat patches, the error disappears, so I suggest you just do from your /sage-5.4.1/devel/sage-combinat directory sage -hg qpop -a sage -br and everything should work for you! Who is making changes to tableaux in the sage-combinat queue? Travis? Andrew? Perhaps you should check your code! Best wishes, Anne On 11/29/12 10:35 PM, Darij Grinberg wrote: > Hi Anne, > > sorry for bothering you with this, but I get something seriously weird > when I try to use the functions from sage/combinat/tableaux.py in > 5.4.1 (see the pasted output below). I have not done any changes since > reinstall this time. Upon a very quick glance, does this look like > I've failed at installing Sage or is tableaux.py currently a > construction area? > > Feel free to ignore if you are busy! > > Best regards and many thanks, > Darij > > ------------------------------------------------------------------------------------- > > darij@travis-virtualbox:~/sage-5.4.1$ ./sage > ---------------------------------------------------------------------- > | Sage Version 5.4.1, Release Date: 2012-11-15 | > | Type "notebook()" for the browser-based notebook interface. | > | Type "help()" for help. | > ---------------------------------------------------------------------- > Exception ValueError: '<weakref at 0x9ff111c; dead> is not in list' in > <sage.structure.coerce_dict.TripleDictEraser object at 0x918f7dc> > ignored > Exception ValueError: '<weakref at 0x9f882cc; dead> is not in list' in > <sage.structure.coerce_dict.TripleDictEraser object at 0x918f7dc> > ignored > Exception ValueError: '<weakref at 0xaa4417c; dead> is not in list' in > <sage.structure.coerce_dict.TripleDictEraser object at 0x918f7dc> > ignored > Loading Sage library. Current Mercurial branch is: combinat > sage: StandardTableaux(3).list() > --------------------------------------------------------------------------- > NotImplementedError Traceback (most recent call last) > > /home/darij/sage-5.4.1/<ipython console> in <module>() > > /home/darij/sage-5.4.1/local/lib/python2.7/site-packages/sage/combinat/tableau.pyc > in list(self) > 2812 NotImplementedError > 2813 """ > -> 2814 raise NotImplementedError > 2815 > 2816 def __iter__(self): > > NotImplementedError: > sage: StandardTableaux(3).cardinality() > --------------------------------------------------------------------------- > AttributeError Traceback (most recent call last) > > /home/darij/sage-5.4.1/<ipython console> in <module>() > > /home/darij/sage-5.4.1/local/lib/python2.7/site-packages/sage/combinat/tableau.pyc > in cardinality(self) > 4411 c = 0 > 4412 for p in sage.combinat.partition.Partitions(self.size): > -> 4413 c += StandardTableaux(p).cardinality() > 4414 return c > 4415 > > /home/darij/sage-5.4.1/local/lib/python2.7/site-packages/sage/combinat/tableau.pyc > in cardinality(self) > 4519 > 4520 number = factorial(sum(pi)) > -> 4521 hook = pi.hook_length_tableau() > 4522 > 4523 for row in range(len(pi)): > > /home/darij/sage-5.4.1/local/lib/python2.7/site-packages/sage/structure/element.so > in sage.structure.element.Element.__getattr__ > (sage/structure/element.c:3539)() > > /home/darij/sage-5.4.1/local/lib/python2.7/site-packages/sage/structure/misc.so > in sage.structure.misc.getattr_from_other_class > (sage/structure/misc.c:1427)() > > AttributeError: 'Partitions_n_with_category.element_class' object has > no attribute 'hook_length_tableau' > sage: -- 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.