mukulhase / WebWhatsapp-Wrapper

An API for sending and receiving messages over web.whatsapp [Working as of 18th May 2018]
https://webwhatsapi.readthedocs.io/en/latest/
MIT License
2.04k stars 794 forks source link

TimeoutException message #932

Open bsallesp opened 4 years ago

bsallesp commented 4 years ago

Waiting for QR Traceback (most recent call last): File "log_all.py", line 72, in driver.wait_for_login() File "/home/admin/.local/lib/python3.8/site-packages/webwhatsapi/init.py", line 250, in wait_for_login WebDriverWait(self.driver, timeout).until( File "/home/admin/.local/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 80, in until raise TimeoutException(message, screen, stacktrace) selenium.common.exceptions.TimeoutException: Message:

UmutAlihan commented 4 years ago

This message is received because it took too long to read the QR Code.

This means once you init the bot, you have to open browser (living in the VNC) and let your phone read the QR in a certain period of time.

Basit-qc commented 4 years ago

@bsallesp I was getting same error, and I fixed it as mentioned in this PR: https://github.com/mukulhase/WebWhatsapp-Wrapper/pull/936 Hope that helps