#16302: "sage -tp 4 --all --long --optional=sage,internet"  fails with 14 
modules
------------------------------------+------------------------
       Reporter:  wluebbe           |        Owner:
           Type:  defect            |       Status:  new
       Priority:  major             |    Milestone:  sage-6.2
      Component:  doctest coverage  |   Resolution:
       Keywords:                    |    Merged in:
        Authors:                    |    Reviewers:
Report Upstream:  N/A               |  Work issues:
         Branch:                    |       Commit:
   Dependencies:                    |     Stopgaps:
------------------------------------+------------------------

Comment (by wluebbe):

 * <1> Changed {{{http://oeis.org/}}} response: a blank was removed.
 * <2> {{{sloane_sequence(60843)}}} is called. This should be adapted to
 {{{DeprecationWarning: The function sloane_sequence is deprecated. Use
 oeis() instead (2012-01-01). See http://trac.sagemath.org/10358 for
 details.}}}
 * <3> Apparently OEIS A111775 was changed to offset=1 while the Sage
 function is still initialized with offset=0.
 * <4> {{{TypeError: 'NoneType' object has no attribute '__getitem__'}}}
 was raised in all 4 failures (after calling {{{oeis(seq)[0]}}}).
   Testing the examples at a {{{sage:}}} prompt is successful while the
 doctest fails reproducible. Hmm ...?
 * <5> Changed {{{http://oeis.org/}}} response. Expected response should be
 adapted.
 * <6> The expected response appears pretty printed (just as at the
 {{{sage:}}} prompt!) but the doctest response is a single line! How comes?
 Should the expected response be changed to a single line?
 * <7> is caused by changed {{{http://oeis.org/}}} responses that do not
 match the (old) expected results. This is addressed by #16252.
 * <8> The expected response appears pretty printed (just as at the
 {{{sage:}}} prompt!) but the doctest response is a single line! See also
 <6>.
 * <9> 1. failure: Looks somewhat like the pretty print phenomenon. But
 this time the result at the {{{sage:}}} prompt matched the gotten doctest
 result.
 * <9> 2. failure: {{{URLError: <urlopen error unknown url type: https>}}}
 was raised. Apparently the Sage Python was built without ssl. Is that the
 cause?
 * <9> 3. failure: {{{ TracInternalError: <Fault 404: 'ticket does not
 exist'>}}} was raised.
 * <9> I just noticed that all failures happened in
 {{{MercurialPatchMixin.download_patch}}}! Is this still needed ???
 * <10> Testing the examples at a {{{sage:}}} prompt is successful while
 the doctest fails reproducible. See also <4>?
 * <11> 1. failure: Pretty print is expected (same as from {{{sage:}}}
 prompt).
 * <11> 2. & 3. failure: {{{AttributeError: 'DoctestTicketProxy' object has
 no attribute 'changeLog'}}} raised respective {{{no attribute 'query'}}}.
 * <11> 4. & 5. failure: {{{TracInternalError: <Fault 404: 'ticket does not
 exist'>}}} after calling {{{dev.trac.attachment_names()}}}. Testing from
 {{{sage:}}} prompt give the //expected// response.
 * <12> Doctesting {{{stock.py}}} gives 11 failures; sometimes the response
 is empty, sometimes the responses differ from the expected. Testing at the
 {{{sage:}}} prompt gives the same results as the doctest. Apparently the
 requested data is no more available (too old?) from the web service. -
 Module needs updating.
 * <13> The response (also verified with the {{{sage:}}} prompt) deviates
 strongly from the expected
 {{{sage.misc.package.install_all_optional_packages(dry_run=True)}}}.
 * <14>
 
{{{sage.misc.preparser.load('https://github.com/jasongrout/minimum_rank/raw/minimum_rank_1_0_0/minrank.py',
 globals())}}} raised {{{IOError: [Errno url error] unknown url type:
 'https'}}}. Apparently Python has no ssl support.

 Comments and help are appreciated :-)

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