InstaPy / InstaPy/instapy-quickstart

mac_start.command issues

Abierto
#105 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Lenguaje dominante
Python
Estrellas
777
Forks
763
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Whenever I run the mac_start.command file from the run folder it doesn't open up a Chrome browser and login as expected. This is what is displayed and I think it has to do with the part saying: "No handlers could be found for logger "root"

Please help

.. .. .. .. .. .. .. ..
Workspace in use: "/Users/kheaven/InstaPy"
No handlers could be found for logger "root"

.. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..
INFO [2019-11-07 19:17:37] [kheaven.xo] Using built in instapy-chromedriver executable (version 2.46)
ERROR [2019-11-07 19:17:39] [kheaven.xo] Message: session not created: Chrome version must be between 71 and 75
(Driver info: chromedriver=2.46.628411 (3324f4c8be9ff2f70a05a30ebc72ffb013e1a71e),platform=Mac OS X 10.14.6 x86_64)
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/instapy/browser.py", line 163, in set_selenium_local_session
chrome_options=chrome_options)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/selenium/webdriver/chrome/webdriver.py", line 81, in init
desired_capabilities=desired_capabilities)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 157, in init
self.start_session(capabilities, browser_profile)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
SessionNotCreatedException: Message: session not created: Chrome version must be between 71 and 75
(Driver info: chromedriver=2.46.628411 (3324f4c8be9ff2f70a05a30ebc72ffb013e1a71e),platform=Mac OS X 10.14.6 x86_64)

Traceback (most recent call last):
File "../quickstart.py", line 24, in
headless_browser=False)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/instapy/instapy.py", line 312, in init
self.set_selenium_local_session()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/instapy/instapy.py", line 362, in set_selenium_local_session
raise InstaPyError(err_msg)
instapy.exceptions.InstaPyError: ensure chromedriver is installed at /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/instapy_chromedriver/chromedriver_mac64
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]

Guía de contribución

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

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Línea de trabajo

Comienza con run/mac_start.command y la línea 24 de quickstart.py; compara la configuración de Python 2.7 indicada con el fallo en instapy/browser.py línea 163 y la ruta de instapy_chromedriver. Se considera terminado cuando run/mac_start.command abre Chrome y completa el inicio de sesión sin el error de creación de sesión mostrado.

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

Evaluación

Stack tecnológico
macos, 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.