MShawon / YouTube-Viewer

A multithreaded view bot for YouTube
MIT License
1.48k stars 751 forks source link

PROGRAM NOT WORKING #522

Open SsakaHuzaifah opened 1 year ago

SsakaHuzaifah commented 1 year ago

Is there an existing issue for this?

I'm submitting a ...

Description

I have tried all means but in vain. the program is not working and its hurtening. below is what it displays before it collapses

Getting Chrome Driver... Traceback (most recent call last): File "/home/saksoft/YouTube-Viewer/youtube_viewer.py", line 1003, in osname, exe_name = download_driver(patched_drivers=patched_drivers) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/saksoft/YouTube-Viewer/youtubeviewer/download_driver.py", line 47, in download_driver with subprocess.Popen(['google-chrome-stable', '--version'], stdout=subprocess.PIPE) as proc: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/subprocess.py", line 1024, in init self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib/python3.11/subprocess.py", line 1901, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'google-chrome-stable'

Environment

- OS : MAC
- Python : 3.11.1
- Script version : NOT SURE

config.json

NOT ANY
MShawon commented 1 year ago

did you install google-chrome?

charasman commented 1 year ago

I had the same issue too, I'm using macOS 13.4.1, Python 3.11, Version 115.0.5790.102 (Official Build) (x86_64). Screenshot 2023-07-21 at 06 29 07

guiathayde commented 1 year ago

same error

medicenplex commented 1 year ago

is not working. end

omarobidigital commented 1 year ago

@MShawon same error.

OS: Windows Chrome browser install

Getting Chrome Driver... Traceback (most recent call last): File "K:\Youtube-View-Bot\youtube_viewer.py", line 966, in <module> osname, exe_name = download_driver(patched_drivers=patched_drivers) File "K:\Youtube-View-Bot\youtubeviewer\download_driver.py", line 112, in download_driver uc.install() File "C:\Users\Kafi\AppData\Local\Programs\Python\Python39\lib\site-packages\undetected_chromedriver\_compat.py", line 259, in install ChromeDriverManager(executable_path, target_version, *args, **kwargs).install() File "C:\Users\Kafi\AppData\Local\Programs\Python\Python39\lib\site-packages\undetected_chromedriver\_compat.py", line 189, in install self.fetch_chromedriver() File "C:\Users\Kafi\AppData\Local\Programs\Python\Python39\lib\site-packages\undetected_chromedriver\_compat.py", line 218, in fetch_chromedriver ver = self.get_release_version_number().vstring File "C:\Users\Kafi\AppData\Local\Programs\Python\Python39\lib\site-packages\undetected_chromedriver\_compat.py", line 208, in get_release_version_number return LooseVersion(urlopen(self.__class__.DL_BASE + path).read().decode()) File "C:\Users\Kafi\AppData\Local\Programs\Python\Python39\lib\urllib\request.py", line 214, in urlopen return opener.open(url, data, timeout) File "C:\Users\Kafi\AppData\Local\Programs\Python\Python39\lib\urllib\request.py", line 523, in open response = meth(req, response) File "C:\Users\Kafi\AppData\Local\Programs\Python\Python39\lib\urllib\request.py", line 632, in http_response response = self.parent.error( File "C:\Users\Kafi\AppData\Local\Programs\Python\Python39\lib\urllib\request.py", line 561, in error return self._call_chain(*args) File "C:\Users\Kafi\AppData\Local\Programs\Python\Python39\lib\urllib\request.py", line 494, in _call_chain result = func(*args) File "C:\Users\Kafi\AppData\Local\Programs\Python\Python39\lib\urllib\request.py", line 641, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 404: Not Found

ALso i just clone from your repo but it still giving me message

`+-------------------------- Version: 1.7.6 --------------------------+

#################################################################################################### Update Available!!! YouTube Viewer version 1.7.6 needs to update to 1.8.0 version.