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

Main Exception Message: unknown error: Chrome failed to start: exited abnormally. #36

Closed
bibhubal opened this issue Mar 10, 2023 · 10 comments

Comments

@bibhubal
Copy link

Main Exception Message: unknown error: Chrome failed to start: exited abnormally.

(unknown error: DevToolsActivePort file doesn't exist)

(The process started from chrome location /home/osboxes/Desktop/educative.io_scraper-master/Chrome-bin/linux/chrome/chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)

Stacktrace:

#0 0x5576c832eb33

#1 0x5576c7df76d8

#2 0x5576c7e1a84c

#3 0x5576c7e15fca

#4 0x5576c7e50e0a

#5 0x5576c7e4af53

#6 0x5576c7e20a0a

#7 0x5576c7e21ad5

#8 0x5576c83602fd

#9 0x5576c83794bb

#10 0x5576c83620d5

#11 0x5576c837a145

#12 0x5576c8355aaf

#13 0x5576c8396ba8

#14 0x5576c8396d28

#15 0x5576c83b148d

#16 0x7f3895f57b43

@bibhubal bibhubal changed the title ain Exception Message: unknown error: Chrome failed to start: exited abnormally. Main Exception Message: unknown error: Chrome failed to start: exited abnormally. Mar 10, 2023
@anilabhadatta
Copy link
Owner

@bibhubal make a video by doing a fresh start and send here

@bibhubal
Copy link
Author

is there any issues with --log-level=3

@bibhubal
Copy link
Author

@anilabhadatta Please find the vidio

Untitled.mp4

Please find the vidio .
I am using ubuntu 22.04

@anilabhadatta
Copy link
Owner

@bibhubal You don't have to copy anything from Chrome driver folder.
Download the chrome binary from releases in my repo for linux amd64 and paste it inside Chrome bin folder.
Folder Structure Chrome-bin/linux/chrome/chrome(exe)

@anilabhadatta
Copy link
Owner

@bibhubal
Also no need to install virtualenv and create env everytime.
That process is required only once.
Also i would suggest not to change the config, let the default configuration be 0

@bibhubal
Copy link
Author

@anilabhadatta
Hi I have tried again by freshly installing ubuntu OS followed the exact procedure but again same issue.
This is completely Fresh setup from scratch. New latest Ubuntu OS machine installed in virtual box.

Starting ChromeDriver 98.0.4758.102 (273bf7ac8c909cde36982d27f66f3c70846a3718-refs/branch-heads/4758@{#1151}) on port 9515

Only local connections are allowed.
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
ChromeDriver was started successfully.
Starting ChromeDriver 98.0.4758.102 (273bf7ac8c909cde36982d27f66f3c70846a3718-refs/branch-heads/4758@{#1151}) on port 9515
Only local connections are allowed.
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.

Invalid --log-level value.
Unable to initialize logging. Exiting...

Not sure why chrome is exiting when i am trying to go for option 3 which is" Press 3 and Enter to login Educative"

@anilabhadatta
Copy link
Owner

@bibhubal send a video again

@bibhubal
Copy link
Author

@anilabhadatta
Copy link
Owner

@bibhubal You are not reading the readme properly, Chromedriver and Chrome are two separate entities.
Please do not copy chromedriver to any other location.
https://github.com/anilabhadatta/educative.io_scraper/releases/download/Educative-Scraper-v6.8/Chrome-bin-linux-amd64.zip
Download this zip file, it contains the Chrome binary for educative scraper.

@bibhubal
Copy link
Author

Thanks @anilabhadatta My Bad I almost Forgot about bin files in release sections. Now i am closing this issue . But there is another issue i will raise it in another thread . Thanx.

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

2 participants