#10011: "sage -upgrade" appears to hang when its output is tee'd
------------------------------+---------------------------------------------
   Reporter:  leif            |       Owner:  leif                              
       Type:  defect          |      Status:  new                               
   Priority:  minor           |   Milestone:  sage-4.6                          
  Component:  build           |    Keywords:  upgrade update prompt log redirect
     Author:  Leif Leonhardy  |    Upstream:  N/A                               
   Reviewer:                  |      Merged:                                    
Work_issues:                  |  
------------------------------+---------------------------------------------
 {{{
 #!sh
 u...@host$ ./sage -upgrade | tee upgrade.log
 }}}
 appears to hang (without giving '''any''' output).

 This is because {{{sage-update}}} prompts the user for confirmation, but
 doesn't flush the output.

 The attached patch to {{{sage-update}}} (a Python script called by
 {{{sage-upgrade}}}) adds flushing various output and also contains some
 clean-up and corrections (to comments, docstrings, and the messages
 printed).

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