还未发布过话题
  • 2018-05-11 14:55:15,896 - main.py:212 - INFO - launch atx-agent daemon
    Traceback (most recent call last):
    File "D:\Program Files (x86)\Python\Python36-32\lib\site-packages\urllib3\connectionpool.py", line 387, in _make_request
    six.raise_from(e, None)
    File "", line 2, in raise_from
    File "D:\Program Files (x86)\Python\Python36-32\lib\site-packages\urllib3\connectionpool.py", line 383, in _make_request
    httplib_response = conn.getresponse()
    File "D:\Program Files (x86)\Python\Python36-32\lib\http\client.py", line 1331, in getresponse
    response.begin()
    File "D:\Program Files (x86)\Python\Python36-32\lib\http\client.py", line 297, in begin
    version, status, reason = self._read_status()
    File "D:\Program Files (x86)\Python\Python36-32\lib\http\client.py", line 258, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
    File "D:\Program Files (x86)\Python\Python36-32\lib\socket.py", line 586, in readinto
    return self._sock.recv_into(b)
    socket.timeout: timed out

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
    File "D:\Program Files (x86)\Python\Python36-32\lib\site-packages\requests\adapters.py", line 440, in send
    timeout=timeout
    File "D:\Program Files (x86)\Python\Python36-32\lib\site-packages\urllib3\connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
    File "D:\Program Files (x86)\Python\Python36-32\lib\site-packages\urllib3\util\retry.py", line 357, in increment
    raise six.reraise(type(error), error, _stacktrace)
    File "D:\Program Files (x86)\Python\Python36-32\lib\site-packages\urllib3\packages\six.py", line 686, in reraise
    raise value
    File "D:\Program Files (x86)\Python\Python36-32\lib\site-packages\urllib3\connectionpool.py", line 601, in urlopen
    chunked=chunked)
    File "D:\Program Files (x86)\Python\Python36-32\lib\site-packages\urllib3\connectionpool.py", line 389, in _make_request
    self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
    File "D:\Program Files (x86)\Python\Python36-32\lib\site-packages\urllib3\connectionpool.py", line 309, in _raise_timeout
    raise ReadTimeoutError(self, url, "Read timed out. (read timeout=%s)" % timeout_value)
    urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='localhost', port=63463): Read timed out. (read timeout=3)

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
    File "D:\Program Files (x86)\Python\Python36-32\lib\runpy.py", line 193, in run_module_as_main
    "
    main", mod_spec)
    File "D:\Program Files (x86)\Python\Python36-32\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
    File "D:\Program Files (x86)\Python\Python36-32\lib\site-packages\uiautomator2__main
    .py", line 356, in
    main()
    File "D:\Program Files (x86)\Python\Python36-32\lib\site-packages\uiautomator2__main
    .py", line 352, in main
    fire.Fire(MyFire)
    File "D:\Program Files (x86)\Python\Python36-32\lib\site-packages\fire\core.py", line 127, in Fire
    component_trace = _Fire(component, args, context, name)
    File "D:\Program Files (x86)\Python\Python36-32\lib\site-packages\fire\core.py", line 366, in _Fire
    component, remaining_args)
    File "D:\Program Files (x86)\Python\Python36-32\lib\site-packages\fire\core.py", line 542, in _CallCallable
    result = fn(*varargs, **kwargs)
    File "D:\Program Files (x86)\Python\Python36-32\lib\site-packages\uiautomator2__main
    .py", line 273, in init
    ignore_apk_check)
    File "D:\Program Files (x86)\Python\Python36-32\lib\site-packages\uiautomator2__main
    .py", line 295, in _init_with_serial
    ins.launch_and_check()
    File "D:\Program Files (x86)\Python\Python36-32\lib\site-packages\uiautomator2__main
    _.py", line 225, in launch_and_check
    'http://localhost:%d/version' % lport, timeout=3)
    File "D:\Program Files (x86)\Python\Python36-32\lib\site-packages\requests\api.py", line 72, in get
    return request('get', url, params=params, **kwargs)
    File "D:\Program Files (x86)\Python\Python36-32\lib\site-packages\requests\api.py", line 58, in request
    return session.request(method=method, url=url, **kwargs)
    File "D:\Program Files (x86)\Python\Python36-32\lib\site-packages\requests\sessions.py", line 508, in request
    resp = self.send(prep, **send_kwargs)
    File "D:\Program Files (x86)\Python\Python36-32\lib\site-packages\requests\sessions.py", line 618, in send
    r = adapter.send(request, **kwargs)
    File "D:\Program Files (x86)\Python\Python36-32\lib\site-packages\requests\adapters.py", line 521, in send
    raise ReadTimeout(e, request=request)
    requests.exceptions.ReadTimeout: HTTPConnectionPool(host='localhost', port=63463): Read timed out. (read timeout=3)

    初始化时候报这个错 怎么解决呢?