#10229: Deleting attached files causes major problems
------------------------------+---------------------------------------------
Reporter: flawrence | Owner: was
Type: defect | Status: needs_info
Priority: major | Milestone: sage-4.8
Component: user interface | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
------------------------------+---------------------------------------------
Changes (by mboratko):
* status: new => needs_info
Comment:
I wish I could include a patch here, but my sage install is having an
unrelated issue right now, but this is an easy fix so it may be worth
mentioning.
For sage/misc/preparser.py, wrap lines 1790 to 1794 in a try block, and
use
{{except OSError, e:
if e.errno==2:
pass
}}
This will at least make it continue working. What would be our desired
response to a moved/deleted file? I think it would make sense to detach
it, since otherwise it will just keep attempting to go through this. Do we
want to display a message to the user as well?
Sorry for not posting a patch, I will try to when I fix my sage install.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10229#comment:1>
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.