shine icon indicating copy to clipboard operation
shine copied to clipboard

Output is too much buffered

Open degremont opened this issue 12 years ago • 4 comments

Python bufferizes stdout a lot by default.

This could be an issue is stdout is not a tty (behaviour seems different in this case) like tee, tail, etc... Buffering should be decreased or disabled. This page gives a couple of useful information on this topic: http://stackoverflow.com/questions/107705/python-output-buffering

Moreover, if stdout is closed when Shine tries to print something it triggers a broken pipe error.

Reported by: degremont

degremont avatar Aug 22 '12 12:08 degremont

        status
            changed from new to accepted
        
      
    

Replying to ad-cea:

Moreover, if stdout is closed when Shine tries to print something it triggers a broken pipe error.

Commit SVN commit r428 fixes this. It is a partial fix for the whole bug.

Original comment by: degremont

degremont avatar Sep 06 '12 17:09 degremont

  • Description has changed:

Diff:




  • Milestone: 1.3 --> 1.4
  • Resolution: -->

Original comment by: degremont

degremont avatar Oct 10 '13 08:10 degremont

  • Milestone: 1.4 --> 1.5

Original comment by: degremont

degremont avatar Apr 30 '15 09:04 degremont

  • Milestone: 1.5 --> 1.6

Original comment by: degremont

degremont avatar May 24 '17 13:05 degremont