InstaPy / InstaPy/instapy-quickstart

run error (zipfile.py)

Abierto
#150 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
777
Forks
763
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
python
Área
tooling
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
30/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.