#12018: sage-list-packages will fail if user can't write to SAGE_ROOT
--------------------------+-------------------------------------------------
Reporter: jhpalmieri | Owner: leif
Type: defect | Status: needs_review
Priority: minor | Milestone: sage-5.0
Component: scripts | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author: John Palmieri
Merged: | Dependencies:
--------------------------+-------------------------------------------------
Old description:
> As the summary says. The script sage-list-packages writes a temporary
> file to
> {{{
> file = "%s/tmp/list"%SAGE_ROOT
> }}}
> This should use a temporary file instead.
>
> ----
>
> Apply [attachment:trac_12018-tempfile.patch] to the scripts repo.
New description:
As the summary says. The script sage-list-packages writes a temporary
file to
{{{
file = "%s/tmp/list"%SAGE_ROOT
}}}
This should use a temporary file instead.
----
Apply [attachment:trac_12018-tempfile.patch] OR
[attachment:trac12018-notempfile.patch] to the scripts repo.
--
Comment(by rohana):
I've added a patch that avoids the use of a tempfile and cleans up the
script (`os.path` should be used instead of string arithmetic).
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12018#comment:3>
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.