Instapy: Chrome failed to start: exited abnormally

Created on 21 Apr 2017  路  6Comments  路  Source: timgrossmann/InstaPy

Hi,

I tried to install the latest build on my new vps and get only the following error message.
Performance-wise should my vps have enough power for Chrome/InstaPy (3GB RAM, 2 CPU).

  self.browser = webdriver.Chrome('./assets/chromedriver', chrome_options=chrome_options)
  File "/usr/lib/python2.7/site-packages/selenium/webdriver/chrome/webdriver.py", line 69, in __init__
    desired_capabilities=desired_capabilities)
  File "/usr/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 90, in __init__
    self.start_session(desired_capabilities, browser_profile)
  File "/usr/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 177, in start_session
    response = self.execute(Command.NEW_SESSION, capabilities)
  File "/usr/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 236, in execute
    self.error_handler.check_response(response)
  File "/usr/lib/python2.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 192, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally
  (Driver info: chromedriver=2.29.461571 (8a88bbe0775e2a23afda0ceaf2ef7ee74e822cc5),platform=Linux 2.6.32-042stab111.12 x86_64)

Most helpful comment

my suggestion is: try to use headless mode

All 6 comments

Duplicate of sooooo many issues.
Just uncomment the pyvirtualdisplay lines AND make sure that you CAN run Chrome before trying this script.
Also search the issues before create another one with same error.

That was my first guess, but those lines aren't commented anymore in the latest build. #175

@tibor, like said in the last build, just add nogui=True on your quickstart.py

Thanks, I missed this one!

Can you add more detail as to the resolution of this issue? I seem to be having a similar issue.

my suggestion is: try to use headless mode

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  路  3Comments

deronsizemore picture deronsizemore  路  3Comments

v77v picture v77v  路  3Comments

drcyber975 picture drcyber975  路  3Comments

CharlesCCC picture CharlesCCC  路  3Comments