Instapy: crashes on start

Created on 9 Aug 2019  路  5Comments  路  Source: timgrossmann/InstaPy

4689 Expected Behavior

expected to start liking as usual

Current Behavior

crashing on start

Possible Solution (optional)

InstaPy error

```
._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._.
No any custom workspace provided. ~using existing..

._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._.
Workspace in use: "C:/Users/Mikael Abehsera/InstaPy"

._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._.
INFO [2019-08-09 11:26:38] [mikaelabehsera] Using built in instapy-chromedriver executable (version 2.46)

DevTools listening on ws://127.0.0.1:55191/devtools/browser/72d89619-5a11-451d-a015-06d01209374e
ERROR [2019-08-09 11:26:41] [mikaelabehsera] Message: session not created: Chrome version must be between 71 and 75
(Driver info: chromedriver=2.46.628402 (536cd7adbad73a3783fdc2cab92ab2ba7ec361e1),platform=Windows NT 10.0.17763 x86_64)
Traceback (most recent call last):
File "F:\WORK\instagram bot\InstaPy-master\instapy\browser.py", line 163, in set_selenium_local_session
chrome_options=chrome_options)
File "C:\Program Files (x86)\Python37-32\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 81, in __init__
desired_capabilities=desired_capabilities)
File "C:\Program Files (x86)\Python37-32\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 157, in __init__
self.start_session(capabilities, browser_profile)
File "C:\Program Files (x86)\Python37-32\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 252, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "C:\Program Files (x86)\Python37-32\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "C:\Program Files (x86)\Python37-32\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.SessionNotCreatedException: Message: session not created: Chrome version must be between 71 and 75
(Driver info: chromedriver=2.46.628402 (536cd7adbad73a3783fdc2cab92ab2ba7ec361e1),platform=Windows NT 10.0.17763 x86_64)

Traceback (most recent call last):
File "mike.py", line 15, in
headless_browser=True)
File "F:\WORK\instagram bot\InstaPy-master\instapy\instapy.py", line 312, in __init__
self.set_selenium_local_session()
File "F:\WORK\instagram bot\InstaPy-master\instapy\instapy.py", line 362, in set_selenium_local_session
raise InstaPyError(err_msg)
instapy.exceptions.InstaPyError: ensure chromedriver is installed at C:\Program Files (x86)\Python37-32\lib\site-packages\instapy_chromedriver\chromedriver_win32.exe```

wontfix

Most helpful comment

It seems that you've updated your chrome browser, but built-in instapy chromedriver requires older version. Your may download newest chromedriver version from: https://chromedriver.storage.googleapis.com/index.html?path=76.0.3809.68/, extract it to <your python installation path>/site-packages/instapy_chromedriver/chromedriver_linux64, and everything will work fine.

All 5 comments

Wrong Chromedriver version, check the right version for your Chrome browser.

It seems that you've updated your chrome browser, but built-in instapy chromedriver requires older version. Your may download newest chromedriver version from: https://chromedriver.storage.googleapis.com/index.html?path=76.0.3809.68/, extract it to <your python installation path>/site-packages/instapy_chromedriver/chromedriver_linux64, and everything will work fine.

Thank you sir

Starting ChromeDriver 76.0.3809.68 (420c9498db8ce8fcd190a954d51297672c1515d5-refs/branch-heads/3809@{#864}) on port 9515
Only local connections are allowed.
Please protect ports used by ChromeDriver and related test frameworks to prevent access by malicious code.

@gerfra @ZBarthelemy now that I updated this is my issue

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

seuraltimez picture seuraltimez  路  3Comments

CodeMaster1 picture CodeMaster1  路  3Comments

tibor picture tibor  路  3Comments

v77v picture v77v  路  3Comments

drcyber975 picture drcyber975  路  3Comments