Traceback (most recent call last):


 "<stdin>", line 1, in <module>


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

return getattr(self._default_session, attr)


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

return self.jsonrpc.deviceInfo()


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

params, http_timeout)


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

self.healthcheck(unlock=False)


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

raise RuntimeError("Uiautomator started failed.")
RuntimeError: Uiautomator started failed.

Traceback (most recent call last):

 "Tests\test_file_jpeg2k.py", line 67, in test_tiled_rt
im = roundtrip(test_card, tile_size=(128, 128))

 "Tests\test_file_jpeg2k.py", line 25, in roundtrip
im.load()

 "D:\Build\Pillow\Pillow-git\PIL\Jpeg2KImagePlugin.py", line 181, in load
Image
.Image
.load(self)

 "D:\Build\Pillow\Pillow-git\PIL\Image
.py", line 234, in load
raise_ioerror(e)

 "D:\Build\Pillow\Pillow-git\PIL\Image
.py", line 56, in raise_ioerror
raise IOError(message + " when reading image file")IOError: broken data stream when reading image file