I upgraded this morning, and my Selenium tests broke.

I was able to reproduce this problem with the Python getting started
script from https://sites.google.com/a/chromium.org/chromedriver
/getting-started (altered to set the path to `/usr/lib/chromium-
browser/chromedriver`):

```
virtualenv -p python3 venv
. venv/bin/activate
pip install selenium
python script.py
```

Running `ps aux | grep chrom` in another tab shows `Z+   15:51   0:00
[chromium-browse] <defunct>`, and eventually the script times out with
`selenium.common.exceptions.WebDriverException: Message: unknown error:
Chrome failed to start: exited abnormally`.

Setting the LD_LIBRARY_PATH first fixes it: `export
LD_LIBRARY_PATH=/usr/lib/chromium-browser`.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1719300

Title:
  chromedriver doesn't start without setting LD_LIBRARY_PATH

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1719300/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to