InstaPy / InstaPy/instapy-quickstart
Got this issue
- Langage dominant
- Python
- Étoiles
- 777
- Forks
- 763
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
`Traceback (most recent call last):
File "simple_interaction_good_for_beginners.py", line 32, in
with smart_run(session):
File "C:\Users\Air-AppDev-02\AppData\Local\Programs\Python\Python38-32\lib\contextlib.py", line 113, in __enter__
return next(self.gen)
File "C:\Users\Air-AppDev-02\AppData\Local\Programs\Python\Python38-32\lib\site-packages\instapy\util.py", line 1662, in smart_run
session.login()
File "C:\Users\Air-AppDev-02\AppData\Local\Programs\Python\Python38-32\lib\site-packages\instapy\instapy.py", line 366, in login
if not login_user(self.browser,
File "C:\Users\Air-AppDev-02\AppData\Local\Programs\Python\Python38-32\lib\site-packages\instapy\login_util.py", line 203, in login_user
login_elem = browser.find_element_by_xpath(
File "C:\Users\Air-AppDev-02\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 394, in find_element_by_xpath
return self.find_element(by=By.XPATH, value=xpath)
File "C:\Users\Air-AppDev-02\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 976, in find_element
return self.execute(Command.FIND_ELEMENT, {
File "C:\Users\Air-AppDev-02\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "C:\Users\Air-AppDev-02\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//article//a[text()='Log in']"}
(Session info: chrome=81.0.4044.138)
(Driver info: chromedriver=2.44.609538 (b655c5a60b0b544917107a59d4153d4bf78e1b90),platform=Windows NT 10.0.18362 x86_64)
`
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Start with simple_interaction_good_for_beginners.py at line 32 and the traceback’s InstaPy login path in login_util.py. Reproduce the failure with the reported Python, Chrome, and chromedriver versions; done means the login step’s compatibility cause is confirmed and the issue has a clear resolution or documented diagnosis.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- python
- Domaine
- tooling
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 20/100