#9805: save_session is completely broken in the notebook
------------------------+---------------------------------------------------
Reporter: was | Owner: jason, was
Type: defect | Status: new
Priority: major | Milestone: sage-4.5.3
Component: notebook | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------+---------------------------------------------------
Try
{{{
save_session('foo')
}}}
in the notebook. Boom!
The problem is these lines in misc/session.pyx:
{{{
if embedded():
# Also save D to the data directory if we're using the notebook.
save(D, '../../data/' + name)
}}}
When I rewrote the notebook I forgot to change this appropriately. I'm
not sure exactly what the right fix is, but it is to somehow replace
'../../data/' by the data
directory (which is defined by the variable DATA in the notebook).
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9805>
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.