You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When running the youtube_viewer.py script, the application attempts to download the appropriate Chrome driver and fails with a "HTTP Error 404: Not Found" error.
To Reproduce
Steps to reproduce the behavior:
Navigate to the project directory '...\PycharmProjects\YouTube-Viewer'.
Run the script 'youtube_viewer.py'.
Observe the output.
Expected behavior
The script should successfully download the appropriate Chrome driver based on the user's system and continue with the execution.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: Windows
Browser: Chrome
Version: Version 115.0.5790.102 (Offizieller Build) (64-Bit)
Additional context
Here is the traceback:
Getting Chrome Driver... Traceback (most recent call last): File "C:\Users\PC\PycharmProjects\YouTube-Viewer\youtube_viewer.py", line 1003, in <module> osname, exe_name = download_driver(patched_drivers=patched_drivers) File "C:\Users\PC\PycharmProjects\YouTube-Viewer\youtubeviewer\download_driver.py", line 112, in download_driver uc.install() File "C:\Users\PC\PycharmProjects\YouTube-Viewer\venv\Lib\site-packages\undetected_chromedriver\_compat.py", line 262, in install ChromeDriverManager(executable_path, target_version, *args, **kwargs).install() File "C:\Users\PC\PycharmProjects\YouTube-Viewer\venv\Lib\site-packages\undetected_chromedriver\_compat.py", line 192, in install self.fetch_chromedriver() File "C:\Users\PC\PycharmProjects\YouTube-Viewer\venv\Lib\site-packages\undetected_chromedriver\_compat.py", line 221, in fetch_chromedriver ver = self.get_release_version_number().vstring File "C:\Users\PC\PycharmProjects\YouTube-Viewer\venv\Lib\site-packages\undetected_chromedriver\_compat.py", line 211, in get_release_version_number return LooseVersion(urlopen(self.__class__.DL_BASE + path).read().decode()) File "C:\Users\PC\AppData\Local\Programs\Python\Python311\Lib\urllib\request.py", line 216, in urlopen return opener.open(url, data, timeout) File "C:\Users\PC\AppData\Local\Programs\Python\Python311\Lib\urllib\request.py", line 525, in open response = meth(req, response) File "C:\Users\PC\AppData\Local\Programs\Python\Python311\Lib\urllib\request.py", line 634, in http_response response = self.parent.error( File "C:\Users\PC\AppData\Local\Programs\Python\Python311\Lib\urllib\request.py", line 563, in error return self._call_chain(*args) File "C:\Users\PC\AppData\Local\Programs\Python\Python311\Lib\urllib\request.py", line 496, in _call_chain result = func(*args) File "C:\Users\PC\AppData\Local\Programs\Python\Python311\Lib\urllib\request.py", line 643, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 404: Not Found
Possible Solution
Check the URLs and paths where the script is trying to download the Chrome driver from. The server might have moved the file, or the file may no longer exist.
Environment
- OS : Windows 11
- Python : 3.11
- Script version : YouTube-Viewer_win_1.8.0
config.json
not applicable
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
I'm submitting a ...
Description
Describe the bug
When running the youtube_viewer.py script, the application attempts to download the appropriate Chrome driver and fails with a "HTTP Error 404: Not Found" error.
To Reproduce
Steps to reproduce the behavior:
Navigate to the project directory '...\PycharmProjects\YouTube-Viewer'.
Run the script 'youtube_viewer.py'.
Observe the output.
Expected behavior
The script should successfully download the appropriate Chrome driver based on the user's system and continue with the execution.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: Windows
Browser: Chrome
Version: Version 115.0.5790.102 (Offizieller Build) (64-Bit)
Additional context
Here is the traceback:
Getting Chrome Driver... Traceback (most recent call last): File "C:\Users\PC\PycharmProjects\YouTube-Viewer\youtube_viewer.py", line 1003, in <module> osname, exe_name = download_driver(patched_drivers=patched_drivers) File "C:\Users\PC\PycharmProjects\YouTube-Viewer\youtubeviewer\download_driver.py", line 112, in download_driver uc.install() File "C:\Users\PC\PycharmProjects\YouTube-Viewer\venv\Lib\site-packages\undetected_chromedriver\_compat.py", line 262, in install ChromeDriverManager(executable_path, target_version, *args, **kwargs).install() File "C:\Users\PC\PycharmProjects\YouTube-Viewer\venv\Lib\site-packages\undetected_chromedriver\_compat.py", line 192, in install self.fetch_chromedriver() File "C:\Users\PC\PycharmProjects\YouTube-Viewer\venv\Lib\site-packages\undetected_chromedriver\_compat.py", line 221, in fetch_chromedriver ver = self.get_release_version_number().vstring File "C:\Users\PC\PycharmProjects\YouTube-Viewer\venv\Lib\site-packages\undetected_chromedriver\_compat.py", line 211, in get_release_version_number return LooseVersion(urlopen(self.__class__.DL_BASE + path).read().decode()) File "C:\Users\PC\AppData\Local\Programs\Python\Python311\Lib\urllib\request.py", line 216, in urlopen return opener.open(url, data, timeout) File "C:\Users\PC\AppData\Local\Programs\Python\Python311\Lib\urllib\request.py", line 525, in open response = meth(req, response) File "C:\Users\PC\AppData\Local\Programs\Python\Python311\Lib\urllib\request.py", line 634, in http_response response = self.parent.error( File "C:\Users\PC\AppData\Local\Programs\Python\Python311\Lib\urllib\request.py", line 563, in error return self._call_chain(*args) File "C:\Users\PC\AppData\Local\Programs\Python\Python311\Lib\urllib\request.py", line 496, in _call_chain result = func(*args) File "C:\Users\PC\AppData\Local\Programs\Python\Python311\Lib\urllib\request.py", line 643, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 404: Not Found
Possible Solution
Check the URLs and paths where the script is trying to download the Chrome driver from. The server might have moved the file, or the file may no longer exist.
Environment
config.json
The text was updated successfully, but these errors were encountered: