0
私は昼食のセレンがクラッシュし、次のトレースバック与えて、更新後のバージョン54.0セレンとChromeのエラー:セッション作成されていない例外
に更新クロームまで完全クロムとセレンを使用していました:
Traceback (most recent call last):
File "manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/Users/user/.virtualenvs/venv/lib/python2.7/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
utility.execute()
File "/Users/user/.virtualenvs/venv/lib/python2.7/site-packages/django/core/management/__init__.py", line 377, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/Users/user/.virtualenvs/venv/lib/python2.7/site-packages/django/core/management/base.py", line 288, in run_from_argv
self.execute(*args, **options.__dict__)
File "/Users/user/.virtualenvs/venv/lib/python2.7/site-packages/django/core/management/base.py", line 338, in execute
output = self.handle(*args, **options)
File "/Users/user/proyectos_git/venv/backend/venv_backend/venv/management/commands/get_climate_data.py", line 126, in handle
start_process()
File "/Users/user/proyectos_git/venv/backend/venv_backend/venv/management/commands/get_climate_data.py", line 105, in start_process
browser = webdriver.Chrome() # Initialize webdriver
File "/Users/user/.virtualenvs/venv/lib/python2.7/site-packages/selenium/webdriver/chrome/webdriver.py", line 69, in __init__
desired_capabilities=desired_capabilities)
File "/Users/user/.virtualenvs/venv/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 90, in __init__
self.start_session(desired_capabilities, browser_profile)
File "/Users/user/.virtualenvs/venv/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 177, in start_session
response = self.execute(Command.NEW_SESSION, capabilities)
File "/Users/user/.virtualenvs/venv/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 236, in execute
self.error_handler.check_response(response)
File "/Users/user/.virtualenvs/venv/lib/python2.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 192, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: session not created exception
from unknown error: bad inspector message: {"method":"Page.loadEventFired","params":{"timestamp":1355138,725669}}
(Session info: chrome=54.0.2840.98)
(Driver info: chromedriver=2.25.426935 (820a95b0b81d33e42712f9198c215f703412e1a1),platform=Mac OS X 10.12.1 x86_64)
何を私が試した:
- 使用異なるchromedriverバージョンを
- ダウングレードChromeアプリケーション(2.16から2.25へ)(バージョン53 、52及び51)
はパス
/Users/user/Library/Application\ Support/Google/Chrome/Default/
任意の提案に私のデフォルトのフォルダを削除しますか?