Open GoogleCodeExporter opened 9 years ago
Original comment by samu...@chromium.org
on 21 Feb 2015 at 12:18
Unable to reproduce the issue.
Please try again and let us know if we differ from what you are doing
Original comment by ssudunag...@chromium.org
on 5 Mar 2015 at 11:08
Original comment by ssudunag...@chromium.org
on 26 Mar 2015 at 6:25
If it makes any difference I'm running dual monitors, I know there are some
other issues related to that. I also just reran the same test on my current
Ubuntu installation (I had a total hard disk failure a while back and have
re-installed my complete OS and configuration).
In ipython I'm currently getting:
In [1]: import selenium.webdriver as webdriver
In [2]: driver = webdriver.Chrome(service_args=["--verbose",
"--log-path=/home/jasonm/chrdrv.log"])
---------------------------------------------------------------------------
WebDriverException Traceback (most recent call last)
<ipython-input-3-a856ef39feb5> in <module>()
----> 1 driver = webdriver.Chrome(service_args=["--verbose",
"--log-path=/home/jasonm/chrdrv.log"])
/usr/local/lib/python2.7/dist-packages/selenium/webdriver/chrome/webdriver.pyc
in __init__(self, executable_path, port, chrome_options, service_args,
desired_capabilities, service_log_path)
63 command_executor=self.service.service_url,
64 desired_capabilities=desired_capabilities,
---> 65 keep_alive=True)
66 except:
67 self.quit()
/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.pyc
in __init__(self, command_executor, desired_capabilities, browser_profile,
proxy, keep_alive)
71 self.error_handler = ErrorHandler()
72 self.start_client()
---> 73 self.start_session(desired_capabilities, browser_profile)
74 self._switch_to = SwitchTo(self)
75 self._mobile = Mobile(self)
/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.pyc
in start_session(self, desired_capabilities, browser_profile)
119 desired_capabilities['firefox_profile'] = browser_profile.encoded
120 response = self.execute(Command.NEW_SESSION, {
--> 121 'desiredCapabilities': desired_capabilities,
122 })
123 self.session_id = response['sessionId']
/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.pyc
in execute(self, driver_command, params)
171 response = self.command_executor.execute(driver_command, params)
172 if response:
--> 173 self.error_handler.check_response(response)
174 response['value'] = self._unwrap_value(
175 response.get('value', None))
/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py
c in check_response(self, response)
164 elif exception_class == UnexpectedAlertPresentException and 'alert' in value:
165 raise exception_class(message, screen, stacktrace, value['alert'].get('text'))
--> 166 raise exception_class(message, screen, stacktrace)
167
168 def _value_or_default(self, obj, key, default):
WebDriverException: Message: unknown error: Chrome failed to start: exited
abnormally
(Driver info: chromedriver=2.13.307649 (bf55b442bb6b5c923249dd7870d6a107678bfbb6),platform=Linux 3.13.0-46-generic x86_64)
My current version of Selenium is: 2.44.0
My current Chome version is: Google Chrome 41.0.2272.89
Original comment by jpmi...@gmail.com
on 30 Mar 2015 at 5:01
jpmilen @
please try again with latest version of chromedriver and chrome and let us know
if you are still facing the issue
Original comment by ssudunag...@chromium.org
on 15 May 2015 at 9:08
jpmilen
Unable to reproduce issue with chromedriver:2.16. Please try with latest
version of chromedriver and chrome and let us know if you still facing the
issue.
Sample Code:
from selenium import webdriver
driver=webdriver.Chrome(executable_path='/path/to/chromedriver',service_args=["-
-verbose", "--log-path=/path/to/chromedriver.log"])
driver.implicitly_wait(60)
driver.get('http://www.google.com/')
Original comment by ssudunag...@chromium.org
on 23 Jun 2015 at 10:02
Problem is still happening. Again in ipython, with Selenium version 2.44.0,
chromedriver v2.16 and Chrome Version 42.0.2311.135 (64-bit)
In [1]: from selenium import webdriver
In [2]: import time
In [3]: for i in range(50):
...: driver=webdriver.Chrome(executable_path='/usr/bin/chromedriver', service_args=["--verbose", "--log-path=/home/jasonm/cd-test.log'])
...: driver.implicitly_wait(60)
...: driver.get('http://www.google.com')
...: try:
...: driver.quit()
...: except:
...: pass
...:
I saw a few successful instantiations before I locked my dual screen desktop
and waited for the displays to turn off. When I unlocked my desktop I found the
following (also attached the chromedriver log - cd-test.log):
---------------------------------------------------------------------------
WebDriverException Traceback (most recent call last)
<ipython-input-7-fd2d738fef44> in <module>()
1 for i in range(50):
----> 2 driver=webdriver.Chrome(executable_path='/usr/bin/chromedriver',
service_args=["--verbose", "--log-path=/home/jasonm/cd-test.log"])
3 driver.implicitly_wait(60)
4 driver.get('http://www.google.com')
5 try:
/usr/local/lib/python2.7/dist-packages/selenium/webdriver/chrome/webdriver.pyc
in __init__(self, executable_path, port, chrome_options, service_args,
desired_capabilities, service_log_path)
63 command_executor=self.service.service_url,
64 desired_capabilities=desired_capabilities,
---> 65 keep_alive=True)
66 except:
67 self.quit()
/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.pyc
in __init__(self, command_executor, desired_capabilities, browser_profile,
proxy, keep_alive)
71 self.error_handler = ErrorHandler()
72 self.start_client()
---> 73 self.start_session(desired_capabilities, browser_profile)
74 self._switch_to = SwitchTo(self)
75 self._mobile = Mobile(self)
/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.pyc
in start_session(self, desired_capabilities, browser_profile)
119 desired_capabilities['firefox_profile'] = browser_profile.encoded
120 response = self.execute(Command.NEW_SESSION, {
--> 121 'desiredCapabilities': desired_capabilities,
122 })
123 self.session_id = response['sessionId']
/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.pyc
in execute(self, driver_command, params)
171 response = self.command_executor.execute(driver_command, params)
172 if response:
--> 173 self.error_handler.check_response(response)
174 response['value'] = self._unwrap_value(
175 response.get('value', None))
/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py
c in check_response(self, response)
164 elif exception_class == UnexpectedAlertPresentException and 'alert' in value:
165 raise exception_class(message, screen, stacktrace, value['alert'].get('text'))
--> 166 raise exception_class(message, screen, stacktrace)
167
168 def _value_or_default(self, obj, key, default):
WebDriverException: Message: unknown error: unable to discover open pages
(Driver info: chromedriver=2.16.333243 (0bfa1d3575fc1044244f21ddb82bf870944ef961),platform=Linux 3.13.0-46-generic x86_64)
Original comment by jpmi...@gmail.com
on 7 Jul 2015 at 3:32
Attachments:
Original issue reported on code.google.com by
jpmi...@gmail.com
on 24 Jun 2014 at 12:17Attachments: