InstaPy / InstaPy/instapy-docker
Message: binary is not a Firefox executable
- Vorherrschende Sprache
- Python
- Sterne
- 193
- Forks
- 84
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
# docker pull instapy/instapy:latest && \
docker run --name instapy \
-v /home/username/Documents/username/instapy/quickstart.py:/code/docker_quickstart.py \
-v /home/username/Documents/username/instapy/InstaPy:/code/InstaPy \
-d instapy/instapy:latest
2652kb [00:01, 2553.41kb/s]
InstaPy Version: 0.6.13
._. ._. ._. ._. ._. ._. ._.
Workspace in use: "/root/InstaPy"
Traceback (most recent call last):
File "docker_quickstart.py", line 25, in
browser_executable_path="/usr/bin/microsoft-edge")
File "/usr/local/lib/python3.7/site-packages/instapy/instapy.py", line 338, in __init__
geckodriver_log_level,
File "/usr/local/lib/python3.7/site-packages/instapy/browser.py", line 127, in set_selenium_local_session
options=firefox_options,
File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/firefox/webdriver.py", line 174, in __init__
keep_alive=True)
File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 157, in __init__
self.start_session(capabilities, browser_profile)
File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.InvalidArgumentException: Message: binary is not a Firefox executable
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Reproduce the failure with the shown Docker pull and run command, then inspect docker_quickstart.py and the browser setup in instapy/browser.py. Check how the container configures the Firefox WebDriver and verify that the reported executable path is valid; done means the container starts a Selenium Firefox session without the executable error.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- docker, python
- Bereich
- devops
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100