InstaPy / InstaPy/instapy-quickstart
run error (zipfile.py)
- 主要言語
- Python
- スター
- 777
- フォーク
- 763
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- tooling
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 30/100