Skip to content
New issue

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

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

Already on GitHub? # to your account

PROGRAM NOT WORKING #522

Open
1 of 4 tasks
SsakaHuzaifah opened this issue Feb 17, 2023 · 5 comments
Open
1 of 4 tasks

PROGRAM NOT WORKING #522

SsakaHuzaifah opened this issue Feb 17, 2023 · 5 comments

Comments

@SsakaHuzaifah
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

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
Copy link
Owner

MShawon commented Feb 21, 2023

did you install google-chrome?

@charasman
Copy link

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
Copy link

same error

@medicenplex
Copy link

is not working. end

@omarobidigital
Copy link

@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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants