Webwhatsapp-wrapper: Unable to set Media File - Error: selenium.common.exceptions.JavascriptException: Message: Cyclic object value

Created on 17 Oct 2018  路  7Comments  路  Source: mukulhase/WebWhatsapp-Wrapper

[email protected]
Traceback (most recent call last):
File "C:\Python27\Whatappvedio.py", line 21, in
driver.send_media(image_path, phone_whatsapp, caption) # Expected send_media(self, path, chatid, caption)
File "C:\Program Files (x86)\Python36-32\lib\site-packages\webwhatsapi__init__.py", line 570, in send_media
return self.wapi_functions.sendImage(imgBase64, chatid, filename, caption)
File "C:\Program Files (x86)\Python36-32\lib\site-packages\webwhatsapi\wapi_js_wrapper.py", line 44, in __getattr__
wapi_functions = dir(self)
File "C:\Program Files (x86)\Python36-32\lib\site-packages\webwhatsapi\wapi_js_wrapper.py", line 69, in __dir__
result = self.driver.execute_script("return window.WAPI")
File "C:\Program Files (x86)\Python36-32\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 629, in execute_script
'args': converted_args})['value']
File "C:\Program Files (x86)\Python36-32\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 314, in execute
self.error_handler.check_response(response)
File "C:\Program Files (x86)\Python36-32\lib\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

Most helpful comment

Hi, any solution to this problem besides the downgrade?

All 7 comments

please suggest. it is very urgent

same issue here... "Cyclic object value"

Check #404 , you will have to downgrade your Firefox back to 61.0.2

Closed due to inactivity and no reply to solution

same problem here. I tried from docker command.

docker run --network selenium -it -e SELENIUM='http://firefox:4444/wd/hub' -v $(pwd):/app webwhatsapi /bin/bash -c "pip install ./;pip list;python sample/remote.py"

Hi, any solution to this problem besides the downgrade?

any solution for this issue?

Was this page helpful?
0 / 5 - 0 ratings