InstaPy / InstaPy/instapy-quickstart
Error "Cookie file not found, creating cookie..."
- Lenguaje dominante
- Python
- Estrellas
- 777
- Forks
- 763
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
InstaPy Version: 0.6.12
._. ._. ._. ._. ._. ._. ._. ._.
Workspace in use: "/home/xxxxxxx/InstaPy"
INFO [2020-12-18 15:46:19] [xxxxxxx] Session started!
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
oooooooooooooooooooooooooooooooooooooooooooooooooooooo
INFO [2020-12-18 15:46:19] [xxxxxxx] -- Connection Checklist [1/2] (Internet Connection Status)
INFO [2020-12-18 15:46:21] [xxxxxxx] - Internet Connection Status: ok
INFO [2020-12-18 15:46:21] [xxxxxxx] - Current IP is "195.246.120.63" and it's from "Sweden/SE"
INFO [2020-12-18 15:46:21] [xxxxxxx] -- Connection Checklist [2/2] (Hide Selenium Extension)
INFO [2020-12-18 15:46:21] [xxxxxxx] - window.navigator.webdriver response: None
INFO [2020-12-18 15:46:21] [xxxxxxx] - Hide Selenium Extension: ok
Cookie file not found, creating cookie...
INFO [2020-12-18 15:47:05] [xxxxxxx] Timed out with failure while explicitly waiting until visibility of element located!
Traceback (most recent call last):
File "xxxxxxx/main.py", line 38, in
InstaPy(username="xxxxxxx", password="xxxxxxx").login()
File "/usr/local/lib/python3.8/dist-packages/instapy/instapy.py", line 425, in login
if not login_user(
File "/usr/local/lib/python3.8/dist-packages/instapy/login_util.py", line 316, in login_user
input_username = browser.find_element_by_xpath(input_username_XP)
File "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/remote/webdriver.py", line 394, in find_element_by_xpath
return self.find_element(by=By.XPATH, value=xpath)
File "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element
return self.execute(Command.FIND_ELEMENT, {
File "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: //input[@name='username']
https://ibb.co/VMSKDNw
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Start by reproducing the login failure with InstaPy 0.6.12 and review the traceback entries in main.py, instapy.py, and login_util.py, especially login_user. Check why the username element is not found after cookie creation; done means the reported login path succeeds or the failure is documented with a confirmed cause.
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
- 25/100