InstaPy / InstaPy/instapy-quickstart

run error (zipfile.py)

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

starting instapy with quickstart
================================
InstaPy Version: 0.6.8
._. ._. ._. ._. ._. ._. ._. ._. ._.
Workspace in use: "C:/Users/Joao/InstaPy"
Traceback (most recent call last):
File "../quickstart.py", line 22, in
session = InstaPy(username=insta_username,
File "D:\python\lib\site-packages\instapy\instapy.py", line 309, in __init__
self.browser, err_msg = set_selenium_local_session(
File "D:\python\lib\site-packages\instapy\browser.py", line 110, in set_selenium_local_session
driver_path = geckodriver_path or get_geckodriver()
File "D:\python\lib\site-packages\instapy\browser.py", line 36, in get_geckodriver
bin_path, sym_path = gdd.download_and_install()
File "D:\python\lib\site-packages\webdriverdownloader\webdriverdownloader.py", line 195, in download_and_install
with zipfile.ZipFile(os.path.join(self.get_download_path(version), filename), mode="r") as driver_zipfile:
File "D:\python\lib\zipfile.py", line 1269, in __init__
self._RealGetContents()
File "D:\python\lib\zipfile.py", line 1336, in _RealGetContents
raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file

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 with quickstart.py line 22 and trace the failure into instapy/browser.py at get_geckodriver, then inspect webdriverdownloader.py where the downloaded file is opened by zipfile.ZipFile. Reproduce the quickstart run and consider the issue complete when initialization no longer raises zipfile.BadZipFile.

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