Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to read marionette #1172

Open
qr0n opened this issue Nov 8, 2022 · 1 comment
Open

Failed to read marionette #1172

qr0n opened this issue Nov 8, 2022 · 1 comment

Comments

@qr0n
Copy link

qr0n commented Nov 8, 2022

[Python]
Failed to read marionette port

 cd /home/iron/what-bot-test ; /usr/bin/env /usr/bin/python3 /home/iron/.vscode-server/extensions/ms-python.python-2022.18.1/pythonFiles/lib/python/debugpy/adapter/../../debugpy/launcher 42287 -- /home/iron/what-bot-test/main.py 
/usr/lib/python3/dist-packages/requests/__init__.py:89: RequestsDependencyWarning: urllib3 (1.26.12) or chardet (3.0.4) doesn't match a supported version!
  warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "
Traceback (most recent call last):
  File "/home/iron/what-bot-test/main.py", line 9, in <module>
    driver = WhatsAPIDriverAsync(loadstyles=True, loop=loop)
  File "/home/iron/.local/lib/python3.8/site-packages/webwhatsapi/async_driver.py", line 26, in __init__
    self._driver = WhatsAPIDriver(client=client, username=username, proxy=proxy, command_executor=command_executor,
  File "/home/iron/.local/lib/python3.8/site-packages/webwhatsapi/__init__.py", line 194, in __init__
    self.driver = webdriver.Firefox(capabilities=capabilities, options=options, **extra_params)
  File "/home/iron/.local/lib/python3.8/site-packages/selenium/webdriver/firefox/webdriver.py", line 197, in __init__
    super().__init__(command_executor=executor, options=options, keep_alive=True)
  File "/home/iron/.local/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 288, in __init__
    self.start_session(capabilities, browser_profile)
  File "/home/iron/.local/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 381, in start_session
    response = self.execute(Command.NEW_SESSION, parameters)
  File "/home/iron/.local/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 444, in execute
    self.error_handler.check_response(response)
  File "/home/iron/.local/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 249, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message: Failed to read marionette port
@qr0n
Copy link
Author

qr0n commented Nov 8, 2022

This is using the example code under samples/async_echo.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant