Skip to content

stdout read error  #12

@nitimohi

Description

@nitimohi

i ma getting the error:
File "", line 1, in
File "/usr/local/lib/python3.9/dist-packages/pppd.py", line 82, in init
self.output += self.proc.stdout.read()
TypeError: can't concat NoneType to bytes

i started chat-script with -e option so the process starts returning stdout ass soon as the process is started, not i still get this error as my process return anything on stdout after at least 1 sec.
is it batter to give some delay before read or or check the type of return ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions