#20884: line buffering in sage-logger causes "hang" due to invisible prompt when
installing experimental packages
----------------------------+------------------------
Reporter: mkoeppe | Type: defect
Status: new | Priority: critical
Milestone: sage-7.3 | Component: build
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
----------------------------+------------------------
(Observed on Mac OS X.)
As I reported in http://trac.sagemath.org/ticket/20708#comment:8:
When installing an "experimental" package, Sage warns a lot and then
prompts the user.
Because of line buffering, one does not see the prompt, but Sage just
waits indefinitely.
{{{
sage -f latte_int
...
[latte_int-1.7.3] =========================== WARNING
===========================
[latte_int-1.7.3] You are about to download and install an experimental
package.
[latte_int-1.7.3] This probably won't work at all for you! There is no
guarantee
[latte_int-1.7.3] that it will build correctly, or behave as expected.
[latte_int-1.7.3] Use at your own risk!
[latte_int-1.7.3]
===============================================================
}}}
<--- This is where it asks "[latte_int-1.7.3] Are you sure you want to
continue [Y/n]?" but this is line-buffered and not visible to the user.
--
Ticket URL: <https://trac.sagemath.org/ticket/20884>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.