InstaPy / InstaPy/instapy-quickstart

Chromedriver

オープン
#174 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
777
フォーク
763
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Begin with quickstart.py and follow the stack traces through instapy/browser.py and webdriverdownloader/webdriverdownloader.py. Reproduce the Linux driver setup and browser-version errors; done means the quickstart starts a Selenium session with a supported driver, or the problem is narrowed to a specific dependency or version mismatch.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
tooling
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。