#6314: [with patch, positive review] optional doctest failure -- many failures 
in
linear_codes related to wtdist
--------------------------------------+-------------------------------
       Reporter:  was                 |        Owner:  tbd
           Type:  defect              |       Status:  closed
       Priority:  major               |    Milestone:  sage-4.1
      Component:  packages: optional  |   Resolution:  fixed
       Keywords:                      |    Merged in:  sage-4.1.alpha0
        Authors:  David Joyner        |    Reviewers:  Robert Miller
Report Upstream:  N/A                 |  Work issues:
         Branch:                      |       Commit:
   Dependencies:                      |     Stopgaps:
--------------------------------------+-------------------------------
Changes (by chapoton):

 * upstream:   => N/A


Old description:

> {{{
> sage -t -long --optional devel/sage/sage/coding/linear_code.py
> sh:
> /scratch/wstein/build/sage-4.0.2.alpha3/local/lib/gap-4.4.10/pkg/guava3.6/bin/leon/wtdist:
> not found
> sh:
> /scratch/wstein/build/sage-4.0.2.alpha3/local/lib/gap-4.4.10/pkg/guava3.6/bin/leon/wtdist:
> not found
> sh:
> /scratch/wstein/build/sage-4.0.2.alpha3/local/lib/gap-4.4.10/pkg/guava3.6/bin/leon/wtdist:
> not found
> **********************************************************************
> File "/scratch/wstein/build/sage-4.0.2.alpha3/devel/sage-
> main/sage/coding/linear_code.py", line 2188:
>     sage: C.spectrum(method="leon")   # requires optional GAP package
> Guava
> Exception raised:
>     Traceback (most recent call last):
>       File
> "/scratch/wstein/build/sage-4.0.2.alpha3/local/bin/ncadoctest.py", line
> 1231, in run_one_test
>         self.run_one_example(test, example, filename, compileflags)
>       File
> "/scratch/wstein/build/sage-4.0.2.alpha3/local/bin/sagedoctest.py", line
> 38, in run_one_example
>         OrigDocTestRunner.run_one_example(self, test, example, filename,
> compileflags)
>       File
> "/scratch/wstein/build/sage-4.0.2.alpha3/local/bin/ncadoctest.py", line
> 1172, in run_one_example
>         compileflags, 1) in test.globs
>       File "<doctest __main__.example_44[10]>", line 1, in <module>
>         C.spectrum(method="leon")   # requires optional GAP package
> Guava###line 2188:
>     sage: C.spectrum(method="leon")   # requires optional GAP package
> Guava
>       File "/scratch/wstein/build/sage-4.0.2.alpha3/local/lib/python2.5
> /site-packages/sage/coding/linear_code.py", line 2236, in spectrum
>         raise RuntimeError("Problem calling Leon's wtdist program.")
>     RuntimeError: Problem calling Leon's wtdist program.
> **********************************************************************
> File "/scratch/wstein/build/sage-4.0.2.alpha3/devel/sage-
> main/sage/coding/linear_code.py", line 2196:
>     sage: C.spectrum() == C.spectrum(method="leon")   # requires optional
> GAP package Guava
> Exception raised:
>     Traceback (most recent call last):
>       File
> "/scratch/wstein/build/sage-4.0.2.alpha3/local/bin/ncadoctest.py", line
> 1231, in run_one_test
>         self.run_one_example(test, example, filename, compileflags)
>       File
> "/scratch/wstein/build/sage-4.0.2.alpha3/local/bin/sagedoctest.py", line
> 38, in run_one_example
>         OrigDocTestRunner.run_one_example(self, test, example, filename,
> compileflags)
>       File
> "/scratch/wstein/build/sage-4.0.2.alpha3/local/bin/ncadoctest.py", line
> 1172, in run_one_example
>         compileflags, 1) in test.globs
>       File "<doctest __main__.example_44[14]>", line 1, in <module>
>         C.spectrum() == C.spectrum(method="leon")   # requires optional
> GAP package Guava###line 2196:
>     sage: C.spectrum() == C.spectrum(method="leon")   # requires optional
> GAP package Guava
>       File "/scratch/wstein/build/sage-4.0.2.alpha3/local/lib/python2.5
> /site-packages/sage/coding/linear_code.py", line 2236, in spectrum
>         raise RuntimeError("Problem calling Leon's wtdist program.")
>     RuntimeError: Problem calling Leon's wtdist program.
> **********************************************************************
> File "/scratch/wstein/build/sage-4.0.2.alpha3/devel/sage-
> main/sage/coding/linear_code.py", line 2200:
>     sage: C.spectrum() == C.spectrum(method="leon")   # requires optional
> GAP package Guava
> Exception raised:
>     Traceback (most recent call last):
>       File
> "/scratch/wstein/build/sage-4.0.2.alpha3/local/bin/ncadoctest.py", line
> 1231, in run_one_test
>         self.run_one_example(test, example, filename, compileflags)
>       File
> "/scratch/wstein/build/sage-4.0.2.alpha3/local/bin/sagedoctest.py", line
> 38, in run_one_example
>         OrigDocTestRunner.run_one_example(self, test, example, filename,
> compileflags)
>       File
> "/scratch/wstein/build/sage-4.0.2.alpha3/local/bin/ncadoctest.py", line
> 1172, in run_one_example
>         compileflags, 1) in test.globs
>       File "<doctest __main__.example_44[16]>", line 1, in <module>
>         C.spectrum() == C.spectrum(method="leon")   # requires optional
> GAP package Guava###line 2200sh:
> /scratch/wstein/build/sage-4.0.2.alpha3/local/lib/gap-4.4.10/pkg/guava3.6/bin/leon/wtdist:
> not found
> :
>     sage: C.spectrum() == C.spectrum(method="leon")   # requires optional
> GAP package Guava
>       File "/scratch/wstein/build/sage-4.0.2.alpha3/local/lib/python2.5
> /site-packages/sage/coding/linear_code.py", line 2236, in spectrum
>         raise RuntimeError("Problem calling Leon's wtdist program.")
>     RuntimeError: Problem calling Leon's wtdist program.
> **********************************************************************
> File "/scratch/wstein/build/sage-4.0.2.alpha3/devel/sage-
> main/sage/coding/linear_code.py", line 2204:
>     sage: C.spectrum() == C.spectrum(method="leon")   # requires optional
> GAP package Guava
> Exception raised:
>     Traceback (most recent call last):
>       File
> "/scratch/wstein/build/sage-4.0.2.alpha3/local/bin/ncadoctest.py", line
> 1231, in run_one_test
>         self.run_one_example(test, example, filename, compileflags)
>       File
> "/scratch/wstein/build/sage-4.0.2.alpha3/local/bin/sagedoctest.py", line
> 38, in run_one_example
>         OrigDocTestRunner.run_one_example(self, test, example, filename,
> compileflags)
>       File
> "/scratch/wstein/build/sage-4.0.2.alpha3/local/bin/ncadoctest.py", line
> 1172, in run_one_example
>         compileflags, 1) in test.globs
>       File "<doctest __main__.example_44[18]>", line 1, in <module>
>         C.spectrum() == C.spectrum(method="leon")   # requires optional
> GAP package Guava###line 2204:
>     sage: C.spectrum() == C.spectrum(method="leon")   # requires optional
> GAP package Guava
>       File "/scratch/wstein/build/sage-4.0.2.alpha3/local/lib/python2.5
> /site-packages/sage/coding/linear_code.py", line 2236, in spectrum
>         raise RuntimeError("Problem calling Leon's wtdist program.")
>     RuntimeError: Problem calling Leon's wtdist program.
> **********************************************************************
> 1 items had failures:
>    4 of  19 in __main__.example_44
> ***Test Failed*** 4 failures.
> For whitespace errors, see the file
> /home/wstein/build/sage-4.0.2.alpha3/tmp/.doctest_linear_code.py
>          [22.0 s]
> }}}

