zvovov / whatsapp-web

WhatsApp chat from [command line, terminal, console, cli] :no_mobile_phones:
MIT License
313 stars 74 forks source link

Exits when pressing 'y' #3

Closed gabrieljim closed 7 years ago

gabrieljim commented 7 years ago

I'm hyped for this, so I hope i can get some fix I'm on Lubuntu 16.04, did every step, but when I'm asked if the phone is connected and press y, I get the error on the pic bug

What could i do?

zvovov commented 7 years ago

This error seems interesting. Looks like console is not able to take user input for some reason. Can you pull the changes and try again?

gabrieljim commented 7 years ago

Uh, I'm not sure if this is about the change you did or I did something wrong with reinstalling. Now when I initiate the program i get the error on the pic 2017-05-21-121537_1021x90_scrot

I also attach a screencap of my Chromium version (could it be that I'm using Chromium instead of official Chrome?) EDIT: I don't think it's happening bacause it's chromium, In the previous version the script did open Chromium and redirected to whatsapp web, but i could be wrong, dunno.

2017-05-21-121835_507x225_scrot

And also attaching a screencap of the location of chromedriver as well as the path on "chat.py"

2017-05-21-122101_615x310_scrot

I hope it's an error on my side, haha

zvovov commented 7 years ago

Hey @gabrieljim can you check the python version you're using? The script works with python 3 only, not 2.

gabrieljim commented 7 years ago

Okay, i changed python chat.py to python3 chat.py Now it says it doesn't find the module selenium, even though i did "pip install selenium" I assume it installs it to python 2 so I'm dowloading pip3, I'll report back after that's done.

gabrieljim commented 7 years ago

Okay! It works, I can send messages. However, I can't see the received ones on the terminal I don't know if it's relevant, but after connecting, after any command I input, I get:

2017-05-21-133731_1018x442_scrot

Anyways, thanks for your help so far!

zvovov commented 7 years ago

Well, have you tried turning it off and on again. :smile: The error shouldn't persist.

gabrieljim commented 7 years ago

The problem persists, though