#13864: Configure Python with pydebug when SAGE_DEBUG is set
----------------------------------------------------------------------------------------------------------+
Reporter: jpflori
| Owner: jason
Type: task
| Status: needs_work
Priority: major
| Milestone: sage-pending
Component: misc
| Resolution:
Keywords: python spkg
| Work issues: make sure Sage builds and starts
Report Upstream: N/A
| Reviewers: Volker Braun
Authors: Jean-Pierre Flori
| Merged in:
Dependencies: #10352, #13832, #13865, #13867, #13868, #13876, #13878,
#13882, #13883, #13889, #13896 | Stopgaps:
----------------------------------------------------------------------------------------------------------+
Comment (by SimonKing):
However, even with #13878, the following problem with pari/gp persists:
{{{
sage -t -force_lib
"devel/sage/sage/schemes/plane_conics/con_rational_field.py"
**********************************************************************
File
"/scratch/sking/sage-5.6.beta2/devel/sage/sage/schemes/plane_conics/con_rational_field.py",
line 130:
sage: C.has_rational_point(point = True)
Exception raised:
Traceback (most recent call last):
File "/scratch/sking/sage-5.6.beta2/local/bin/ncadoctest.py", line
1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File "/scratch/sking/sage-5.6.beta2/local/bin/sagedoctest.py", line
38, in run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
File "/scratch/sking/sage-5.6.beta2/local/bin/ncadoctest.py", line
1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_3[10]>", line 1, in <module>
C.has_rational_point(point = True)###line 130:
sage: C.has_rational_point(point = True)
File "/scratch/sking/sage-5.6.beta2/local/lib/python/site-
packages/sage/schemes/plane_conics/con_rational_field.py", line 174, in
has_rational_point
pt = qfsolve(M)
File "/scratch/sking/sage-5.6.beta2/local/lib/python/site-
packages/sage/quadratic_forms/qfsolve.py", line 100, in qfsolve
ret = pari(gp('Qfsolve(%s)' % G._pari_()))
File "/scratch/sking/sage-5.6.beta2/local/lib/python/site-
packages/sage/interfaces/interface.py", line 195, in __call__
return cls(self, x, name=name)
File "/scratch/sking/sage-5.6.beta2/local/lib/python/site-
packages/sage/interfaces/expect.py", line 1311, in __init__
raise TypeError, x
TypeError: Error executing code in GP:
CODE:
sage[4]=Qfsolve([1, 0, 0; 0, 113922743, 0; 0, 0,
-310146482690273725409]);
PARI/GP ERROR:
*** at top-level: sage[4]=Qfsolve([1,0,0;0,113
*** ^--------------------
*** in function Qfsolve: ... du
determinant"));factD=factor(-abs(2*d));if
***
^--------------------
*** factor: bug in PARI/GP (Segmentation Fault), please report
**********************************************************************
1 items had failures:
1 of 18 in __main__.example_3
***Test Failed*** 1 failures.
For whitespace errors, see the file
/Users/SimonKing/.sage//tmp/con_rational_field_24352.py
[7.4 s]
----------------------------------------------------------------------
The following tests failed:
sage -t -force_lib
"devel/sage/sage/schemes/plane_conics/con_rational_field.py"
}}}
Is that a known problem? I sense that we will soon have another
dependency...
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13864#comment:117>
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.