InstaPy / InstaPy/instapy-quickstart

instapy

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

Workspace in use: "/Users/apple/InstaPy"
Error, unable to determine correct filename for 64bit macos
Traceback (most recent call last):
File "/Users/apple/Desktop/bot/run.py", line 11, in
session = InstaPy(username=insta_username,
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/instapy/instapy.py", line 330, in __init__
self.browser, err_msg = set_selenium_local_session(
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/instapy/browser.py", line 122, in set_selenium_local_session
driver_path = geckodriver_path or get_geckodriver()
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/instapy/browser.py", line 38, in get_geckodriver
sym_path = gdd.download_and_install()[1]
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/webdriverdownloader/webdriverdownloader.py", line 174, in download_and_install
filename_with_path = self.download(version,
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/webdriverdownloader/webdriverdownloader.py", line 129, in download
download_url = self.get_download_url(version, os_name=os_name, bitness=bitness)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/webdriverdownloader/webdriverdownloader.py", line 324, in get_download_url
raise RuntimeError(info_message)
RuntimeError: Error, unable to determine correct filename for 64bit macos

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

Start at instapy/browser.py, especially get_geckodriver and set_selenium_local_session, then follow the webdriverdownloader get_download_url call shown in the traceback. Reproduce the setup on 64-bit macOS with Python 3.10 and determine why the driver filename cannot be selected. Done means the InstaPy session starts without this RuntimeError.

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
35/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.