#6326: Reimplement Souvigner-calling code by PARI function
-----------------------------------+--------------------------
       Reporter:  was              |        Owner:  justin
           Type:  defect           |       Status:  needs_work
       Priority:  major            |    Milestone:  sage-6.8
      Component:  quadratic forms  |   Resolution:
       Keywords:                   |    Merged in:
        Authors:                   |    Reviewers:
Report Upstream:  N/A              |  Work issues:
         Branch:                   |       Commit:
   Dependencies:                   |     Stopgaps:
-----------------------------------+--------------------------
Changes (by jdemeyer):

 * milestone:  sage-6.4 => sage-6.8


Old description:

> These all fail.  This "souvigner" is not an optional or even experimental
> spkg.  I have no clue where to get it. Either this code has to go, or
> Souvigner_AUTO has to be made an optional spkg (which would be a very
> reasonable way to resolve this ticket).
>
> {{{
> sage -t -long --optional
> devel/sage/sage/quadratic_forms/quadratic_form__automorphisms.py
> sh: /scratch/wstein/build/sage-4.0.2.alpha3/local/bin/Souvigner_AUTO: not
> found
> sh: /scratch/wstein/build/sage-4.0.2.alpha3/local/bin/Souvigner_AUTO: not
> found
> sh: /scratch/wstein/build/sage-4.0.2.alpha3/local/bin/Souvigner_AUTO: not
> found
> **********************************************************************
> File "/scratch/wstein/build/sage-4.0.2.alpha3/devel/sage-
> main/sage/quadratic_forms/quadratic_form__automorphisms.py", line 257:
>     sage: Q.number_of_automorphisms()                     # optional --
> souvigner
> 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_3[3]>", line 1, in <module>
>         Q.number_of_automorphisms()                     # optional --
> souvigner###line 257:
>     sage: Q.number_of_automorphisms()                     # optional --
> souvigner
>       File "/scratch/wstein/build/sage-4.0.2.alpha3/local/lib/python2.5
> /site-packages/sage/quadratic_forms/quadratic_form__automorphisms.py",
> line 396, in number_of_automorphisms
>         self.__number_of_automorphisms =
> self.number_of_automorphisms__souvigner()
>       File "/scratch/wstein/build/sage-4.0.2.alpha3/local/lib/python2.5
> /site-packages/sage/quadratic_forms/quadratic_form__automorphisms.py",
> line 453, in number_of_automorphisms__souvigner
>         raise RuntimeError, "Oops! There is a problem..."
>     RuntimeError: Oops! There is a problem...
> **********************************************************************
> File "/scratch/wstein/build/sage-4.0.2.alpha3/devel/sage-
> main/sage/quadratic_forms/quadratic_form__automorphisms.py", line 265:
>     sage: Q.number_of_automorphisms()                     # optional --
> souvigner
> 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_3[7]>", line 1, in <module>
>         Q.number_of_automorphisms()                     # optional --
> souvigner###line 265:
>     sage: Q.number_of_automorphisms()                     # optional --
> souvigner
>       File "/scratch/wstein/build/sage-4.0.2.alpha3/local/lib/python2.5
> /site-packages/sage/quadratic_forms/quadratic_form__automorphisms.py",
> line 396, in number_of_automorphisms
>         self.__number_of_automorphisms =
> self.number_of_automorphisms__souvigner()
>       File "/scratch/wstein/build/sage-4.0.2.alpha3/local/lib/python2.5
> /site-packages/sage/quadratic_forms/quadratic_form__automorphisms.py",
> line 453, in number_of_automorphisms__souvigner
>         raise RuntimeError, "Oops! There is a problem..."
>     RuntimeError: Oops! There is a problem...
> **********************************************************************
> File "/scratch/wstein/build/sage-4.0.2.alpha3/devel/sage-
> main/sage/quadratic_forms/quadratic_form__automorphisms.py", line 363:
>     sage: Q.number_of_automorphisms(recompute=True)           # optional
> -- souvigner
> Exception raised:
>     Traceback (most recent call last):
>       File "/scratch/wstein/build/sage-4.0.2.alpha3/local/binsh:
> /scratch/wstein/build/sage-4.0.2.alpha3/local/bin/Souvigner_AUTO: not
> found
> sh: /scratch/wstein/build/sage-4.0.2.alpha3/local/bin/Souvigner_AUTO: not
> found
> /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_4[5]>", line 1, in <module>
>         Q.number_of_automorphisms(recompute=True)           # optional --
> souvigner###line 363:
>     sage: Q.number_of_automorphisms(recompute=True)           # optional
> -- souvigner
>       File "/scratch/wstein/build/sage-4.0.2.alpha3/local/lib/python2.5
> /site-packages/sage/quadratic_forms/quadratic_form__automorphisms.py",
> line 396, in number_of_automorphisms
>         self.__number_of_automorphisms =
> self.number_of_automorphisms__souvigner()
>       File "/scratch/wstein/build/sage-4.0.2.alpha3/local/lib/python2.5
> /site-packages/sage/quadratic_forms/quadratic_form__automorphisms.py",
> line 453, in number_of_automorphisms__souvigner
>         raise RuntimeError, "Oops! There is a problem..."
>     RuntimeError: Oops! There is a problem...
> **********************************************************************
> File "/scratch/wstein/build/sage-4.0.2.alpha3/devel/sage-
> main/sage/quadratic_forms/quadratic_form__automorphisms.py", line 365:
>     sage: Q.list_external_initializations()                   # optional
> -- souvigner
> Expected:
>     []
> Got:
>     ['number_of_automorphisms']
> **********************************************************************
> File "/scratch/wstein/build/sage-4.0.2.alpha3/devel/sage-
> main/sage/quadratic_forms/quadratic_form__automorphisms.py", line 369:
>     sage: Q.number_of_automorphisms()                         # optional
> -- souvigner
> 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_4[8]>", line 1, in <module>
>         Q.number_of_automorphisms()                         # optional --
> souvigner###line 369:
>     sage: Q.number_of_automorphisms()                         # optional
> -- souvigner
>       File "/scratch/wstein/build/sage-4.0.2.alpha3/local/lib/python2.5
> /site-packages/sage/quadratic_forms/quadratic_form__automorphisms.py",
> line 396, in number_of_automorphisms
>         self.__number_of_automorphisms =
> self.number_of_automorphisms__souvigner()
>       File "/scratch/wstein/build/sage-4.0.2.alpha3/local/lib/python2.5
> /site-packages/sage/quadratic_forms/quadratic_form__automorphisms.py",
> line 453, in number_of_automorphisms__souvigner
>         raise RuntimeError, "Oops! There is a problem..."
>     RuntimeError: Oops! There is a problem...
> **********************************************************************
> File "/scratch/wstein/build/sage-4.0.2.alpha3/devel/sage-
> main/sage/quadratic_forms/quadratic_form__automorphisms.py", line 410:
>     sage: Q.number_of_automorphisms__souvigner()
> # optional -- souvigner
> 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_5[3]>", line 1, in <module>
>         Q.number_of_automorphisms__souvigner()
> # optional -- souvigner###line 410:
>     sage: Q.number_of_automorphisms__souvigner()
> # optional -- souvigner
>       File "/scratch/wstein/build/sage-4.0.2.alpha3/local/lib/python2.5
> /site-packages/sage/quadratic_forms/quadratic_form__automorphisms.py",
> line 453, in number_of_automorphisms__souvigner
>         raise RuntimeError, "Oops! There is a problem..."
>     RuntimeError: Oops! There is a problem...
> **********************************************************************
> 3 items had failures:
>    2 of  15 in __main__.example_3
>    3 of  12 in __main__.example_4
>    1 of   5 in __main__.example_5
> ***Test Failed*** 6 failures.
> For whitespace errors, see the file
> /home/wstein/build/sage-4.0.2.alpha3/tmp/.doctest_quadratic_form__automorphisms.p
> }}}

New description:

 All `optional -- souvigner` code should be replaced by calls to PARI.

--

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