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 793 forks source link

Error after updating #437

Open lucasalberto01 opened 6 years ago

lucasalberto01 commented 6 years ago

After this last update began to give this problem. I have already updated geokdrive, requeriment.txt and continue with the same problem. Does anyone know what can it be? I use linux mint and python 3.6.5. The code is the echo example.

Waiting for QR Bot started Checking for more messages Traceback (most recent call last): File "echo.py", line 14, in for contact in driver.get_unread(): File "/home/lucas/Documentos/wpp teste/1/webwhatsapi/init.py", line 348, in get_unread raw_message_groups = self.wapi_functions.getUnreadMessages(include_me, include_notifications, use_unread_count) File "/home/lucas/Documentos/wpp teste/1/webwhatsapi/wapi_js_wrapper.py", line 44, in getattr wapi_functions = dir(self) File "/home/lucas/Documentos/wpp teste/1/webwhatsapi/wapi_js_wrapper.py", line 69, in dir result = self.driver.execute_script("return window.WAPI") File "/home/lucas/.local/lib/python3.6/site-packages/selenium/webdriver/remote/webdriver.py", line 635, in execute_script 'args': converted_args})['value'] File "/home/lucas/.local/lib/python3.6/site-packages/selenium/webdriver/remote/webdriver.py", line 320, in execute self.error_handler.check_response(response) File "/home/lucas/.local/lib/python3.6/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.JavascriptException: Message: Cyclic object value

3dluis commented 6 years ago

Check It https://github.com/mukulhase/WebWhatsapp-Wrapper/issues/404