InstaPy / InstaPy/instapy-quickstart
Some assistance with the code please?
- Lenguaje dominante
- Python
- Estrellas
- 777
- Forks
- 763
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Could you please help me understand what the issue with the code bellow is?
I have installed it, set the username/password and tried to run the most basic version to see if it works.
I open it with IDLE and then press F5 to run and then this:
```
Traceback (most recent call last):
File "C:\Users\argya\Documents\instapy-quickstart-master\quickstart_templates\basic_follow-unfollow_activity.py", line 30, in
session = InstaPy(username=insta_username,
File "C:\Users\argya\AppData\Local\Programs\Python\Python38-32\lib\site-packages\instapy\instapy.py", line 322, in __init__
self.browser, err_msg = set_selenium_local_session(
File "C:\Users\argya\AppData\Local\Programs\Python\Python38-32\lib\site-packages\instapy\browser.py", line 132, in set_selenium_local_session
browser = webdriver.Firefox(
File "C:\Users\argya\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver\firefox\webdriver.py", line 170, in __init__
RemoteWebDriver.__init__(
File "C:\Users\argya\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 157, in __init__
self.start_session(capabilities, browser_profile)
File "C:\Users\argya\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 252, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "C:\Users\argya\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\argya\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.SessionNotCreatedException: Message: Unable to find a matching set of capabilities
```
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Start with quickstart_templates/basic_follow-unfollow_activity.py at line 30, then trace the InstaPy session creation through instapy.py and browser.py to the Firefox WebDriver call. Reproduce the failure outside IDLE and compare the installed Python, Selenium, Firefox, and driver setup; done means the basic script successfully creates a browser session.
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