Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firefox #90

Open
Luphaestus opened this issue Jun 28, 2022 · 1 comment
Open

Firefox #90

Luphaestus opened this issue Jun 28, 2022 · 1 comment
Labels
v1.x Issue is related to v1 of twitchtube

Comments

@Luphaestus
Copy link

I followed the instructions on the GitHub, however i have a binary not found error. I have Firefox installed in the default location.

here is the error massage

  File "C:\Users\User\Downloads\twitchtube - Copy (2)\main.py", line 80, in <module>
    make_video(**parameters)
  File "C:\Users\User\Downloads\twitchtube - Copy (2)\twitchtube\video.py", line 191, in make_video
    upload = Upload(profile_path, executable_path, sleep, headless, debug)
  File "C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\opplast\upload.py", line 34, in __init__
    self.driver = webdriver.Firefox(
  File "C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\selenium\webdriver\firefox\webdriver.py", line 170, in __init__
    RemoteWebDriver.__init__(
  File "C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\selenium\webdriver\remote\webdriver.py", line 157, in __init__
    self.start_session(capabilities, browser_profile)
  File "C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\selenium\webdriver\remote\webdriver.py", line 252, in start_session
    response = self.execute(Command.NEW_SESSION, parameters)
  File "C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
    self.error_handler.check_response(response)
  File "C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.SessionNotCreatedException: Message: Expected browser binary location, but unable to find binary in default location, no 'moz:firefoxOptions.binary' capability provided, and no binary flag set on the command line
@OwOHamper
Copy link

Fixed in #99. You can specify Firefox path in config if it isn't detected automatically by geckodriver.

@offish offish added the v1.x Issue is related to v1 of twitchtube label Apr 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v1.x Issue is related to v1 of twitchtube
Projects
None yet
Development

No branches or pull requests

3 participants