Changes between Initial Version and Version 1 of Ticket #20815


Ignore:
Timestamp:
Jul 29, 2013, 3:50:01 AM (11 years ago)
Author:
Claude Paroz
Comment:

Unfortunately, this is old untested code. I wonder if the solution would be to simply forget the 0 argument (unbuffered) of the open call. Maybe someone more knowledgeable about buffered/unbuffered output may chime in to enlighten us?

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20815

    • Property Triage Stage UnreviewedAccepted
  • Ticket #20815 – Description

    initial v1  
    22
    33My python version and django version:
    4 
     4{{{
    55$ python --version
    66Python 3.2.3
     
    2929    so = open(out_log, 'a+', 0)
    3030ValueError: can't have unbuffered text I/O
    31 
     31}}}
    3232Server starts successfully and works if I give it daemonize=False option:
    3333(virtenv02)jsmith@thinkpad01:~/virtenv02/mysite$ python manage.py runfcgi host=127.0.0.1 port=8100 daemonize=False
Back to Top