#8669: interrupting download in sage-spkg should delete the spkg file
---------------------------------+------------------------------------------
   Reporter:  jhpalmieri         |       Owner:  tbd     
       Type:  defect             |      Status:  new     
   Priority:  minor              |   Milestone:  sage-4.4
  Component:  optional packages  |    Keywords:          
     Author:  John Palmieri      |    Upstream:  N/A     
   Reviewer:                     |      Merged:          
Work_issues:                     |  
---------------------------------+------------------------------------------
 If you run {{{sage-spkg PKG_NAME}}} and hit ctrl-c during downloading, you
 end up with a partial spkg file.  Then if you run {{{sage-spkg PKG_NAME}}}
 again, it just opens up that file and then crashes because the file is
 incomplete.

 The attached patch attempts to fix this.  It seems to work, deleting the
 partially downloaded file, but for reasons I don't understand, it's not
 printing any of the accompanying messages.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8669>
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.

Reply via email to