jasperan / whatsapp-osint

WhatsApp spy - logs online/offline events from ANYONE in the world
MIT License
874 stars 111 forks source link

Need help lots of errors #14

Closed malos777 closed 3 weeks ago

malos777 commented 1 year ago

Hello, first thanks for sharing this projects. i have lots of errors. maybe some solution?

wa/whatsapp-osint# python3 whatsappbeacon.py --username "Blumi" --language "en" In order to make this program to work, you will need to log-in once in WhatsApp. After that, your session will be saved until you revoke it. Traceback (most recent call last): File "/home/peter/wa/whatsapp-osint/whatsappbeacon.py", line 144, in main() File "/home/peter/wa/whatsapp-osint/whatsappbeacon.py", line 138, in main driver = whatsapp_login() File "/home/peter/wa/whatsapp-osint/whatsappbeacon.py", line 116, in whatsapp_login driver = webdriver.Chrome(options=options) File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/chrome/webdriver.py", line 80, in init super().init( File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/chromium/webdriver.py", line 104, in init super().init( File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/remote/webdriver.py", line 286, in init self.start_session(capabilities, browser_profile) File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/remote/webdriver.py", line 378, in start_session response = self.execute(Command.NEW_SESSION, parameters) File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute self.error_handler.check_response(response) File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally. (unknown error: DevToolsActivePort file doesn't exist) (The process started from chrome location /snap/chromium/2424/usr/lib/chromium-browser/chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.) Stacktrace:

0 0x55f869bf3603

1 0x55f8699448b6

2 0x55f86996ceda

3 0x55f869969084

4 0x55f8699aa514

5 0x55f8699a9b7f

6 0x55f8699a11d3

7 0x55f869973fb8

8 0x55f8699750ee

9 0x55f869bba046

10 0x55f869bbd3c3

11 0x55f869bbdc5a

12 0x55f869bc5b0e

13 0x55f869bbe3ec

14 0x55f869b94ea8

15 0x55f869bde318

16 0x55f869bde4c3

17 0x55f869bebe34

18 0x7faacb159609

THANKS!

BerkeGokturk71 commented 1 year ago

I think your script running , you dont close chrome window and
you are trying to run the script again.Close chrome window and try again

BerkeGokturk71 commented 1 year ago

Chrome not support current chrome driver.I will pull request for that

C3n7ral051nt4g3ncy commented 1 year ago

@malos777 Make sure you have chromedriver installed. I got a few errors and realised I had not installed chromedriver. If you have Brew ==> use this command $ brew install cask chromedriver Uninstall Repo ==> Install chromedriver ==> Make virtual environment and activate ==> and the git clone the repo and do as you previously did. All good after that works nice. 🚀