#20107: Add optional gap3_jm package
-------------------------------------+-------------------------------------
Reporter: stumpc5 | Owner:
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-7.1
Component: packages: | Resolution:
optional | Merged in:
Keywords: gap3, optional | Reviewers:
package | Work issues:
Authors: Christian Stump | Commit:
Report Upstream: N/A | 50aac0ea3726079c240e2fb7ccc7bca6e2713132
Branch: u/stumpc5/20107 | Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Changes (by jdemeyer):
* status: needs_review => needs_work
Comment:
{{{
sage -t src/sage/interfaces/gap3.py
**********************************************************************
File "src/sage/interfaces/gap3.py", line 400, in
sage.interfaces.gap3.Gap3._execute_line
Failed example:
f([1,2,3]) #optional - gap3
Expected:
Traceback (most recent call last):
...
RuntimeError: Gap3 produced error output
Error, List Element: <position> must be a positive integer at
return L[0] ... in
... called from
main loop
brk> quit;
...
Got:
<BLANKLINE>
Traceback (most recent call last):
File "/usr/local/src/sage-config/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/usr/local/src/sage-config/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.interfaces.gap3.Gap3._execute_line[3]>", line 1,
in <module>
f([Integer(1),Integer(2),Integer(3)])
#optional - gap3
File "/usr/local/src/sage-config/local/lib/python2.7/site-
packages/sage/interfaces/interface.py", line 805, in __call__
return getattr(P, self.name())(*args)
File "/usr/local/src/sage-config/local/lib/python2.7/site-
packages/sage/interfaces/interface.py", line 607, in __call__
return self._parent.function_call(self._name, list(args), kwds)
File "/usr/local/src/sage-config/local/lib/python2.7/site-
packages/sage/interfaces/gap.py", line 921, in function_call
res = self.eval(marker+cmd)
File "/usr/local/src/sage-config/local/lib/python2.7/site-
packages/sage/interfaces/gap.py", line 573, in eval
result = Expect.eval(self, input_line, **kwds)
File "/usr/local/src/sage-config/local/lib/python2.7/site-
packages/sage/interfaces/expect.py", line 1239, in eval
for L in code.split('\n') if L != ''])
File "/usr/local/src/sage-config/local/lib/python2.7/site-
packages/sage/interfaces/gap.py", line 771, in _eval_line
raise RuntimeError(message)
RuntimeError: Gap3 produced error output
Error, Function: <function> must be a function
<BLANKLINE>
executing __SAGE_LAST__:="__SAGE_LAST__";;x(sage0);;
**********************************************************************
File "src/sage/interfaces/gap3.py", line 447, in
sage.interfaces.gap3.Gap3.help
Failed example:
m #optional - gap3
Expected:
[ [ 1, 2, 3 ], [ 4, 5, 6 ] ]
Got:
<BLANKLINE>
**********************************************************************
File "src/sage/interfaces/gap3.py", line 449, in
sage.interfaces.gap3.Gap3.help
Failed example:
m.Print() #optional - gap3
Expected:
[ [ 1, 2, 3 ], [ 4, 5, 6 ] ]
Got:
"__SAGE_LAST__"
**********************************************************************
File "src/sage/interfaces/gap3.py", line 453, in
sage.interfaces.gap3.Gap3.help
Failed example:
m #optional - gap3
Expected:
[ [ 1, 2, 3 ], [ 4, 5, 6 ] ]
Got:
<BLANKLINE>
**********************************************************************
File "src/sage/interfaces/gap3.py", line 455, in
sage.interfaces.gap3.Gap3.help
Failed example:
m.Print() #optional - gap3
Expected:
[ [ 1, 2, 3 ], [ 4, 5, 6 ] ]
Got:
"__SAGE_LAST__"
**********************************************************************
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/20107#comment:91>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.