#10476: Problems interrupting Singular
-------------------------------------------------------+--------------------
       Reporter:  jdemeyer                             |         Owner:  was    
     
           Type:  defect                               |        Status:  
needs_work  
       Priority:  blocker                              |     Milestone:  
sage-5.1    
      Component:  interfaces                           |    Resolution:         
     
       Keywords:  interrupt singular expect sd40.5     |   Work issues:         
     
Report Upstream:  Reported upstream. No feedback yet.  |     Reviewers:  Volker 
Braun
        Authors:  Jeroen Demeyer                       |     Merged in:         
     
   Dependencies:                                       |      Stopgaps:         
     
-------------------------------------------------------+--------------------
Changes (by vbraun):

  * status:  needs_review => needs_work
  * reviewer:  => Volker Braun


Comment:

 Running the doctest in a loop, I get occasional (maybe 1 in 20) failures
 {{{
 sage -t -force_lib "devel/sage/sage/interfaces/singular.py"
 **********************************************************************
 File
 "/home/vbraun/opt/sage-5.1.beta5/devel/sage/sage/interfaces/singular.py",
 line 480:
     sage: 2*a
 Exception raised:
     Traceback (most recent call last):
       File "/home/vbraun/opt/sage-5.1.beta5/local/bin/ncadoctest.py", line
 1231, in run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File "/home/vbraun/opt/sage-5.1.beta5/local/bin/sagedoctest.py",
 line 38, in run_one_example
         OrigDocTestRunner.run_one_example(self, test, example, filename,
 compileflags)
       File "/home/vbraun/opt/sage-5.1.beta5/local/bin/ncadoctest.py", line
 1172, in run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_9[6]>", line 1, in <module>
         Integer(2)*a###line 480:
     sage: 2*a
       File "element.pyx", line 1687, in
 sage.structure.element.RingElement.__mul__
 (sage/structure/element.c:12755)
       File "coerce.pyx", line 749, in
 sage.structure.coerce.CoercionModel_cache_maps.bin_op
 (sage/structure/coerce.c:6778)
       File "coerce.pyx", line 745, in
 sage.structure.coerce.CoercionModel_cache_maps.bin_op
 (sage/structure/coerce.c:6718)
       File "element.pyx", line 1682, in
 sage.structure.element.RingElement.__mul__
 (sage/structure/element.c:12681)
       File "element.pyx", line 1689, in
 sage.structure.element.RingElement._mul_ (sage/structure/element.c:12807)
       File "/home/vbraun/opt/sage-5.1.beta5/local/lib/python/site-
 packages/sage/interfaces/interface.py", line 1118, in _mul_
         return self._operation('*', right)
       File "/home/vbraun/opt/sage-5.1.beta5/local/lib/python/site-
 packages/sage/interfaces/interface.py", line 1075, in _operation
         raise TypeError, msg
     TypeError: Singular error:
        ? `sage449` is not defined
        ? error occurred in or before STDIN line 11: `def sage458=sage450 *
 sage449;`
 **********************************************************************
 1 items had failures:
    1 of   8 in __main__.example_9
 }}}

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