#15309: Symmetric group algebra creating algebra generators using
_element_constructor_
------------------------------------+-----------------------------
Reporter: tscrim | Owner: sage-combinat
Type: defect | Status: needs_review
Priority: major | Milestone: sage-5.13
Component: coercion | Resolution:
Keywords: | Merged in:
Authors: Travis Scrimshaw | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
------------------------------------+-----------------------------
Comment (by darij):
Did you miss some dependency or export the wrong phase?
{{{
darij@travis-virtualbox:~/sage-5.13.beta0$ ./sage -bt devel/sage-
main/sage/combinat/symmetric_group_algebra.py
----------------------------------------------------------
sage: Building and installing modified Sage library files.
Installing c_lib
scons: `install' is up to date.
Updating Cython code....
Finished compiling Cython code (time = 4.18366098404 seconds)
running install
running build
running build_py
copying sage/combinat/symmetric_group_algebra.py ->
build/lib.linux-i686-2.7/sage/combinat
running build_ext
Executing 0 commands (using 1 thread)
Time to execute 0 commands: 0.00317311286926 seconds
Total time spent compiling C/C++ extensions: 0.187358856201 seconds.
running install_lib
copying build/lib.linux-i686-2.7/sage/combinat/symmetric_group_algebra.py
-> /home/darij/sage-5.13.beta0/local/lib/python2.7/site-
packages/sage/combinat
byte-compiling /home/darij/sage-5.13.beta0/local/lib/python2.7/site-
packages/sage/combinat/symmetric_group_algebra.py to
symmetric_group_algebra.pyc
running install_egg_info
Removing /home/darij/sage-5.13.beta0/local/lib/python2.7/site-
packages/sage-0.0.0-py2.7.egg-info
Writing /home/darij/sage-5.13.beta0/local/lib/python2.7/site-
packages/sage-0.0.0-py2.7.egg-info
Running doctests with ID 2013-10-24-19-33-22-3ec85cf5.
Doctesting 1 file.
sage -t devel/sage-main/sage/combinat/symmetric_group_algebra.py
**********************************************************************
File "devel/sage-main/sage/combinat/symmetric_group_algebra.py", line 447,
in
sage.combinat.symmetric_group_algebra.SymmetricGroupAlgebra_n.algebra_generators
Failed example:
SymmetricGroupAlgebra(ZZ,5).algebra_generators()
Exception raised:
Traceback (most recent call last):
File "/home/darij/sage-5.13.beta0/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 479, in _run
self.execute(example, compiled, test.globs)
File "/home/darij/sage-5.13.beta0/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 838, in execute
exec compiled in globs
File "<doctest
sage.combinat.symmetric_group_algebra.SymmetricGroupAlgebra_n.algebra_generators[0]>",
line 1, in <module>
SymmetricGroupAlgebra(ZZ,Integer(5)).algebra_generators()
File "/home/darij/sage-5.13.beta0/local/lib/python2.7/site-
packages/sage/combinat/symmetric_group_algebra.py", line 474, in
algebra_generators
return [self.monomial(self._indices(a)),
self.monomial(self._indices(b))]
File "parent.pyx", line 761, in
sage.structure.parent.Parent.__getattr__ (sage/structure/parent.c:6823)
File "misc.pyx", line 251, in
sage.structure.misc.getattr_from_other_class (sage/structure/misc.c:1606)
AttributeError: 'SymmetricGroupAlgebra_n_with_category' object has no
attribute '_indices'
**********************************************************************
File "devel/sage-main/sage/combinat/symmetric_group_algebra.py", line 461,
in
sage.combinat.symmetric_group_algebra.SymmetricGroupAlgebra_n.algebra_generators
Failed example:
S3.algebra_generators()
Exception raised:
Traceback (most recent call last):
File "/home/darij/sage-5.13.beta0/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 479, in _run
self.execute(example, compiled, test.globs)
File "/home/darij/sage-5.13.beta0/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 838, in execute
exec compiled in globs
File "<doctest
sage.combinat.symmetric_group_algebra.SymmetricGroupAlgebra_n.algebra_generators[4]>",
line 1, in <module>
S3.algebra_generators()
File "/home/darij/sage-5.13.beta0/local/lib/python2.7/site-
packages/sage/combinat/symmetric_group_algebra.py", line 474, in
algebra_generators
return [self.monomial(self._indices(a)),
self.monomial(self._indices(b))]
File "parent.pyx", line 761, in
sage.structure.parent.Parent.__getattr__ (sage/structure/parent.c:6823)
File "misc.pyx", line 251, in
sage.structure.misc.getattr_from_other_class (sage/structure/misc.c:1606)
AttributeError: 'SymmetricGroupAlgebra_n_with_category' object has no
attribute '_indices'
**********************************************************************
1 item had failures:
2 of 9 in
sage.combinat.symmetric_group_algebra.SymmetricGroupAlgebra_n.algebra_generators
[222 tests, 2 failures, 5.22 s]
----------------------------------------------------------------------
sage -t devel/sage-main/sage/combinat/symmetric_group_algebra.py # 2
doctests failed
----------------------------------------------------------------------
Total time for all tests: 5.3 seconds
cpu time: 3.2 seconds
cumulative wall time: 5.2 seconds
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/15309#comment:3>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.