InstaPy / InstaPy/instapy-quickstart
Issue starting script
- 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ả
Hi there i have a problem running instapy script for few weeks already - before it was working spotless
When i run any instapy script i get this as an output:
```
InstaPy Version: 0.6.2
Workspace in use: "C:/InstaPy"
Traceback (most recent call last):
File "C:\Github\instapy-quickstart\quickstart_templates\1basic_follow-unfollow_activity.py", line 32, in
headless_browser=False)
File "C:\Program Files (x86)\Python37-32\lib\site-packages\instapy\instapy.py", line 321, in __init__
self.logger,
File "C:\Program Files (x86)\Python37-32\lib\site-packages\instapy\browser.py", line 110, in set_selenium_local_session
driver_path = geckodriver_path or get_geckodriver()
File "C:\Program Files (x86)\Python37-32\lib\site-packages\instapy\browser.py", line 36, in get_geckodriver
bin_path, sym_path = gdd.download_and_install()
File "C:\Program Files (x86)\Python37-32\lib\site-packages\webdriverdownloader\webdriverdownloader.py", line 168, in download_and_install
with zipfile.ZipFile(os.path.join(self.get_download_path(version), filename), mode="r") as driver_zipfile:
File "C:\Program Files (x86)\Python37-32\lib\zipfile.py", line 1225, in __init__
self._RealGetContents()
File "C:\Program Files (x86)\Python37-32\lib\zipfile.py", line 1292, in _RealGetContents
raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file
```
I am using currently Chrome Version 74.0.3729.169 because i thought its because of the new version of the Chrome but still no luck.
Tried to run as True and False for headless browser nothing changes
Also what I've noticed is that my jsonschema version is 3.0.2 and supported one is 3 and is not compatible with clarifai.
In the C:\Program Files (x86)\Python37-32\Lib\site-packages I have beside all other packages and this:
- jsonschema
- jsonschema-3.0.2.dist-info
- clarifai
- clarifai-2.6.2.dist-info
I'm running out of ideas, tried to reinstall everything but nothing
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
Reproduce the failure from quickstart_templates/1basic_follow-unfollow_activity.py and trace the reported calls through instapy/browser.py and webdriverdownloader.py. Compare the downloaded driver archive with the traceback and verify completion by running the script without the zipfile.BadZipFile error.
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