You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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