#17616: Cleanup in the thematic tutorials
-------------------------+-------------------------------------------------
Reporter: | Owner:
ncohen | Status: needs_work
Type: | Milestone: sage-6.5
enhancement | Resolution:
Priority: major | Merged in:
Component: | Reviewers: Marc Mezzarobba
documentation | Work issues:
Keywords: | Commit:
Authors: | e1f7d372f767027c6ee8135c80585726ac028633
Nathann Cohen | Stopgaps:
Report Upstream: N/A |
Branch: |
public/17616 |
Dependencies: |
#17615 |
-------------------------+-------------------------------------------------
Changes (by vbraun):
* status: positive_review => needs_work
Comment:
{{{
sage -t --long --warn-long 40.6
src/doc/en/thematic_tutorials/coding_theory.rst
**********************************************************************
File "src/doc/en/thematic_tutorials/coding_theory.rst", line 87, in
doc.en.thematic_tutorials.coding_theory
Failed example:
C = best_known_linear_code(6,3,GF(2))
Exception raised:
Traceback (most recent call last):
File "/mnt/disk/home/release/Sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 488, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/mnt/disk/home/release/Sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 850, in compile_and_execute
exec(compiled, globs)
File "<doctest doc.en.thematic_tutorials.coding_theory[2]>", line 1,
in <module>
C = best_known_linear_code(Integer(6),Integer(3),GF(Integer(2)))
File "/mnt/disk/home/release/Sage/local/lib/python2.7/site-
packages/sage/coding/linear_code.py", line 437, in best_known_linear_code
C = gap("BestKnownLinearCode(%s,%s,GF(%s))"%(n,k,q))
File "/mnt/disk/home/release/Sage/local/lib/python2.7/site-
packages/sage/interfaces/interface.py", line 199, in __call__
return cls(self, x, name=name)
File "/mnt/disk/home/release/Sage/local/lib/python2.7/site-
packages/sage/interfaces/expect.py", line 1307, in __init__
self._name = parent._create(value, name=name)
File "/mnt/disk/home/release/Sage/local/lib/python2.7/site-
packages/sage/interfaces/interface.py", line 389, in _create
self.set(name, value)
File "/mnt/disk/home/release/Sage/local/lib/python2.7/site-
packages/sage/interfaces/gap.py", line 1305, in set
out = self._eval_line(cmd, allow_use_file=True)
File "/mnt/disk/home/release/Sage/local/lib/python2.7/site-
packages/sage/interfaces/gap.py", line 771, in _eval_line
raise RuntimeError(message)
TypeError: Gap produced error output
Error, Variable: 'BestKnownLinearCode' must have a value
executing $sage4:=BestKnownLinearCode(6,3,GF(2));;
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/17616#comment:20>
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.