[sage-combinat-devel] Re: tableaux in 5.4.1
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: ' is not in list' in > > ignored > Exception ValueError: ' is not in list' in > > ignored > Exception ValueError: ' is not in list' in > > 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/ in () > > /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() > --- > AttributeErrorTraceback (most recent call last) > > /home/darij/sage-5.4.1/ in () > > /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.
[sage-combinat-devel] Re: tableaux in 5.4.1
Hi Anne, The problem appears after trac_13605-partition_options-ts.patch is applied. Andrew -- -- | Sage Version 5.4.1, Release Date: 2012-11-15 | | Type "notebook()" for the browser-based notebook interface.| | Type "help()" for help.| -- Loading Sage library. Current Mercurial branch is: combinat sage: StandardTableaux(3).list() [[[1, 2, 3]], [[1, 3], [2]], [[1, 2], [3]], [[1], [2], [3]]] sage: Exiting Sage (CPU time 0m0.03s, Wall time 0m25.64s). combinat: sage -hg qpush applying trac_13605-partition_options-ts.patch now at: trac_13605-partition_options-ts.patch combinat: sage -br ... -- | Sage Version 5.4.1, Release Date: 2012-11-15 | | Type "notebook()" for the browser-based notebook interface.| | Type "help()" for help.| -- Loading Sage library. Current Mercurial branch is: combinat sage: StandardTableaux(3).list() 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', (505, 0)) --- NotImplementedError Traceback (most recent call last) /usr/local/src/sage/sage-5.4.1/devel/sage-combinat/sage/combinat/ in () /usr/local/src/sage/sage-5.4.1/local/lib/python2.7/site-packages/sage/combinat/tableau.pyc in list(self) 2566 NotImplementedError 2567 """ -> 2568 raise NotImplementedError 2569 2570 def __iter__(self): NotImplementedError: -- You received this message because you are subscribed to the Google Groups "sage-combinat-devel" group. To view this discussion on the web visit https://groups.google.com/d/msg/sage-combinat-devel/-/k-UpGbWMyOoJ. 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.
[sage-combinat-devel] Re: tableaux in 5.4.1
Sorry, correction: there are currently two problems with the queue: - trac_13605-partition_options-ts.patch causes StandardTableaux() and friends to die. - finite_semigroup-nt.patch is causing the weakref warnings. (In fact, sage won't run when the queue is applied up to this patch but applying the next patch in the queue fixes this.) Btw, rebuilding sage after moving up and down the queue is taking a huge amount of time now. Does anyone know why? Andrew -- You received this message because you are subscribed to the Google Groups "sage-combinat-devel" group. To view this discussion on the web visit https://groups.google.com/d/msg/sage-combinat-devel/-/2utdr9B9giQJ. 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.
[sage-combinat-devel] Re: tableaux in 5.4.1
Hey Anne, Darij, I missed one of the *length_tableau() functions when I was removing it. It should work now. Best, Travis On Friday, November 30, 2012 12:10:15 AM UTC-8, Andrew Mathas wrote: > > Hi Anne, > > The problem appears after trac_13605-partition_options-ts.patch is applied. > > Andrew > > -- > > -- > | Sage Version 5.4.1, Release Date: 2012-11-15 | > | Type "notebook()" for the browser-based notebook interface.| > | Type "help()" for help.| > -- > Loading Sage library. Current Mercurial branch is: combinat > sage: StandardTableaux(3).list() > [[[1, 2, 3]], [[1, 3], [2]], [[1, 2], [3]], [[1], [2], [3]]] > sage: > Exiting Sage (CPU time 0m0.03s, Wall time 0m25.64s). > combinat: sage -hg qpush > applying trac_13605-partition_options-ts.patch > now at: trac_13605-partition_options-ts.patch > combinat: sage -br > ... > -- > | Sage Version 5.4.1, Release Date: 2012-11-15 | > | Type "notebook()" for the browser-based notebook interface.| > | Type "help()" for help.| > -- > Loading Sage library. Current Mercurial branch is: combinat > sage: StandardTableaux(3).list() > 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', (505, 0)) > > --- > NotImplementedError Traceback (most recent call last) > > /usr/local/src/sage/sage-5.4.1/devel/sage-combinat/sage/combinat/ console> in () > > /usr/local/src/sage/sage-5.4.1/local/lib/python2.7/site-packages/sage/combinat/tableau.pyc > > in list(self) >2566 NotImplementedError >2567 """ > -> 2568 raise NotImplementedError >2569 >2570 def __iter__(self): > > NotImplementedError: > -- You received this message because you are subscribed to the Google Groups "sage-combinat-devel" group. To view this discussion on the web visit https://groups.google.com/d/msg/sage-combinat-devel/-/8m0ac7CQO6AJ. 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.
Re: [sage-combinat-devel] Re: tableaux in 5.4.1
On Fri, Nov 30, 2012 at 12:44:15AM -0800, Andrew Mathas wrote: > * finite_semigroup-nt.patch is causing the weakref warnings. (In fact, >sage won't run when the queue is applied up to this patch but applying >the next patch in the queue fixes this.) Ok, I'll look at this now. >Btw, rebuilding sage after moving up and down the queue is taking a huge >amount of time now. Does anyone know why? Yup: On Fri, Nov 23, 2012 at 03:38:29PM +0100, Nicolas M. Thiery wrote: > Note: to make the rebase easier, I had to backport 715 for Sage > <5.5.beta0. The inconvenient is that this patch triggers the > recompilation of most of the Sage library. So everyone doing regular > development will probably want to switch to 5.5.rc0. Cheers, Nicolas -- Nicolas M. ThiƩry "Isil" http://Nicolas.Thiery.name/ -- 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.