instapy-quickstart icon indicating copy to clipboard operation
instapy-quickstart copied to clipboard

Chromedriver

Open arthurross88 opened this issue 4 years ago • 0 comments

Hi, I get this message. Please help!

Workspace in use: "/home/arthur/InstaPy" Error, unable to determine correct filename for 64bit linux Traceback (most recent call last): File "quickstart.py", line 22, in session = InstaPy(username=insta_username, File "/home/arthur/.local/lib/python3.8/site-packages/instapy/instapy.py", line 312, in init self.browser, err_msg = set_selenium_local_session( File "/home/arthur/.local/lib/python3.8/site-packages/instapy/browser.py", line 120, in set_selenium_local_session driver_path = geckodriver_path or get_geckodriver() File "/home/arthur/.local/lib/python3.8/site-packages/instapy/browser.py", line 36, in get_geckodriver sym_path = gdd.download_and_install()[1] File "/home/arthur/.local/lib/python3.8/site-packages/webdriverdownloader/webdriverdownloader.py", line 174, in download_and_install filename_with_path = self.download(version, File "/home/arthur/.local/lib/python3.8/site-packages/webdriverdownloader/webdriverdownloader.py", line 129, in download download_url = self.get_download_url(version, os_name=os_name, bitness=bitness) File "/home/arthur/.local/lib/python3.8/site-packages/webdriverdownloader/webdriverdownloader.py", line 324, in get_download_url raise RuntimeError(info_message) RuntimeError: Error, unable to determine correct filename for 64bit linux arthur@arthur:~/instapy-quickstart-master$ sudo nano quickstart.py [sudo] password for arthur: arthur@arthur:~/instapy-quickstart-master$ python3 quickstart.py InstaPy Version: 0.6.10 .. .. .. .. .. .. .. .. Workspace in use: "/home/arthur/InstaPy" Error, unable to determine correct filename for 64bit linux Traceback (most recent call last): File "quickstart.py", line 22, in session = InstaPy(username=insta_username, File "/home/arthur/.local/lib/python3.8/site-packages/instapy/instapy.py", line 312, in init self.browser, err_msg = set_selenium_local_session( File "/home/arthur/.local/lib/python3.8/site-packages/instapy/browser.py", line 120, in set_selenium_local_session driver_path = geckodriver_path or get_geckodriver() File "/home/arthur/.local/lib/python3.8/site-packages/instapy/browser.py", line 36, in get_geckodriver sym_path = gdd.download_and_install()[1] File "/home/arthur/.local/lib/python3.8/site-packages/webdriverdownloader/webdriverdownloader.py", line 174, in download_and_install filename_with_path = self.download(version, File "/home/arthur/.local/lib/python3.8/site-packages/webdriverdownloader/webdriverdownloader.py", line 129, in download download_url = self.get_download_url(version, os_name=os_name, bitness=bitness) File "/home/arthur/.local/lib/python3.8/site-packages/webdriverdownloader/webdriverdownloader.py", line 324, in get_download_url raise RuntimeError(info_message) RuntimeError: Error, unable to determine correct filename for 64bit linux arthur@arthur:~/instapy-quickstart-master$ python quickstart.py

.. .. .. .. .. .. .. .. Workspace in use: "/home/arthur/InstaPy"

.. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. INFO [2020-08-05 13:30:29] [krayefashion] Using built in instapy-chromedriver executable (version 2.46) ERROR [2020-08-05 13:30:30] [krayefashion] Message: session not created: Chrome version must be between 71 and 75 (Driver info: chromedriver=2.46.628388 (4a34a70827ac54148e092aafb70504c4ea7ae926),platform=Linux 5.7.0-kali1-amd64 x86_64) Traceback (most recent call last): File "/home/arthur/.local/lib/python2.7/site-packages/instapy/browser.py", line 163, in set_selenium_local_session chrome_options=chrome_options) File "/home/arthur/.local/lib/python2.7/site-packages/selenium/webdriver/chrome/webdriver.py", line 81, in init desired_capabilities=desired_capabilities) File "/home/arthur/.local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 157, in init self.start_session(capabilities, browser_profile) File "/home/arthur/.local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session response = self.execute(Command.NEW_SESSION, parameters) File "/home/arthur/.local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute self.error_handler.check_response(response) File "/home/arthur/.local/lib/python2.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response raise exception_class(message, screen, stacktrace) SessionNotCreatedException: Message: session not created: Chrome version must be between 71 and 75 (Driver info: chromedriver=2.46.628388 (4a34a70827ac54148e092aafb70504c4ea7ae926),platform=Linux 5.7.0-kali1-amd64 x86_64)

Traceback (most recent call last): File "quickstart.py", line 24, in headless_browser=False) File "/home/arthur/.local/lib/python2.7/site-packages/instapy/instapy.py", line 312, in init self.set_selenium_local_session() File "/home/arthur/.local/lib/python2.7/site-packages/instapy/instapy.py", line 362, in set_selenium_local_session raise InstaPyError(err_msg) instapy.exceptions.InstaPyError: ensure chromedriver is installed at /home/arthur/.local/lib/python2.7/site-packages/instapy_chromedriver/chromedriver_linux64

arthurross88 avatar Aug 05 '20 11:08 arthurross88