#16660: 3 failing doctest in sage/coding with guava
-----------------------------+----------------------------
Reporter: ppurka | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.3
Component: coding theory | Keywords:
Merged in: | Authors:
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
-----------------------------+----------------------------
{{{
~/Installations/sage-git» sage -tp --optional=sage,gap_packages
src/sage/coding
Running doctests with ID 2014-07-16-19-21-12-c6433e4f.
Sorting sources by runtime so that slower doctests are run first....
Doctesting 17 files using 2 threads.
sage -t src/sage/coding/linear_code.py
**********************************************************************
File "src/sage/coding/linear_code.py", line 1416, in
sage.coding.linear_code.LinearCode.decode
Failed example:
C.decode(v, algorithm="guava") # optional - gap_packages (Guava
package)
Exception raised:
Traceback (most recent call last):
File "/home/punarbasu/Installations/sage-git/local/lib/python2.7
/site-packages/sage/doctest/forker.py", line 480, in _run
self.execute(example, compiled, test.globs)
File "/home/punarbasu/Installations/sage-git/local/lib/python2.7
/site-packages/sage/doctest/forker.py", line 839, in execute
exec compiled in globs
File "<doctest sage.coding.linear_code.LinearCode.decode[20]>", line
1, in <module>
C.decode(v, algorithm="guava") # optional - gap_packages (Guava
package)
File "/home/punarbasu/Installations/sage-git/local/lib/python2.7
/site-packages/sage/coding/linear_code.py", line 1440, in decode
result = gap.Decodeword(code, right_word)
File "/home/punarbasu/Installations/sage-git/local/lib/python2.7
/site-packages/sage/interfaces/interface.py", line 563, in __call__
return self._parent.function_call(self._name, list(args), kwds)
File "/home/punarbasu/Installations/sage-git/local/lib/python2.7
/site-packages/sage/interfaces/gap.py", line 898, in function_call
['%s=%s'%(key,value.name()) for key, value in kwds.items()])))
File "/home/punarbasu/Installations/sage-git/local/lib/python2.7
/site-packages/sage/interfaces/gap.py", line 570, in eval
result = Expect.eval(self, input_line, **kwds)
File "/home/punarbasu/Installations/sage-git/local/lib/python2.7
/site-packages/sage/interfaces/expect.py", line 1229, in eval
for L in code.split('\n') if L != ''])
File "/home/punarbasu/Installations/sage-git/local/lib/python2.7
/site-packages/sage/interfaces/gap.py", line 771, in _eval_line
raise RuntimeError(message)
RuntimeError: Gap produced error output
Error, List Element: <list>[2] must have an assigned value
executing Decodeword($sage5,$sage27);
**********************************************************************
File "src/sage/coding/linear_code.py", line 2304, in
sage.coding.linear_code.LinearCode.permutation_automorphism_group
Failed example:
C.permutation_automorphism_group(algorithm="gap") # optional -
gap_packages (Guava package)
Exception raised:
Traceback (most recent call last):
File "/home/punarbasu/Installations/sage-git/local/lib/python2.7
/site-packages/sage/doctest/forker.py", line 480, in _run
self.execute(example, compiled, test.globs)
File "/home/punarbasu/Installations/sage-git/local/lib/python2.7
/site-packages/sage/doctest/forker.py", line 839, in execute
exec compiled in globs
File "<doctest
sage.coding.linear_code.LinearCode.permutation_automorphism_group[21]>",
line 1, in <module>
C.permutation_automorphism_group(algorithm="gap") # optional -
gap_packages (Guava package)
File "/home/punarbasu/Installations/sage-git/local/lib/python2.7
/site-packages/sage/coding/linear_code.py", line 2345, in
permutation_automorphism_group
A = gap("MatrixAutomorphisms(matCwt)")
File "/home/punarbasu/Installations/sage-git/local/lib/python2.7
/site-packages/sage/interfaces/interface.py", line 199, in __call__
return cls(self, x, name=name)
File "/home/punarbasu/Installations/sage-git/local/lib/python2.7
/site-packages/sage/interfaces/expect.py", line 1312, in __init__
self._name = parent._create(value, name=name)
File "/home/punarbasu/Installations/sage-git/local/lib/python2.7
/site-packages/sage/interfaces/interface.py", line 389, in _create
self.set(name, value)
File "/home/punarbasu/Installations/sage-git/local/lib/python2.7
/site-packages/sage/interfaces/gap.py", line 1305, in set
out = self._eval_line(cmd, allow_use_file=True)
File "/home/punarbasu/Installations/sage-git/local/lib/python2.7
/site-packages/sage/interfaces/gap.py", line 771, in _eval_line
raise RuntimeError(message)
TypeError: Gap produced error output
Error, no method found! For debugging hints type ?Recovery from
NoMethodFound
Error, no 1st choice method found for `MatrixAutomorphisms' on 1
arguments
executing $sage26:=MatrixAutomorphisms(matCwt);;
**********************************************************************
File "src/sage/coding/linear_code.py", line 2306, in
sage.coding.linear_code.LinearCode.permutation_automorphism_group
Failed example:
C.permutation_automorphism_group(algorithm="gap") # optional -
gap_packages (Guava package)
Exception raised:
Traceback (most recent call last):
File "/home/punarbasu/Installations/sage-git/local/lib/python2.7
/site-packages/sage/doctest/forker.py", line 480, in _run
self.execute(example, compiled, test.globs)
File "/home/punarbasu/Installations/sage-git/local/lib/python2.7
/site-packages/sage/doctest/forker.py", line 839, in execute
exec compiled in globs
File "<doctest
sage.coding.linear_code.LinearCode.permutation_automorphism_group[23]>",
line 1, in <module>
C.permutation_automorphism_group(algorithm="gap") # optional -
gap_packages (Guava package)
File "/home/punarbasu/Installations/sage-git/local/lib/python2.7
/site-packages/sage/coding/linear_code.py", line 2345, in
permutation_automorphism_group
A = gap("MatrixAutomorphisms(matCwt)")
File "/home/punarbasu/Installations/sage-git/local/lib/python2.7
/site-packages/sage/interfaces/interface.py", line 199, in __call__
return cls(self, x, name=name)
File "/home/punarbasu/Installations/sage-git/local/lib/python2.7
/site-packages/sage/interfaces/expect.py", line 1312, in __init__
self._name = parent._create(value, name=name)
File "/home/punarbasu/Installations/sage-git/local/lib/python2.7
/site-packages/sage/interfaces/interface.py", line 389, in _create
self.set(name, value)
File "/home/punarbasu/Installations/sage-git/local/lib/python2.7
/site-packages/sage/interfaces/gap.py", line 1305, in set
out = self._eval_line(cmd, allow_use_file=True)
File "/home/punarbasu/Installations/sage-git/local/lib/python2.7
/site-packages/sage/interfaces/gap.py", line 771, in _eval_line
raise RuntimeError(message)
TypeError: Gap produced error output
Error, no method found! For debugging hints type ?Recovery from
NoMethodFound
Error, no 1st choice method found for `MatrixAutomorphisms' on 1
arguments
executing $sage11:=MatrixAutomorphisms(matCwt);;
**********************************************************************
2 items had failures:
1 of 23 in sage.coding.linear_code.LinearCode.decode
2 of 25 in
sage.coding.linear_code.LinearCode.permutation_automorphism_group
[398 tests, 3 failures, 36.46 s]
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/16660>
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/d/optout.