WebWhatsapp-Wrapper: check_unread() error
Waiting for QR
Bot started
Checking for more messages
Traceback (most recent call last):
File "main.py", line 138, in <module>
check_unread()
File "main.py", line 44, in check_unread
for contact in driver.get_unread():
File "/home/pribaqnet/Escritorio/FestiBOT/webwhatsapi/_init_.py", line 338, in get_unread
raw_message_groups = self.wapi_functions.getUnreadMessages(include_me, include_notifications, use_unread_count)
File "/home/pribaqnet/Escritorio/FestiBOT/webwhatsapi/wapi_js_wrapper.py", line 44, in _getattr_
wapi_functions = dir(self)
File "/home/pribaqnet/Escritorio/FestiBOT/webwhatsapi/wapi_js_wrapper.py", line 69, in _dir_
result = self.driver.execute_script("return window.WAPI")
File "/usr/local/lib/python3.6/dist-packages/selenium/webdriver/remote/webdriver.py", line 635, in execute_script
'args': converted_args})['value']
File "/usr/local/lib/python3.6/dist-packages/selenium/webdriver/remote/webdriver.py", line 320, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python3.6/dist-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
I don’t wnow what to do 😉
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 26 (11 by maintainers)
Commits related to this issue
- update README suggestion for #404 — committed to acarist/WebWhatsapp-Wrapper by acarist 6 years ago
- update README (#524) suggestion for #404 — committed to mukulhase/WebWhatsapp-Wrapper by acarist 5 years ago
- Downgrade firefox to resolve cyclic call https://github.com/mukulhase/WebWhatsapp-Wrapper/issues/404 Signed-off-by: Farhaan Bukhsh <farhaan@opencraft.com> — committed to open-craft/xblock-group-project-v2 by farhaanbukhsh 4 years ago
- Downgrade firefox to resolve cyclic call https://github.com/mukulhase/WebWhatsapp-Wrapper/issues/404 Signed-off-by: Farhaan Bukhsh <farhaan@opencraft.com> — committed to open-craft/xblock-group-project-v2 by farhaanbukhsh 4 years ago
Are there any plans on fixing this issue? staying on ff61 is not a solution, eventually it will go old
Worked for me as well. To downgrade Firefox to version 61 I downloaded it from here, removed
firefox(sudo pacman -R firefoxin Arch) and just created a link to the binary in the extracted folder withsudo ln -s ~/util/firefox/firefox /usr/local/bin/firefox.It was the firefox version, thanks to all
Same thing here, happened exactly after firefox updated
EDIT: This link helped me. Try downgrading back to version 61.0.2 or using another browser like Chrome. Also, disable automatic updates on
Options > General > Firefox Update. This was happening for get_unread and sendMessageToID but downgrading worked like a charm