InstaPy / InstaPy/instapy-quickstart

Some assistance with the code please?

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

説明

Could you please help me understand what the issue with the code bellow is?

I have installed it, set the username/password and tried to run the most basic version to see if it works.
I open it with IDLE and then press F5 to run and then this:

```
Traceback (most recent call last):
File "C:\Users\argya\Documents\instapy-quickstart-master\quickstart_templates\basic_follow-unfollow_activity.py", line 30, in
session = InstaPy(username=insta_username,
File "C:\Users\argya\AppData\Local\Programs\Python\Python38-32\lib\site-packages\instapy\instapy.py", line 322, in __init__
self.browser, err_msg = set_selenium_local_session(
File "C:\Users\argya\AppData\Local\Programs\Python\Python38-32\lib\site-packages\instapy\browser.py", line 132, in set_selenium_local_session
browser = webdriver.Firefox(
File "C:\Users\argya\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver\firefox\webdriver.py", line 170, in __init__
RemoteWebDriver.__init__(
File "C:\Users\argya\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 157, in __init__
self.start_session(capabilities, browser_profile)
File "C:\Users\argya\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 252, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "C:\Users\argya\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "C:\Users\argya\AppData\Local\Programs\Python\Python38-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: Unable to find a matching set of capabilities
```

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

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

調査の方向性

quickstart_templates/basic_follow-unfollow_activity.py の 30 行目から開始し、instapy.py と browser.py を経由して Firefox WebDriver の呼び出しに至るまで、InstaPy セッションの作成を追跡します。IDLE の外部で失敗を再現し、インストールされている Python、Selenium、Firefox、driver のセットアップを比較します。basic script が正常にブラウザーセッションを作成できれば完了です。

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

評価

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

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

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