Bug#854732: python-selenium: incorrect default path for chromedriver executable

2017-03-03 Thread Sascha Girrulat
fixed in vcs with version 2.53.2+dfsg1-2. Waiting for upload.

Regards
Sascha



signature.asc
Description: OpenPGP digital signature


Bug#854732: python-selenium: incorrect default path for chromedriver executable

2017-02-09 Thread Eric Cooper
Package: python-selenium
Version: 2.53.2+dfsg1-1
Severity: normal

I have the Debian chromium-driver package installed.

When I try to use it via webdriver.Chrome(), I get the following exception:
  File [...]
browser = webdriver.Chrome()
  File 
"/usr/lib/python2.7/dist-packages/selenium/webdriver/chrome/webdriver.py", line 
61, in __init__
self.service.start()
  File 
"/usr/lib/python2.7/dist-packages/selenium/webdriver/common/service.py", line 
69, in start
os.path.basename(self.path), self.start_error_message)
WebDriverException: Message: 'chromedriver' executable needs to be in PATH. 
Please see https://sites.google.com/a/chromium.org/chromedriver/home

I made a symlink from /usr/lib/chromium/chromedriver to /usr/bin/chromedriver 
which seems to fix the problem.

-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (500, 'testing'), (400, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python-selenium depends on:
pn  python:any  

Versions of packages python-selenium recommends:
pn  chromedriver | phantomjs  

Versions of packages python-selenium suggests:
ii  firefoxdriver  2.53.2-3

-- no debconf information