Open yfcube opened 4 years ago
Hi, thank you for reporting the issue, so sorry for the trouble you're having!
Looks like the problem is similar to this one.
Unfortunately I cannot reproduce the issue on my machine, but may I suggest a couple of different things to try:
Change IS_RETINA
to False
here
Check temp/login-screen.png
file in the project folder and see if there's anything strange with it. It should be a screenshot of the log in screen (on which the program does computer-vision to print the QR in terminal).
Add a time.sleep(5)
right before this line. I suspect it is quite possible that the QR code has not finished loading when the program attempts to retrieve it, so perhaps just make it wait a bit longer to see.
Comment out chrome_options.add_argument("--headless")
line here. It will launch an instance of the chrome browser, and will show how the program is manipulating everything. If there's anything wrong it should be easy to spot then.
Please let me know if you discover something! I'll gladly fix the code.
Hi
Changing IS_RETINA
to False
works for me.
Then I encountered the "nothing happened after scanning" issue as in #1.
I solved this by following your solution described in #1. There are several Chinese characters in my username as well as a trailing ellipsis since my username is too long to be shown entirely.
On my ubuntu 16.04 with
launched with
It shows the following QR code, which cannot be recognized by the QR code scanner in WeChat.