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

Errors #12

Open
Bunder99 opened this issue Nov 23, 2017 · 5 comments
Open

Errors #12

Bunder99 opened this issue Nov 23, 2017 · 5 comments

Comments

@Bunder99
Copy link

Bunder99 commented Nov 23, 2017

Hi! I met a lot of problems when installing and running your WhatsApp-Web... I have Kali Linux (4.13.0-kali1-amd64). Requirements are installed successfully, but:

  1. Command "source activate wa-web" doesn't work and I don't understand what it does (I get bash error)

  2. After running "python wa.py" I get:

Traceback (most recent call last):
File "wa.py", line 10, in
d = webdriver.Chrome('/root/WhatsApp-Web/chromedriver') # Optional argument, if not specified will search path.
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/chrome/webdriver.py", line 69, in init
desired_capabilities=desired_capabilities)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 98, in init
self.start_session(desired_capabilities, browser_profile)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 188, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 256, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 194, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: unknown error: cannot find Chrome binary
(Driver info: chromedriver=2.25.426924 (649f9b868f6783ec9de71c123212b908bf3b232e),platform=Linux 4.13.0-kali1-amd64 x86_64)

What should I do? Could you help me? Thanks in advance!

@masterwaqar
Copy link

pip install chromedriver

then add chromedriver Path at wa.py

replace
webdriver.Chrome('/home/salman/All-Projects/WhatsApp-Web/chromedriver')

with

webdriver.Chrome('/bin/chromedriver')

@Bunder99
Copy link
Author

Done, but I've got the same errors...

@sbshah97
Copy link
Owner

Hi! I met a lot of problems when installing and running your WhatsApp-Web... I have Kali Linux (4.13.0-kali1-amd64). Requirements are installed successfully, but:

    Command "source activate wa-web" doesn't work and I don't understand what it does (I get bash error)

That is for activating a Python Virtual Environment. Do you have Python Virtual Environment installed in your system?

@sbshah97
Copy link
Owner

@Bunder99 what is the path that you have given for Chromedriver

@Bunder99
Copy link
Author

Bunder99 commented Dec 4, 2017

Python Virtual Environment is installed and activated before start WhatsApp-Web. But I can't activate it by your way "source activate wa-web", because there is no way to activate the folder, is it?
chromedriver=2.33.506092, path - /usr/local/bin/chromedriver, changed in wa.py. The errors are the same.
I tried to install Chrome browser, but I have no profit. What should I do further? Thank for your help.

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

No branches or pull requests

3 participants