
Traceback (most recent call last):


 "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/weditor/__main__.py", line 242, in post

d = u2.connect(device_url)


 "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/uiautomator2/__init__.py", line 205, in connect

return connect_usb(addr)


 "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/uiautomator2/__init__.py", line 254, in connect_usb

d.reset_uiautomator()


 "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/uiautomator2/__init__.py", line 653, in reset_uiautomator

"Uiautomator started failed. Find solutions in https://github.com/openatx/uiautomator2/wiki/Common-issues"

RuntimeError: Uiautomator started failed. Find solutions in https://github.com/openatx/uiautomator2/wiki/Common-issues

Traceback (most recent call last):


 "/Users/user/.pyenv/versions/3.7.0/lib/python3.7/threading.py", line 917, in _bootstrap_inner

self.run()


 "/Users/user/.pyenv/versions/3.7.0/lib/python3.7/threading.py", line 865, in run

self._target(*self._args, **self._kwargs)


 "/Users/user/pro/python/project/project/plugins/crossdomain_xml/__init__.py", line 39, in _check_crossdomain_xml

ctx.log.debug(str(e))


 "/Users/user/pro/python/project/venv/lib/python3.7/site-packages/mitmproxy/log.py", line 29, in debug

self(txt, "debug")


 "/Users/user/pro/python/project/venv/lib/python3.7/site-packages/mitmproxy/log.py", line 59, in __call__

asyncio.get_event_loop().call_soon(


 "/Users/user/.pyenv/versions/3.7.0/lib/python3.7/asyncio/events.py", line 644, in get_event_loop

% threading.current_thread().name)
RuntimeError: There is no current event loop in thread 'Thread-7'.
