Instapy: Error DigitalOceans

Created on 10 Apr 2018  路  4Comments  路  Source: timgrossmann/InstaPy

Expected Behavior

root@JAN:/opt/InstaPy# sudo nano quickstart.py
root@JAN:/opt/InstaPy# python quickstart.py
ERROR [2018-04-10 00:45:33] [jenderz]  Message: unknown error: Chrome failed to start: exited abnormally
  (Driver info: chromedriver=2.37.544315 (730aa6a5fdba159ac9f4c1e8cbc59bf1b5ce12b7),platform=Linux 4.13.0-37-generic x86_64)
Traceback (most recent call last):
  File "/opt/InstaPy/instapy/instapy.py", line 256, in set_selenium_local_session
    chrome_options=chrome_options)
  File "/usr/local/lib/python2.7/dist-packages/selenium-2.53.6-py2.7.egg/selenium/webdriver/chrome/webdriver.py", line 69, in __init__
    desired_capabilities=desired_capabilities)
  File "/usr/local/lib/python2.7/dist-packages/selenium-2.53.6-py2.7.egg/selenium/webdriver/remote/webdriver.py", line 90, in __init__
    self.start_session(desired_capabilities, browser_profile)
  File "/usr/local/lib/python2.7/dist-packages/selenium-2.53.6-py2.7.egg/selenium/webdriver/remote/webdriver.py", line 177, in start_session
    response = self.execute(Command.NEW_SESSION, capabilities)
  File "/usr/local/lib/python2.7/dist-packages/selenium-2.53.6-py2.7.egg/selenium/webdriver/remote/webdriver.py", line 236, in execute
    self.error_handler.check_response(response)
  File "/usr/local/lib/python2.7/dist-packages/selenium-2.53.6-py2.7.egg/selenium/webdriver/remote/errorhandler.py", line 192, in check_response
    raise exception_class(message, screen, stacktrace)
WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally
  (Driver info: chromedriver=2.37.544315 (730aa6a5fdba159ac9f4c1e8cbc59bf1b5ce12b7),platform=Linux 4.13.0-37-generic x86_64)

Traceback (most recent call last):
  File "quickstart.py", line 22, in <module>
    multi_logs=True)
  File "/opt/InstaPy/instapy/instapy.py", line 152, in __init__
    self.set_selenium_local_session()
  File "/opt/InstaPy/instapy/instapy.py", line 260, in set_selenium_local_session
    Settings.chromedriver_location))
instapy.instapy.InstaPyError: ensure chromedriver is installed at /opt/InstaPy/assets/chromedriver

Current Behavior

Possible Solution (optional)

InstaPy configuration

Help me!

wontfix

All 4 comments

I'm having a really similar issue and get understand which is the problem

I have the same error using chromedriver 2.37 inside a virtualenv.

same on 2.40

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. > If this problem still occurs, please open a new issue

Was this page helpful?
0 / 5 - 0 ratings

Related issues

46960 picture 46960  路  3Comments

harrypython picture harrypython  路  3Comments

thisishotdog picture thisishotdog  路  3Comments

tibor picture tibor  路  3Comments

v77v picture v77v  路  3Comments