anilabhadatta / educative.io_scraper

Educative.io Course Downloader developed using Python and Selenium. Refer Readme.md for setup instructions.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

bibhubal opened this issue · comments

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 make a video by doing a fresh start and send here

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

@anilabhadatta Please find the vidio

Untitled.mp4

Please find the vidio .
I am using ubuntu 22.04

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

@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

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

@bibhubal send a video again

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

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.