InstaPy / InstaPy/instapy-quickstart

Chromedriver

Ouverte
#69 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
777
Forks
763
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

The last few days it wasn't a problem to run the program. Today I'm getting the following error:

Python 3.7.4 (tags/v3.7.4:e09359112e, Jul 8 2019, 19:29:22) [MSC v.1916 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license()" for more information.
>>>
RESTART: C:\Users\Alexander_Hansmann\AppData\Local\Programs\Python\Python37-32\Lib\site-packages\quickstart.py

._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._.
Workspace in use: "C:/Users/Alexander_Hansmann/InstaPy"

._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._.
INFO [2019-08-14 09:59:09] [alexander_hansmann] Using built in instapy-chromedriver executable (version 2.46)
ERROR [2019-08-14 09:59:12] [alexander_hansmann] Message: unknown error: cannot find Chrome binary
Traceback (most recent call last):
File "C:\Users\Alexander_Hansmann\AppData\Local\Programs\Python\Python37-32\Lib\site-packages\instapy\browser.py", line 163, in set_selenium_local_session
chrome_options=chrome_options)
File "C:\Users\Alexander_Hansmann\AppData\Local\Programs\Python\Python37-32\Lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 81, in __init__
desired_capabilities=desired_capabilities)
File "C:\Users\Alexander_Hansmann\AppData\Local\Programs\Python\Python37-32\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 157, in __init__
self.start_session(capabilities, browser_profile)
File "C:\Users\Alexander_Hansmann\AppData\Local\Programs\Python\Python37-32\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 252, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "C:\Users\Alexander_Hansmann\AppData\Local\Programs\Python\Python37-32\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "C:\Users\Alexander_Hansmann\AppData\Local\Programs\Python\Python37-32\Lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: unknown error: cannot find Chrome binary

Traceback (most recent call last):
File "C:\Users\Alexander_Hansmann\AppData\Local\Programs\Python\Python37-32\Lib\site-packages\quickstart.py", line 30, in
headless_browser=False)
File "C:\Users\Alexander_Hansmann\AppData\Local\Programs\Python\Python37-32\Lib\site-packages\instapy\instapy.py", line 312, in __init__
self.set_selenium_local_session()
File "C:\Users\Alexander_Hansmann\AppData\Local\Programs\Python\Python37-32\Lib\site-packages\instapy\instapy.py", line 362, in set_selenium_local_session
raise InstaPyError(err_msg)
instapy.exceptions.InstaPyError: ensure chromedriver is installed at C:\Users\Alexander_Hansmann\AppData\Local\Programs\Python\Python37-32\Lib\site-packages\instapy_chromedriver\chromedriver_win32.exe

I've installed the latest version of chromedriver.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Start with quickstart.py and the set_selenium_local_session entry points shown in instapy/browser.py and instapy/instapy.py, then reproduce the Windows Python 3.7 launch using the reported chromedriver version. Done means identifying the cause of the missing Chrome binary error and documenting or correcting the setup path, with a successful local browser start.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
python
Domaine
devtools
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.