mrtztg / scribd_dl

Scribd Downloader
54 stars 21 forks source link

unknown error: DevToolsActivePort file doesn't exist #2

Closed robochud closed 3 years ago

robochud commented 3 years ago

Hello

I use your software with my fresh installed linux mint. python3 scribd_dl.py -u "myemail" -p "mypassword" -i my_links_file.txt I get this error with your example list:

====== WebDriver manager ====== Current google-chrome version is 90.0.4430 Get LATEST driver version for 90.0.4430 Driver [/root/.wdm/drivers/chromedriver/linux64/90.0.4430.24/chromedriver] found in cache Traceback (most recent call last): File "scribd_dl.py", line 29, in driver = Chrome(ChromeDriverManager().install(), options=chrome_options) File "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/chrome/webdriver.py", line 76, in init RemoteWebDriver.init( File "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/remote/webdriver.py", line 157, in init self.start_session(capabilities, browser_profile) File "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session response = self.execute(Command.NEW_SESSION, parameters) File "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute self.error_handler.check_response(response) File "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/remote/errorhandler.py", line 242, 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 /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)

mrtztg commented 3 years ago

Thanks for using this tool. Please answer these questions:

robochud commented 3 years ago

Hi. Sorry it works now for me. I have a special character in my password. I changed my password on the scribd homepage.

Does your script return a return value when the download is finished or something went wrong?

mrtztg commented 3 years ago

Great. thanks for the feedback.

The script won't print the 'Finish' message. Just printing chapters download message. If the script ends without error, it means everything was successful.