棒
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/multiprocessing/pool.py", line 119, in worker
result = (True, func(*args, **kwds))
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/multiprocessing/pool.py", line 44, in mapstar
return list(map(*args))
File "/Users/a/自动化相关/monkeyTest-master/monkeyTest.py", line 100, in start
mkdirInit(devices, app, num)
File "/Users/a/自动化相关/monkeyTest-master/monkeyTest.py", line 67, in mkdirInit
app[devices] = {"cpu": cpu, "men": men, "flow": flow, "battery": battery, "fps": fps, "header": get_phome(devices)}
File "/Users/a/自动化相关/monkeyTest-master/monkeyTest.py", line 41, in get_phome
bg = BasePhoneMsg.get_phone_Kernel(devices)
File "/Users/a/自动化相关/monkeyTest-master/Base/BasePhoneMsg.py", line 43, in get_phone_Kernel
pix = get_app_pix(devices)
File "/Users/a/自动化相关/monkeyTest-master/Base/BasePhoneMsg.py", line 39, in get_app_pix
return subprocess.check_output(cmd).split()[2].decode()
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 336, in check_output
**kwargs).stdout
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 403, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 707, in __init__
restore_signals, start_new_session)
File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 1326, in _execute_child
raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: 'adb -s 5ae50462 shell wm size'
"""
报这个错是什么原因
阿拉伯文是从右往左的人应该跟这个有关
有最新的代码吗?
好谢谢 期待
嗯嗯 向你学习
关键是加入出现了问题 是不是发现不了
你写的这个用例如何判断结果?验证对不对
3q
unity 游戏支持吗?有什么办法
unity3d 游戏可以用吗
演讲会有录像吗?课件会公开吗?
hi 我叫大目,qq:541480386,目前正在换工作,工作不到 6 年,兴趣方向:移动自动化、测试开发
还在招吗
有个提议,可不可以现场通过直播播一下
Traceback (most recent call last):
File "/Users/huangzhigang/Documents/macaca-test-sample-python/macaca-desktop-sample.test.py", line 3, in <module>
from macaca import WebDriver
File "/Library/Python/2.7/site-packages/macaca/__init__.py", line 25, in <module>
from .webdriver import WebDriver
File "/Library/Python/2.7/site-packages/macaca/webdriver.py", line 697
*, asserter=lambda x: x):
^
SyntaxError: invalid syntax
#7 楼 @huang053117 7 楼的问题解决了,但是 py 运行出错
Traceback (most recent call last):
File "/Users/huangzhigang/Documents/macaca-test-sample-python/macaca-desktop-sample.test.py", line 3, in <module>
from macaca import WebDriver
File "/Library/Python/2.7/site-packages/macaca/__init__.py", line 25, in <module>
from .webdriver import WebDriver
File "/Library/Python/2.7/site-packages/macaca/webdriver.py", line 697
*, asserter=lambda x: x):
^
SyntaxError: invalid syntax
Collecting wd (from -r requirements.txt (line 1))
Downloading wd-0.1.1.zip
Requirement already satisfied (use --upgrade to upgrade): requests in /Library/Python/2.7/site-packages/requests-2.10.0-py2.7.egg (from wd->-r requirements.txt (line 1))
Collecting retrying (from wd->-r requirements.txt (line 1))
Downloading retrying-1.3.3.tar.gz
Collecting six>=1.7.0 (from retrying->wd->-r requirements.txt (line 1))
Downloading six-1.10.0-py2.py3-none-any.whl
Installing collected packages: six, retrying, wd
Found existing installation: six 1.4.1
DEPRECATION: Uninstalling a distutils installed project (six) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
Uninstalling six-1.4.1:
Exception:
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/pip-8.1.2-py2.7.egg/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/Library/Python/2.7/site-packages/pip-8.1.2-py2.7.egg/pip/commands/install.py", line 317, in run
prefix=options.prefix_path,
File "/Library/Python/2.7/site-packages/pip-8.1.2-py2.7.egg/pip/req/req_set.py", line 736, in install
requirement.uninstall(auto_confirm=True)
File "/Library/Python/2.7/site-packages/pip-8.1.2-py2.7.egg/pip/req/req_install.py", line 742, in uninstall
paths_to_remove.remove(auto_confirm)
File "/Library/Python/2.7/site-packages/pip-8.1.2-py2.7.egg/pip/req/req_uninstall.py", line 115, in remove
renames(path, new_path)
File "/Library/Python/2.7/site-packages/pip-8.1.2-py2.7.egg/pip/utils/__init__.py", line 267, in renames
shutil.move(old, new)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 302, in move
copy2(src, real_dst)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 131, in copy2
copystat(src, dst)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 103, in copystat
os.chflags(dst, st.st_flags)
OSError: [Errno 1] Operation not permitted: '/tmp/pip-rPKRKF-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/six-1.4.1-py2.7.egg-info'
pip install -r requirements.txt 这步报错,请问是什么情况
还在招吗?
#32 楼 @michael_wang python /Users/huangzhigang/Documents/monkey_android/performance/monkey/monkey_server.py
这样执行的
#25 楼 @michael_wang 我更新了以后有个问题,输入命令执行后,只输出了一句日志,不动了就
2016-08-12 12:24:39,894 INFO | start --[monkey_server.py:20]