#715: Parents probably not reclaimed due to too much caching
-------------------------------------------------------------------+--------
Reporter: robertwb |
Owner: somebody
Type: defect |
Status: needs_review
Priority: major |
Milestone: sage-5.4
Component: coercion |
Resolution:
Keywords: weak cache coercion Cernay2012 | Work
issues:
Report Upstream: N/A |
Reviewers: Jean-Pierre Flori, Simon King, Nils Bruin
Authors: Simon King, Jean-Pierre Flori | Merged
in:
Dependencies: #9138, #11900, #11599, to be merged with #11521 |
Stopgaps:
-------------------------------------------------------------------+--------
Comment (by SimonKing):
Replying to [comment:264 SimonKing]:
> {{{
> bash-3.2$ gdb --args ../../sage -python -t
~/SAGE/work/signal11/my_test_86673.py
> ...
> }}}
Should have been
{{{
bash-3.2$ gdb --args ../../local/bin/python -t
~/SAGE/work/signal11/my_test_86673.py
}}}
However, running the test won't work:
{{{
(gdb) r
Starting program: /scratch/sking/sage-5.4.beta0/local/bin/python -t
/Users/SimonKing/SAGE/work/signal11/my_test_86673.py
Reading symbols for shared libraries .++++..... done
Traceback (most recent call last):
File "/Users/SimonKing/SAGE/work/signal11/my_test_86673.py", line 6, in
<module>
from sage.all_cmdline import *;
File "/scratch/sking/sage-5.4.beta0/local/lib/python2.7/site-
packages/sage/all_cmdline.py", line 14, in <module>
from sage.all import *
File "/scratch/sking/sage-5.4.beta0/local/lib/python2.7/site-
packages/sage/all.py", line 47, in <module>
raise RuntimeError("To use the Sage libraries, set the environment
variable SAGE_ROOT to the Sage build directory and LD_LIBRARY_PATH to
$SAGE_ROOT/local/lib")
RuntimeError: To use the Sage libraries, set the environment variable
SAGE_ROOT to the Sage build directory and LD_LIBRARY_PATH to
$SAGE_ROOT/local/lib
Program exited with code 01.
(gdb)
}}}
So, it needs to be executed inside a Sage shell - but then the test fails
in the exactly same way as with sage -t, which shouldn't be a surprise.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/715#comment:266>
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.