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

chromedriver unexpectedly exited. Status code was: 1 #19

Open
faizananwerali opened this issue Jun 9, 2020 · 2 comments
Open

chromedriver unexpectedly exited. Status code was: 1 #19

faizananwerali opened this issue Jun 9, 2020 · 2 comments

Comments

@faizananwerali
Copy link

Any idea what is wrong?
My Command:

python scraper.py -p "https://www.facebook.com/icc/" -l 10

Error:

Traceback (most recent call last):
  File "scraper.py", line 322, in <module>
    postBigDict = extract(page=args.page, numOfPost=args.len, infinite_scroll=infinite,     scrape_comment=scrape_comment)
  File "scraper.py", line 256, in extract
    browser = webdriver.Chrome(executable_path="./chromedriver", options=option)
  File "/home/visionph/virtualenv/py.sayfcodes.com/3.7/lib/python3.7/site-packages/selenium/webdriver/chrome/webdriver.py", line 73, in __init__
    self.service.start()
  File "/home/visionph/virtualenv/py.sayfcodes.com/3.7/lib/python3.7/site-packages/selenium/webdriver/common/service.py", line 98, in start
    self.assert_process_still_running()
  File "/home/visionph/virtualenv/py.sayfcodes.com/3.7/lib/python3.7/site-packages/selenium/webdriver/common/service.py", line 111, in assert_process_still_running
    % (self.path, return_code)
selenium.common.exceptions.WebDriverException: Message: Service ./chromedriver unexpectedly exited. Status code was: 1
@AS7RIDENIED
Copy link

Are you fix it? I have some problem on vds server

@AS7RIDENIED
Copy link

Are you fix it? I have some problem on vds server

I fixed it. In the settings of my bot, the webdriver logs should have gone to drive D, but I only had one - C. After changing the drive letter, the problem was solved

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