OSError: [Errno 2] No such file or directory
2014-01-17 13:46
267 查看
Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 530, in __bootstrap_inner self.run() File "scripts/droidbox.py", line 144, in run call(['monkeyrunner', 'scripts/monkeyrunner.py', apkName, runPackage, runActivity], stderr=PIPE) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 486, in call return Popen(*popenargs, **kwargs).wait() File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 672, in __init__ errread, errwrite) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1202, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory
why this happened? just because when you execute the command
./droidbox.sh file.apk
you have opened two terminal.
so just close all the terminal and restart a new one,all the problems gone.
you can also see the official answer:
It was a case of trying to run the script in 2 different terminal windows.
That's all, thank you!
相关文章推荐
- EntityFramework之领域驱动设计实践【扩展阅读】:服务(Services)
- Max Sum
- 单点登录资料整理
- EntityFramework之领域驱动设计实践(十)
- 第十八课:位移电流和同步电机
- OpenCart支付宝付款接口(直接到账、担保交易、双接口)
- c#中利用“|”运算组合多项
- sdfsdafasdgasdf
- 详解Objective-C runtime
- 2013年第4季度唇彩品牌网络知名度排名
- Spring MVC 教程,快速入门,深入分析
- What every programmer should know about memory
- listbox隔行显示不同颜色
- Generate Parentheses
- 动软代码生成器 模板
- properties文件使用 spring(web项目)
- EntityFramework之领域驱动设计实践(九)
- Bootstarp入门教程(5) 排版(2)
- 基本的TCP编程
- My ajaxwrapper tool