#13211: Upgrade GAP to 4.5.6
------------------------------------------------------------------+---------
Reporter: kini |
Owner: tbd
Type: enhancement |
Status: needs_work
Priority: major |
Milestone: sage-5.6
Component: packages |
Resolution:
Keywords: | Work
issues:
Report Upstream: Reported upstream. Developers acknowledge bug. |
Reviewers: Dmitrii Pasechnik
Authors: Volker Braun | Merged
in:
Dependencies: #13123, #13579 |
Stopgaps:
------------------------------------------------------------------+---------
Comment (by jdemeyer):
On hawk (!OpenSolaris i386), I get this reproducible doctest error:
{{{
sage -t --long -force_lib devel/sage/sage/interfaces/gap.py
gap: halving pool size.
**********************************************************************
File
"/export/home/buildbot/build/sage/hawk-1/hawk_full/build/sage-5.6.beta0/devel
/sage-main/sage/interfaces/gap.py", line 376:
sage: gap('"finished computation"'); gap.interrupt(); gap('"ok"')
Exception raised:
Traceback (most recent call last):
File
"/export/home/buildbot/build/sage/hawk-1/hawk_full/build/sage-5.6.beta0/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.6.beta0/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.6.beta0/local/bin/ncadoctest.py",
line 1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_6[5]>", line 1, in <module>
gap('"finished computation"'); gap.interrupt(); gap('"ok"')###line
376:
sage: gap('"finished computation"'); gap.interrupt(); gap('"ok"')
File
"/export/home/buildbot/build/sage/hawk-1/hawk_full/build/sage-5.6.beta0/local/lib/python
/site-packages/sage/interfaces/gap.py", line 393, in interrupt
E.sendline()
File
"/export/home/buildbot/build/sage/hawk-1/hawk_full/build/sage-5.6.beta0/local/lib/python
/site-packages/pexpect.py", line 677, in sendline
n = n + self.send (os.linesep)
File
"/export/home/buildbot/build/sage/hawk-1/hawk_full/build/sage-5.6.beta0/local/lib/python
/site-packages/pexpect.py", line 669, in send
c = os.write(self.child_fd, str)
OSError: [Errno 22] Invalid argument
**********************************************************************
File
"/export/home/buildbot/build/sage/hawk-1/hawk_full/build/sage-5.6.beta0/devel
/sage-main/sage/interfaces/gap.py", line 1794:
sage: gap_version()
Expected:
doctest:...: DeprecationWarning: use gap.version() instead
See http://trac.sagemath.org/13211 for details.
'4.5.6'
Got:
doctest:1: DeprecationWarning: use gap.version() instead
See http://trac.sagemath.org/13211 for details.
** Gap crashed or quit executing 'VERSION;' **
Restarting Gap and trying again
'4.5.6'
**********************************************************************
}}}
It seems we're trying to write to a closed filedescriptor.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13211#comment:201>
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.