InstaPy / InstaPy/instapy-docs

Noob raspberry pi errors.. selenium.common.exceptions.SessionNotCreatedException: Message: Unable to find a matching set of capabilities

未关闭
#28 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
没有语言数据
星标
65
派生
54
PR 合并指标
30 天内没有已合并 PR

描述

Followed all the instructions in guide for installing on a pi.
running latest version of Raspbian.
InstaPy Version: 0.6.13,
Mozilla Firefox 78.6.1esr,
Python 2.7.16,
Lastest selenium (can't work out how to check that..)
Geckodriver 0.23.0 downloaded and tried in /usr/bin and /usr/local/bin neither changed the erros and both on $PATH

Please can someone suggest how I could fix it. At the moment nothing manages to load it just crashes with the errors below. Problems I thought of but i don't know how to fix; Geckodriver version not working with current firefox version? Location of Geckodriver needing specified somehow?

Or maybe I messed up something else.... ? I can't get it working running either with a test script or instapy quickstart.

Workspace in use: "/home/pi/InstaPy"
Traceback (most recent call last):
File "quickstart.py", line 24, in
headless_browser=False)
File "/usr/local/lib/python3.7/dist-packages/instapy/instapy.py", line 338, in __init__
geckodriver_log_level,
File "/usr/local/lib/python3.7/dist-packages/instapy/browser.py", line 127, in set_selenium_local_session
options=firefox_options,
File "/usr/local/lib/python3.7/dist-packages/selenium/webdriver/firefox/webdriver.py", line 174, in __init__
keep_alive=True)
File "/usr/local/lib/python3.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 157, in __init__
self.start_session(capabilities, browser_profile)
File "/usr/local/lib/python3.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/usr/local/lib/python3.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python3.7/dist-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

贡献指南

这个仓库没有索引到贡献指南

调研方向

Start by reproducing the failure with quickstart.py and the test script on the listed Raspberry Pi environment. Inspect the installation guide alongside instapy/instapy.py and instapy/browser.py to trace session setup. Confirm whether the documented versions and driver locations work, then record the supported setup or required corrections.

由索引模型根据 Issue 内容生成。

评估

技术栈
python, raspberry-pi
领域
documentation, operating-systems
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
30/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。