#11887: cython.py: don't create .html and .c files when running compile_and_load
--------------------------+-------------------------------------------------
   Reporter:  jhpalmieri  |          Owner:  jason                        
       Type:  defect      |         Status:  needs_info                   
   Priority:  blocker     |      Milestone:  sage-4.7.2                   
  Component:  misc        |       Keywords:                               
Work_issues:              |       Upstream:  N/A                          
   Reviewer:              |         Author:  Leif Leonhardy, John Palmieri
     Merged:              |   Dependencies:                               
--------------------------+-------------------------------------------------
Changes (by dimpase):

  * status:  needs_review => needs_info


Comment:

 After applying this patch {{{make ptestlong}}} ends with
 {{{
 ...
 ----------------------------------------------------------------------
 The temporary doctesting directory
    /home/dima/.sage/tmp/spms_banana-30578
 was not removed: it is not empty, presumably because doctests
 failed or doctesting was interrupted.

 ----------------------------------------------------------------------

 The following tests failed:

         sage -t  -long -force_lib devel/sage/sage/interfaces/sage0.py # 11
 doctests failed
 ----------------------------------------------------------------------
 Total time for all tests: 2884.8 seconds
 make: *** [ptestlong] Error 128
 }}}

 The test in question gives the following:
 {{{

 sage -t -long -force_lib "devel/sage/sage/interfaces/sage0.py"
 **********************************************************************
 File
 "/usr/local/src/sage/sage-4.7.2.alpha3/devel/sage/sage/interfaces/sage0.py",
 line 448:
     sage: F == sage0(F)._sage_()
 Exception raised:
     Traceback (most recent call last):
       File
 "/usr/local/src/sage/sage-4.7.2.alpha3/local/bin/ncadoctest.py", line
 1231, in run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File
 "/usr/local/src/sage/sage-4.7.2.alpha3/local/bin/sagedoctest.py", line 38,
 in run_one_example
         OrigDocTestRunner.run_one_example(self, test, example, filename,
 compileflags)
       File
 "/usr/local/src/sage/sage-4.7.2.alpha3/local/bin/ncadoctest.py", line
 1172, in run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_20[4]>", line 1, in <module>
         F == sage0(F)._sage_()###line 448:
     sage: F == sage0(F)._sage_()
       File "/usr/local/src/sage/sage-4.7.2.alpha3/local/lib/python/site-
 packages/sage/interfaces/sage0.py", line 458, in _sage_
         return load(P._local_tmpfile())
       File "sage_object.pyx", line 775, in sage.structure.sage_object.load
 (sage/structure/sage_object.c:7811)
     IOError: [Errno 2] No such file or directory:
 '/home/dima/.sage//temp/spms_banana/6133//interface//tmp6170.sobj'
 **********************************************************************
 File
 "/usr/local/src/sage/sage-4.7.2.alpha3/devel/sage/sage/interfaces/sage0.py",
 line 466:
     sage: four_gcd(6)
 Expected:
     2
 Got:
     <BLANKLINE>
 **********************************************************************
 (truncated)
 }}}
 any clue?

 Dima

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11887#comment:7>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to