New description:

 {{{
 sage -t -long --optional devel/sage/sage/coding/linear_code.py
 sh:
 
/scratch/wstein/build/sage-4.0.2.alpha3/local/lib/gap-4.4.10/pkg/guava3.6/bin/leon/wtdist:
 not found
 sh:
 
/scratch/wstein/build/sage-4.0.2.alpha3/local/lib/gap-4.4.10/pkg/guava3.6/bin/leon/wtdist:
 not found
 sh:
 
/scratch/wstein/build/sage-4.0.2.alpha3/local/lib/gap-4.4.10/pkg/guava3.6/bin/leon/wtdist:
 not found
 **********************************************************************
 File "/scratch/wstein/build/sage-4.0.2.alpha3/devel/sage-
 main/sage/coding/linear_code.py", line 2188:
     sage: C.spectrum(method="leon")   # requires optional GAP package
 Guava
 Exception raised:
     Traceback (most recent call last):
       File
 "/scratch/wstein/build/sage-4.0.2.alpha3/local/bin/ncadoctest.py", line
 1231, in run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File
 "/scratch/wstein/build/sage-4.0.2.alpha3/local/bin/sagedoctest.py", line
 38, in run_one_example
         OrigDocTestRunner.run_one_example(self, test, example, filename,
 compileflags)
       File
 "/scratch/wstein/build/sage-4.0.2.alpha3/local/bin/ncadoctest.py", line
 1172, in run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_44[10]>", line 1, in <module>
         C.spectrum(method="leon")   # requires optional GAP package
 Guava###line 2188:
     sage: C.spectrum(method="leon")   # requires optional GAP package
 Guava
       File "/scratch/wstein/build/sage-4.0.2.alpha3/local/lib/python2.5
 /site-packages/sage/coding/linear_code.py", line 2236, in spectrum
         raise RuntimeError("Problem calling Leon's wtdist program.")
     RuntimeError: Problem calling Leon's wtdist program.
 **********************************************************************
 File "/scratch/wstein/build/sage-4.0.2.alpha3/devel/sage-
 main/sage/coding/linear_code.py", line 2196:
     sage: C.spectrum() == C.spectrum(method="leon")   # requires optional
 GAP package Guava
 Exception raised:
     Traceback (most recent call last):
       File
 "/scratch/wstein/build/sage-4.0.2.alpha3/local/bin/ncadoctest.py", line
 1231, in run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File
 "/scratch/wstein/build/sage-4.0.2.alpha3/local/bin/sagedoctest.py", line
 38, in run_one_example
         OrigDocTestRunner.run_one_example(self, test, example, filename,
 compileflags)
       File
 "/scratch/wstein/build/sage-4.0.2.alpha3/local/bin/ncadoctest.py", line
 1172, in run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_44[14]>", line 1, in <module>
         C.spectrum() == C.spectrum(method="leon")   # requires optional
 GAP package Guava###line 2196:
     sage: C.spectrum() == C.spectrum(method="leon")   # requires optional
 GAP package Guava
       File "/scratch/wstein/build/sage-4.0.2.alpha3/local/lib/python2.5
 /site-packages/sage/coding/linear_code.py", line 2236, in spectrum
         raise RuntimeError("Problem calling Leon's wtdist program.")
     RuntimeError: Problem calling Leon's wtdist program.
 **********************************************************************
 File "/scratch/wstein/build/sage-4.0.2.alpha3/devel/sage-
 main/sage/coding/linear_code.py", line 2200:
     sage: C.spectrum() == C.spectrum(method="leon")   # requires optional
 GAP package Guava
 Exception raised:
     Traceback (most recent call last):
       File
 "/scratch/wstein/build/sage-4.0.2.alpha3/local/bin/ncadoctest.py", line
 1231, in run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File
 "/scratch/wstein/build/sage-4.0.2.alpha3/local/bin/sagedoctest.py", line
 38, in run_one_example
         OrigDocTestRunner.run_one_example(self, test, example, filename,
 compileflags)
       File
 "/scratch/wstein/build/sage-4.0.2.alpha3/local/bin/ncadoctest.py", line
 1172, in run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_44[16]>", line 1, in <module>
         C.spectrum() == C.spectrum(method="leon")   # requires optional
 GAP package Guava###line 2200sh:
 
/scratch/wstein/build/sage-4.0.2.alpha3/local/lib/gap-4.4.10/pkg/guava3.6/bin/leon/wtdist:
 not found
 :
     sage: C.spectrum() == C.spectrum(method="leon")   # requires optional
 GAP package Guava
       File "/scratch/wstein/build/sage-4.0.2.alpha3/local/lib/python2.5
 /site-packages/sage/coding/linear_code.py", line 2236, in spectrum
         raise RuntimeError("Problem calling Leon's wtdist program.")
     RuntimeError: Problem calling Leon's wtdist program.
 **********************************************************************
 File "/scratch/wstein/build/sage-4.0.2.alpha3/devel/sage-
 main/sage/coding/linear_code.py", line 2204:
     sage: C.spectrum() == C.spectrum(method="leon")   # requires optional
 GAP package Guava
 Exception raised:
     Traceback (most recent call last):
       File
 "/scratch/wstein/build/sage-4.0.2.alpha3/local/bin/ncadoctest.py", line
 1231, in run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File
 "/scratch/wstein/build/sage-4.0.2.alpha3/local/bin/sagedoctest.py", line
 38, in run_one_example
         OrigDocTestRunner.run_one_example(self, test, example, filename,
 compileflags)
       File
 "/scratch/wstein/build/sage-4.0.2.alpha3/local/bin/ncadoctest.py", line
 1172, in run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_44[18]>", line 1, in <module>
         C.spectrum() == C.spectrum(method="leon")   # requires optional
 GAP package Guava###line 2204:
     sage: C.spectrum() == C.spectrum(method="leon")   # requires optional
 GAP package Guava
       File "/scratch/wstein/build/sage-4.0.2.alpha3/local/lib/python2.5
 /site-packages/sage/coding/linear_code.py", line 2236, in spectrum
         raise RuntimeError("Problem calling Leon's wtdist program.")
     RuntimeError: Problem calling Leon's wtdist program.
 **********************************************************************
 1 items had failures:
    4 of  19 in __main__.example_44
 ***Test Failed*** 4 failures.
 For whitespace errors, see the file
 /home/wstein/build/sage-4.0.2.alpha3/tmp/.doctest_linear_code.py
  [22.0 s]
 }}}

--

--
Ticket URL: <http://trac.sagemath.org/ticket/6314#comment:5>
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.

Reply via email to