error: Failed to start an Appium session, err was: Error: EACCES, permission denied '/Users/xxx/Library/Application Support/appium/bootstrap/bootstrap-f062718992d59810.js'
错误提示是这样的
谢谢你,困扰几天的问题终于解决了
#32 楼 @doctorq
root@ubuntu:~# atcd --atcd-wan eth0 --atcd-lan wlan0
ERROR:sparts.tasks:Error creating task, AtcdNBServerTask
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/sparts/vtask.py", line 313, in init
t.initTask()
File "/usr/local/lib/python2.7/dist-packages/sparts/tasks/thrift.py", line 146, in initTask
self.server.prepare()
File "/usr/local/lib/python2.7/dist-packages/thrift/server/TNonblockingServer.py", line 254, in prepare
self.socket.listen()
File "/usr/local/lib/python2.7/dist-packages/thrift/transport/TSocket.py", line 173, in listen
self.handle.bind(res[4])
File "/usr/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
error: [Errno 98] Address already in use
INFO:AtcdVService.AtcdLinuxShaper:Calling initialize_shaping_system
INFO:AtcdVService.AtcdLinuxShaper:Running /sbin/iptables -t mangle -F FORWARD
INFO:AtcdVService.AtcdLinuxShaper:deleting root QDisc on wlan0
INFO:AtcdVService.AtcdLinuxShaper:setting root qdisc on wlan0
INFO:AtcdVService.AtcdLinuxShaper:deleting root QDisc on eth0
INFO:AtcdVService.AtcdLinuxShaper:setting root qdisc on eth0
INFO:AtcdVService.AtcdLinuxShaper:Restoring shaped connection from DB
ERROR:AtcdVService:Unexpected Exception during init
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/sparts/vservice.py", line 268, in _runloop
instance._createTasks()
File "/usr/local/lib/python2.7/dist-packages/sparts/vservice.py", line 167, in _createTasks
self.tasks.init()
File "/usr/local/lib/python2.7/dist-packages/sparts/vtask.py", line 332, in init
len(exceptions))
Exception: Unable to start service (1 task start errors)
INFO:AtcdVService:Received graceful shutdown request
DEBUG:AtcdVService:VService Active. Awaiting graceful shutdown.
INFO:AtcdVService:Waiting for tasks to shutdown gracefully...
DEBUG:AtcdVService:Waiting for to stop...
DEBUG:AtcdVService:Waiting for to stop...
DEBUG:AtcdVService:Waiting for to stop...
DEBUG:AtcdVService:Waiting for to stop...
INFO:AtcdVService:Instance shut down gracefully
root@ubuntu:~/atcui# python manage.py runserver 0.0.0.0:8000
Performing system checks...
System check identified no issues (0 silenced).
August 10, 2015 - 03:58:02
Django version 1.8.3, using settings 'atcui.settings'
Starting development server at http://0.0.0.0:8000/
Quit the server with CONTROL-C.