Skip to content

Instantly share code, notes, and snippets.

@Tony363
Last active September 18, 2023 07:17
Show Gist options
  • Save Tony363/e7dba7f493ab19ab68d75c222434bcd5 to your computer and use it in GitHub Desktop.
Save Tony363/e7dba7f493ab19ab68d75c222434bcd5 to your computer and use it in GitHub Desktop.
Traceback (most recent call last):
File "/root/sec_filings/scrap_links.py", line 68, in <module>
main()
File "/root/sec_filings/scrap_links.py", line 26, in main
driver = webdriver.Chrome(executable_path=args.chrome_driver_path,options=options)
File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/chrome/webdriver.py", line 76, in __init__
RemoteWebDriver.__init__(
File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/remote/webdriver.py", line 157, in __init__
self.start_session(capabilities, browser_profile)
File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally.
(unknown error: DevToolsActivePort file doesn't exist)
(The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment