#36 Python3.6 thow excepiton : ValueError: can't have unbuffered text I/O
Closed: Duplicate by bignose. Opened by fred001.

seems not work for python3
here is my example code

class App():

def __init__(self,server_name="dev"):
    self.name=server_name
    self.pidfile_path =  '/home/www/learn/code/python/run/sender.pid'
    self.pidfile_timeout = 5
    self.stdin_path = "/cloud/tmp/stdin.log"
    self.stdout_path= "/cloud/tmp/stdout.log"
    self.stderr_path = '/cloud/tmp/stderr.log'
def run(self):
    i=0
    while True:
        print("test",i)
        i+=1
        time.sleep(3)

app = App()
daemon_runner = runner.DaemonRunner(app)
daemon_runner.do_action()

the detail error line is daemon/runner.py , line 139 . failed when open app.stderr_path


Thanks for the report. This is a duplicate of issue 8, please follow up there.

Metadata Update from @bignose:
- Issue close_status updated to: Duplicate
- Issue status updated to: Closed (was: Open)

Metadata