InstaPy / InstaPy/instapy-quickstart

Help Please

Đang mở
#101 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ả

instapy not working. error:

Traceback (most recent call last):
File "../quickstart.py", line 24, in
headless_browser=False)
File "C:\Users\Administrador.000\AppData\Local\Programs\Python\Python37\lib\site-packages\instapy\instapy.py", line 318, in __init__
self.logger,
File "C:\Users\Administrador.000\AppData\Local\Programs\Python\Python37\lib\site-packages\instapy\browser.py", line 114, in set_selenium_local_session
options=firefox_options,
File "C:\Users\Administrador.000\AppData\Local\Programs\Python\Python37\lib\site-packages\selenium\webdriver\firefox\webdriver.py", line 174, in __init__
keep_alive=True)
File "C:\Users\Administrador.000\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\Administrador.000\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\Administrador.000\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\Administrador.000\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

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 với dòng 24 của quickstart.py và lần theo lỗi đến set_selenium_local_session trong instapy/browser.py, sau đó xem lại thiết lập Selenium Firefox WebDriver được hiển thị trong traceback. Tái hiện SessionNotCreatedException với môi trường Python 3.7 đã nêu; hoàn tất khi quickstart khởi chạy một phiên trình duyệt mà không gặp lỗi capabilities.

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ó
3/5
Thời gian dự kiến
1-2 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.