offish / twitchtube

Twitch YouTube bot. Automatically make video compilations of the most viewed Twitch clips and upload them to YouTube using Python 3.
MIT License
538 stars 77 forks source link

Can't upload to youtube #32

Closed Zendek7 closed 3 years ago

Zendek7 commented 3 years ago

The clips downloaded fine but it does not upload to youtube even with the firefox profile

Traceback (most recent call last): File "C:\Users\Zendek\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\selenium\webdriver\common\service.py", line 72, in start self.process = subprocess.Popen(cmd, env=self.env, File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.752.0_x64qbz5n2kfra8p0\lib\subprocess.py", line 951, in init self._execute_child(args, executable, preexec_fn, close_fds, File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.752.0_x64qbz5n2kfra8p0\lib\subprocess.py", line 1420, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, FileNotFoundError: [WinError 2] Le fichier spécifié est introuvable

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:\Users\Zendek\Desktop\twitchtube-master\main.py", line 55, in upload = Upload(ROOT_PROFILE_PATH, SLEEP, HEADLESS, DEBUG) File "C:\Users\Zendek\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\opplast\upload.py", line 22, in init self.driver = webdriver.Firefox(firefox_profile=profile, options=options) File "C:\Users\Zendek\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\selenium\webdriver\firefox\webdriver.py", line 164, in init self.service.start() File "C:\Users\Zendek\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\selenium\webdriver\common\service.py", line 81, in start raise WebDriverException( selenium.common.exceptions.WebDriverException: Message: 'geckodriver' executable needs to be in PATH.

offish commented 3 years ago

You need to add geckodriver to your PATH. Going to add this to the README in the next update.

lucasvperini commented 3 years ago

Having the same issue, already added geckodriver to PATH.

GermanJesus-lul commented 3 years ago

Having the same issue, already added geckodriver to PATH.

error messages?

lucasvperini commented 3 years ago

Having the same issue, already added geckodriver to PATH.

error messages?

Same message as the OP

offish commented 3 years ago

If you type geckodriver --version and you get the message above, it has not been added to PATH.