Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

错误提示:Mydriver初始化失败 #11

Open
nnssz opened this issue Feb 21, 2020 · 0 comments
Open

错误提示:Mydriver初始化失败 #11

nnssz opened this issue Feb 21, 2020 · 0 comments

Comments

@nnssz
Copy link

nnssz commented Feb 21, 2020

root@b69355fb60ec:/media/pdlearning# python3 -u pandalearning.py
开启: 获取更新信息...
输入用户标记名:
正在联网获取更新信息...
版本信息网络错误

是否保存钉钉帐户密码,保存后可后免登陆学习(Y/N)

Mydriver初始化失败

Traceback (most recent call last):
File "pandalearning.py", line 180, in
cookies, a_log, v_log = user_flag(dd_status, uname)
File "pandalearning.py", line 18, in user_flag
driver_login = mydriver.Mydriver(nohead=False)
File "/media/pdlearning/pdlearn/mydriver.py", line 47, in init
self.driver = self.webdriver.Chrome(chrome_options=self.options)
File "/usr/local/lib/python3.6/dist-packages/selenium/webdriver/chrome/webdriver.py", line 81, in init
desired_capabilities=desired_capabilities)
File "/usr/local/lib/python3.6/dist-packages/selenium/webdriver/remote/webdriver.py", line 157, in init
self.start_session(capabilities, browser_profile)
File "/usr/local/lib/python3.6/dist-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/usr/local/lib/python3.6/dist-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python3.6/dist-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally.
(unknown error: DevToolsActivePort file doesn't exist)
(The process started from chrome location /usr/bin/chromium-browser is no longer running, so ChromeDriver is assuming that Chrome has crashed.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant