Description
adb devices
adb -s prmrozz97dcqzlee shell wm size
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/pool.py", line 48, in mapstar
return list(map(*args))
File "/Users/denghui.he/PycharmProjects/monkeyTest/monkeyTest.py", line 87, in start
mkdirInit(devices, app, num)
File "/Users/denghui.he/PycharmProjects/monkeyTest/monkeyTest.py", line 53, in mkdirInit
app[devices] = {"cpu": cpu, "men": men, "flow": flow, "battery": battery, "fps": fps, "header": get_phome(devices)}
File "/Users/denghui.he/PycharmProjects/monkeyTest/monkeyTest.py", line 37, in get_phome
bg = BasePhoneMsg.get_phone_Kernel(devices)
File "/Users/denghui.he/PycharmProjects/monkeyTest/Base/BasePhoneMsg.py", line 66, in get_phone_Kernel
pix = get_app_pix(devices)
File "/Users/denghui.he/PycharmProjects/monkeyTest/Base/BasePhoneMsg.py", line 62, in get_app_pix
return subprocess.check_output(cmd).split()[2].decode()
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 420, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 501, in run
with Popen(*popenargs, **kwargs) as process:
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 947, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 1819, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'adb -s prmrozz97dcqzlee shell wm size'
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/denghui.he/PycharmProjects/monkeyTest/monkeyTest.py", line 153, in
runnerPool()
File "/Users/denghui.he/PycharmProjects/monkeyTest/monkeyTest.py", line 76, in runnerPool
pool.map(start, devices_Pool)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/pool.py", line 364, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/pool.py", line 771, in get
raise self._value
FileNotFoundError: [Errno 2] No such file or directory: 'adb -s prmrozz97dcqzlee shell wm size'