Skip to content

BrokenPipeError #8

Description

@jdalbey

My python program uses monkeylib to drive an application on an Android device. It works fine for about 3 hours and then crashes with this trace:

  File "monkeylib.py", line 119, in tap
    res = self.send("tap %d %d" % (pos[0], pos[1]))
  File "monkeylib.py", line 47, in send
    self.sock.send((cmd + "\n").encode('utf-8'))
BrokenPipeError: [Errno 32] Broken pipe

It crashes after running for 3 hours (+/- 1 minute). Is there something about the monkey program that quits after 3 hours that would cause the pipe to break? Any ideas about other processes on the Android that could be interfering? Any tips on a workaround?
Thanks for any advice you can offer.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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