#12687: Fix Singular doctest error on OpenSolaris
--------------------------+-------------------------------------------------
   Reporter:  jdemeyer    |          Owner:  was     
       Type:  defect      |         Status:  new     
   Priority:  blocker     |      Milestone:  sage-5.0
  Component:  interfaces  |       Keywords:          
Work_issues:              |       Upstream:  N/A     
   Reviewer:              |         Author:          
     Merged:              |   Dependencies:          
--------------------------+-------------------------------------------------
 The following is caused by #10296.  On hawk (OpenSolaris 06.2009-32):
 {{{
 sage -t  --long -force_lib devel/sage/sage/interfaces/expect.py
 **********************************************************************
 File
 "/export/home/buildbot/build/sage/hawk-1/hawk_full/build/sage-5.0.beta8/devel
 /sage-main/sage/interfaces/expect.py", line 717:
     sage: singular._eval_line_using_file('def a=3;',
 restart_if_needed=False)
 Expected:
     Traceback (most recent call last):
     ...
     RuntimeError: Singular terminated unexpectedly while reading in a
 large line
 Got:
     Traceback (most recent call last):
       File
 
"/export/home/buildbot/build/sage/hawk-1/hawk_full/build/sage-5.0.beta8/local/bin/ncadoctest.py",
 line 1231, in run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File
 
"/export/home/buildbot/build/sage/hawk-1/hawk_full/build/sage-5.0.beta8/local/bin/sagedoctest.py",
 line 38, in run_one_example
         OrigDocTestRunner.run_one_example(self, test, example, filename,
 compileflags)
       File
 
"/export/home/buildbot/build/sage/hawk-1/hawk_full/build/sage-5.0.beta8/local/bin/ncadoctest.py",
 line 1172, in run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_15[8]>", line 1, in <module>
         singular._eval_line_using_file('def a=3;',
 restart_if_needed=False)###line 717:
     sage: singular._eval_line_using_file('def a=3;',
 restart_if_needed=False)
       File
 
"/export/home/buildbot/build/sage/hawk-1/hawk_full/build/sage-5.0.beta8/local/lib/python
 /site-packages/sage/interfaces/expect.py", line 768, in
 _eval_line_using_file
         raise RuntimeError, '%s terminated unexpectedly while reading in a
 large line:\n%s'%(self,msg[0])
     RuntimeError: Singular terminated unexpectedly while reading in a
 large line:
     [Errno 22] Invalid argument
     Error evaluating <
 "/tmp/dot_so48.icq/temp/hawk/8451//interface//tmp8749"; in Singular
 **********************************************************************
 File
 "/export/home/buildbot/build/sage/hawk-1/hawk_full/build/sage-5.0.beta8/devel
 /sage-main/sage/interfaces/expect.py", line 839:
     sage: singular._eval_line_using_file('def a=3;',
 restart_if_needed=False)
 Expected:
     Traceback (most recent call last):
     ...
     RuntimeError: Singular terminated unexpectedly while reading in a
 large line
 Got:
     Traceback (most recent call last):
       File
 
"/export/home/buildbot/build/sage/hawk-1/hawk_full/build/sage-5.0.beta8/local/bin/ncadoctest.py",
 line 1231, in run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File
 
"/export/home/buildbot/build/sage/hawk-1/hawk_full/build/sage-5.0.beta8/local/bin/sagedoctest.py",
 line 38, in run_one_example
         OrigDocTestRunner.run_one_example(self, test, example, filename,
 compileflags)
       File
 
"/export/home/buildbot/build/sage/hawk-1/hawk_full/build/sage-5.0.beta8/local/bin/ncadoctest.py",
 line 1172, in run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_16[14]>", line 1, in <module>
         singular._eval_line_using_file('def a=3;',
 restart_if_needed=False)###line 839:
     sage: singular._eval_line_using_file('def a=3;',
 restart_if_needed=False)
       File
 
"/export/home/buildbot/build/sage/hawk-1/hawk_full/build/sage-5.0.beta8/local/lib/python
 /site-packages/sage/interfaces/expect.py", line 768, in
 _eval_line_using_file
         raise RuntimeError, '%s terminated unexpectedly while reading in a
 large line:\n%s'%(self,msg[0])
     RuntimeError: Singular terminated unexpectedly while reading in a
 large line:
     [Errno 22] Invalid argument
     Error evaluating <
 "/tmp/dot_so48.icq/temp/hawk/8451//interface//tmp8806"; in Singular
 **********************************************************************
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12687>
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