InstaPy / InstaPy/instapy-quickstart

Instapy doesn't start

Đang mở
#124 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
777
Fork
763
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Hello,
when starting mac_start.command I get this issue:

InstaPy Version: 0.6.8
._. ._. ._. ._. ._. ._. ._. ._.
Workspace in use: "/Users/bunly/InstaPy"
Traceback (most recent call last):
File "../quickstart.py", line 24, in
headless_browser=False)
File "/Users/bunly/anaconda3/lib/python3.7/site-packages/instapy/instapy.py", line 319, in __init__
self.logger,
File "/Users/bunly/anaconda3/lib/python3.7/site-packages/instapy/browser.py", line 114, in set_selenium_local_session
options=firefox_options,
File "/Users/bunly/anaconda3/lib/python3.7/site-packages/selenium/webdriver/firefox/webdriver.py", line 174, in __init__
keep_alive=True)
File "/Users/bunly/anaconda3/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 157, in __init__
self.start_session(capabilities, browser_profile)
File "/Users/bunly/anaconda3/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/Users/bunly/anaconda3/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "/Users/bunly/anaconda3/lib/python3.7/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

logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

Can anyone help me please?

KR

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện lỗi từ mac_start.command và kiểm tra quickstart.py ở dòng 24, sau đó theo dõi phần thiết lập phiên Firefox trong instapy/browser.py ở dòng 114. So sánh môi trường đã cài đặt với thiết lập Python 3.7, Firefox và Selenium được báo cáo. Công việc được hoàn tất khi xác định được nguyên nhân của lỗi unmatched capabilities và xác nhận rằng lệnh khởi động tạo phiên thành công.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
python
Lĩnh vực
tooling
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.