14 - the dependencies are different as well, but see below to get an idea of what could be missing: $ /usr/local/bin/chromedriver -versionĬhromeDriver. As of today my chromedriver version after a few years from the original answer is. Then at eache time I used commands like apt-cache search and apt-cache madison to figure out the exact version of the deb package needed by chromedriver 2.33 (in my case, but I guess something similar would work for any version of chromedriver).Īs suggested in the comments, using the ldd command to print shared object dependencies may be another option. To figure out which dependencies are required I tried iteratively to run it from the command line like this: /opt/chromedriver/2.33/chromedriver -version over and over again. I was working on a similar setup using a docker container instead of a server/VM without X / GUI.
This solved the issue for me: apt-get install -y libglib2.0-0=2.50.3-2 \ It seems chromedriver needs some extra libraries. Hope this info is relevant to solve this error, otherwise will abort it. I had installed ssh and remote controlling jupyter notebook from my mac to server desktop, and those errors comes from it. Thus I am just using terminal only, but it well works so far. I had install ubuntu desktop 17.10 on my desktop but failed to get GUI boot.
I can't get what the original intention of that error code and where to start to fix it. WebDriverException: Message: Service chromedriver unexpectedly exited. home/zachary/.local/lib/python3.6/site-packages/selenium/webdriver/common/service.py in assert_process_still_running(self)ġ10 'Service %s unexpectedly exited. > 98 self.assert_process_still_running() home/zachary/.local/lib/python3.6/site-packages/selenium/webdriver/common/service.py in start(self) home/zachary/.local/lib/python3.6/site-packages/selenium/webdriver/chrome/webdriver.py in _init_(self, executable_path, port, options, service_args, desired_capabilities, service_log_path, chrome_options) WebDriverException Traceback (most recent call last)
However, when I run following code: driver = webdriver.Chrome()
Thus I had installed/download required dependencies- such as chromedriver, chromium-browser etc on my Ubuntu17.10 server I did a fresh install with all the latest files (Rage Plugin Hook, Script hook, LSPDFR & plugins), but there was just too many problems every time I tried to get it to work.I'd like to construct my crawler using selenium on my server.
I hadn't touched my LSPDFR folder after the update until the latest script hook was released so I could avoid all the problems with the update messing with mods, but it seems like that didn't matter anyway because it won't work now.įor the last 2 days I've been trying to get it to work.