InstaPy / InstaPy/instapy-quickstart

Quickstart.py issue

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

説明

Hello,

I am blocked in one error:

Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] on win32
Type "copyright", "credits" or "license()" for more information.
>>>
RESTART: C:\Users\alexd\AppData\Local\Programs\Python\Python37\Lib\site-packages\quickstart.py
InstaPy Version: 0.6.6
._. ._. ._. ._. ._. ._. ._. ._. ._.
Workspace in use: "C:/Users/alexd/InstaPy"
Traceback (most recent call last):
File "C:\Users\alexd\AppData\Local\Programs\Python\Python37\Lib\site-packages\quickstart.py", line 30, in
headless_browser=False)
File "C:\Users\alexd\AppData\Local\Programs\Python\Python37\Lib\site-packages\instapy\instapy.py", line 319, in __init__
self.logger,
File "C:\Users\alexd\AppData\Local\Programs\Python\Python37\Lib\site-packages\instapy\browser.py", line 114, in set_selenium_local_session
options=firefox_options,
File "C:\Users\alexd\AppData\Local\Programs\Python\Python37\Lib\site-packages\selenium\webdriver\firefox\webdriver.py", line 174, in __init__
keep_alive=True)
File "C:\Users\alexd\AppData\Local\Programs\Python\Python37\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 157, in __init__
self.start_session(capabilities, browser_profile)
File "C:\Users\alexd\AppData\Local\Programs\Python\Python37\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 252, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "C:\Users\alexd\AppData\Local\Programs\Python\Python37\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "C:\Users\alexd\AppData\Local\Programs\Python\Python37\Lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.SessionNotCreatedException: Message: Unable to find a matching set of capabilities

>>>

Please support :(

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

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

調査の方向性

quickstart.py から開始し、traceback を instapy/browser.py までたどります。特に set_selenium_local_session と Firefox WebDriver の初期化を確認してください。Windows 上の Python 3.7 で SessionNotCreatedException を再現し、その後、quickstart が capabilities エラーなしでブラウザーセッションを作成できることを確認してください。

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

評価

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

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

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