InstaPy / InstaPy/instapy-docs

Issue

Abierto
#25 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Sin datos de lenguaje
Estrellas
65
Forks
54
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Hi, i have this issue
I am using the InstaPy Version: 0.6.12

`Traceback (most recent call last):
File "final-v5-19-nuevo.py", line 116, in
session.follow_by_list(liomet_followers_2, times=1, sleep_delay=600, interact=True)
File "/home/ale/global-2021/lib/python3.6/site-packages/instapy/instapy.py", line 1242, in follow_by_list
self.user_interact_media,
File "/home/ale/global-2021/lib/python3.6/site-packages/instapy/instapy.py", line 2470, in interact_by_users
media,
File "/home/ale/global-2021/lib/python3.6/site-packages/instapy/like_util.py", line 473, in get_links_for_username
is_private = is_private_profile(browser, logger, following_status == "Following")
File "/home/ale/global-2021/lib/python3.6/site-packages/instapy/util.py", line 97, in is_private_profile
read_xpath(is_private_profile.__name__, "is_private")
File "/home/ale/global-2021/lib/python3.6/site-packages/selenium/webdriver/remote/webelement.py", line 351, in find_element_by_xpath
return self.find_element(by=By.XPATH, value=xpath)
File "/home/ale/global-2021/lib/python3.6/site-packages/selenium/webdriver/remote/webelement.py", line 659, in find_element
{"using": by, "value": value})['value']
File "/home/ale/global-2021/lib/python3.6/site-packages/selenium/webdriver/remote/webelement.py", line 633, in _execute
return self._parent.execute(command, params)
File "/home/ale/global-2021/lib/python3.6/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "/home/ale/global-2021/lib/python3.6/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.StaleElementReferenceException: Message: The element reference of is stale; either the element is no longer attached to the DOM, it is not in the current frame context, or the document has been refreshed
`

Guía de contribución

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

Línea de trabajo

Start with the traceback entry points in instapy.py, like_util.py, and util.py, especially is_private_profile and the follow_by_list call. Reproduce the reported StaleElementReferenceException with InstaPy 0.6.12 and establish the expected behavior before defining a fix and regression coverage.

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
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
20/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.