New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

小米note报错打开autojump.png错误 #442

bainian opened this Issue Jan 1, 2018 · 2 comments


None yet
3 participants

bainian commented Jan 1, 2018

Screen: Physical size: 1080x1920
Density: Physical density: 440
DeviceType: MI NOTE LTE
OS: darwin
Python: 3.6.4 |Anaconda, Inc.| (default, Dec 21 2017, 15:39:08)
[GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)]

List of devices attached
4daaf8f0 device

Traceback (most recent call last):
File "", line 357, in
File "", line 344, in main
im ='./autojump.png')
File "/Users/sage/anaconda3/envs/wechat_env3/lib/python3.6/site-packages/PIL/", line 2572, in open
% (filename if filename else fp))
OSError: cannot identify image file './autojump.png'


This comment has been minimized.


F-loat commented Jan 1, 2018



This comment has been minimized.

gallonyin commented Jan 1, 2018

把def pull_screenshot():
os.system('adb shell /system/bin/screencap -p /sdcard/screenshot.png')
os.system('adb pull /sdcard/screenshot.png ./autojump.png')

@F-loat F-loat added the Screenshot label Jan 1, 2018

@F-loat F-loat closed this Jan 1, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment