Closed molu000 closed 1 year ago
webdriver目前稳定性还存在问题,最新版本的代码下脚本没法做到24小时运行。
挂着久了就会出现此问题然后退出脚本, platForm: "linux"
有写。
环境:WSL2 Ubuntu 22.04 lts X86_64 WIN11 headless mode
●_● 开始检查直播...
Q_Q webdriver发生错误, 重试中
Traceback (most recent call last):
File "/home/z/EsportsHelper/EsportsHelper/Match.py", line 79, in watchMatches
self.driver.get("https://lolesports.com/schedule?leagues=lcs,north_american_challenger_league,lcs_challengers_qualifiers,college_championship,cblol-brazil,lck,lcl,lco,lec,ljl-japan,lla,lpl,pcs,turkiye-sampiyonluk-ligi,vcs,worlds,all-star,european-masters,lfl,nlc,elite_series,liga_portuguesa,pg_nationals,ultraliga,superliga,primeleague,hitpoint_masters,esports_balkan_league,greek_legends,arabian_league,lck_academy,ljl_academy,lck_challengers_league,cblol_academy,liga_master_flo,movistar_fiber_golden_league,elements_league,claro_gaming_stars_league,honor_division,volcano_discover_league,honor_league,msi,tft_esports")
File "/home/z/anaconda3/lib/python3.9/site-packages/undetected_chromedriver/__init__.py", line 609, in get_wrapped
return orig_get(*args, **kwargs)
File "/home/z/anaconda3/lib/python3.9/site-packages/undetected_chromedriver/__init__.py", line 645, in get
return super().get(url)
File "/home/z/anaconda3/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get
self.execute(Command.GET, {"url": url})
File "/home/z/anaconda3/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute
self.error_handler.check_response(response)
File "/home/z/anaconda3/lib/python3.9/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message: timeout: Timed out receiving message from renderer: -0.003
(Session info: chrome=111.0.5563.146)
Stacktrace:
#0 0x5643c40c4243 <unknown>
#1 0x5643c3e887a6 <unknown>
#2 0x5643c3e72d14 <unknown>
#3 0x5643c3e72a30 <unknown>
#4 0x5643c3e71508 <unknown>
#5 0x5643c3e71cb2 <unknown>
#6 0x5643c3e7f0bf <unknown>
#7 0x5643c3e7fd12 <unknown>
#8 0x5643c3e8ff5b <unknown>
#9 0x5643c3e9400b <unknown>
#10 0x5643c3e72173 <unknown>
#11 0x5643c3e8fd23 <unknown>
#12 0x5643c3efe840 <unknown>
#13 0x5643c3ee5e53 <unknown>
#14 0x5643c3eb89ea <unknown>
#15 0x5643c3eb9b2e <unknown>
#16 0x5643c4118d5e <unknown>
#17 0x5643c411ca80 <unknown>
#18 0x5643c40fe8b0 <unknown>
#19 0x5643c411db63 <unknown>
#20 0x5643c40eff75 <unknown>
#21 0x5643c4140998 <unknown>
#22 0x5643c4140b27 <unknown>
#23 0x5643c415bc23 <unknown>
#24 0x7f3e69c11b43 <unknown>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/z/EsportsHelper/EsportsHelper/Match.py", line 81, in watchMatches
self.driver.get("https://lolesports.com/schedule")
File "/home/z/anaconda3/lib/python3.9/site-packages/undetected_chromedriver/__init__.py", line 609, in get_wrapped
return orig_get(*args, **kwargs)
File "/home/z/anaconda3/lib/python3.9/site-packages/undetected_chromedriver/__init__.py", line 645, in get
return super().get(url)
File "/home/z/anaconda3/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get
self.execute(Command.GET, {"url": url})
File "/home/z/anaconda3/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute
self.error_handler.check_response(response)
File "/home/z/anaconda3/lib/python3.9/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message: timeout: Timed out receiving message from renderer: -0.002
(Session info: chrome=111.0.5563.146)
Stacktrace:
#0 0x5643c40c4243 <unknown>
#1 0x5643c3e887a6 <unknown>
#2 0x5643c3e72d14 <unknown>
#3 0x5643c3e72a30 <unknown>
#4 0x5643c3e71508 <unknown>
#5 0x5643c3e71cb2 <unknown>
#6 0x5643c3e7f0bf <unknown>
#7 0x5643c3e7fd12 <unknown>
#8 0x5643c3e8ff5b <unknown>
#9 0x5643c3e9400b <unknown>
#10 0x5643c3e72173 <unknown>
#11 0x5643c3e8fd23 <unknown>
#12 0x5643c3efe840 <unknown>
#13 0x5643c3ee5e53 <unknown>
#14 0x5643c3eb89ea <unknown>
#15 0x5643c3eb9b2e <unknown>
#16 0x5643c4118d5e <unknown>
#17 0x5643c411ca80 <unknown>
#18 0x5643c40fe8b0 <unknown>
#19 0x5643c411db63 <unknown>
#20 0x5643c40eff75 <unknown>
#21 0x5643c4140998 <unknown>
#22 0x5643c4140b27 <unknown>
#23 0x5643c415bc23 <unknown>
#24 0x7f3e69c11b43 <unknown>
●_● 开始检查直播...
Q_Q webdriver发生错误, 重试中
Traceback (most recent call last):
File "/home/z/EsportsHelper/EsportsHelper/Match.py", line 79, in watchMatches
self.driver.get("https://lolesports.com/schedule?leagues=lcs,north_american_challenger_league,lcs_challengers_qualifiers,college_championship,cblol-brazil,lck,lcl,lco,lec,ljl-japan,lla,lpl,pcs,turkiye-sampiyonluk-ligi,vcs,worlds,all-star,european-masters,lfl,nlc,elite_series,liga_portuguesa,pg_nationals,ultraliga,superliga,primeleague,hitpoint_masters,esports_balkan_league,greek_legends,arabian_league,lck_academy,ljl_academy,lck_challengers_league,cblol_academy,liga_master_flo,movistar_fiber_golden_league,elements_league,claro_gaming_stars_league,honor_division,volcano_discover_league,honor_league,msi,tft_esports")
File "/home/z/anaconda3/lib/python3.9/site-packages/undetected_chromedriver/__init__.py", line 609, in get_wrapped
return orig_get(*args, **kwargs)
File "/home/z/anaconda3/lib/python3.9/site-packages/undetected_chromedriver/__init__.py", line 645, in get
return super().get(url)
File "/home/z/anaconda3/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get
self.execute(Command.GET, {"url": url})
File "/home/z/anaconda3/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute
self.error_handler.check_response(response)
File "/home/z/anaconda3/lib/python3.9/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message: timeout: Timed out receiving message from renderer: -0.002
(Session info: chrome=111.0.5563.146)
Stacktrace:
#0 0x5643c40c4243 <unknown>
#1 0x5643c3e887a6 <unknown>
#2 0x5643c3e72d14 <unknown>
#3 0x5643c3e72a30 <unknown>
#4 0x5643c3e71508 <unknown>
#5 0x5643c3e71cb2 <unknown>
#6 0x5643c3e7f0bf <unknown>
#7 0x5643c3e7fd12 <unknown>
#8 0x5643c3e8ff5b <unknown>
#9 0x5643c3e9400b <unknown>
#10 0x5643c3e72173 <unknown>
#11 0x5643c3e8fd23 <unknown>
#12 0x5643c3efe840 <unknown>
#13 0x5643c3ee5e53 <unknown>
#14 0x5643c3eb89ea <unknown>
#15 0x5643c3eb9b2e <unknown>
#16 0x5643c4118d5e <unknown>
#17 0x5643c411ca80 <unknown>
#18 0x5643c40fe8b0 <unknown>
#19 0x5643c411db63 <unknown>
#20 0x5643c40eff75 <unknown>
#21 0x5643c4140998 <unknown>
#22 0x5643c4140b27 <unknown>
#23 0x5643c415bc23 <unknown>
#24 0x7f3e69c11b43 <unknown>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/z/EsportsHelper/EsportsHelper/Match.py", line 81, in watchMatches
self.driver.get("https://lolesports.com/schedule")
File "/home/z/anaconda3/lib/python3.9/site-packages/undetected_chromedriver/__init__.py", line 609, in get_wrapped
return orig_get(*args, **kwargs)
File "/home/z/anaconda3/lib/python3.9/site-packages/undetected_chromedriver/__init__.py", line 645, in get
return super().get(url)
File "/home/z/anaconda3/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get
self.execute(Command.GET, {"url": url})
File "/home/z/anaconda3/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute
self.error_handler.check_response(response)
File "/home/z/anaconda3/lib/python3.9/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message: timeout: Timed out receiving message from renderer: -0.002
(Session info: chrome=111.0.5563.146)
Stacktrace:
#0 0x5643c40c4243 <unknown>
#1 0x5643c3e887a6 <unknown>
#2 0x5643c3e72d14 <unknown>
#3 0x5643c3e72a30 <unknown>
#4 0x5643c3e71508 <unknown>
#5 0x5643c3e71cb2 <unknown>
#6 0x5643c3e7f0bf <unknown>
#7 0x5643c3e7fd12 <unknown>
#8 0x5643c3e8ff5b <unknown>
#9 0x5643c3e9400b <unknown>
#10 0x5643c3e72173 <unknown>
#11 0x5643c3e8fd23 <unknown>
#12 0x5643c3efe840 <unknown>
#13 0x5643c3ee5e53 <unknown>
#14 0x5643c3eb89ea <unknown>
#15 0x5643c3eb9b2e <unknown>
#16 0x5643c4118d5e <unknown>
#17 0x5643c411ca80 <unknown>
#18 0x5643c40fe8b0 <unknown>
#19 0x5643c411db63 <unknown>
#20 0x5643c40eff75 <unknown>
#21 0x5643c4140998 <unknown>
#22 0x5643c4140b27 <unknown>
#23 0x5643c415bc23 <unknown>
#24 0x7f3e69c11b43 <unknown>
●_● 开始检查直播...
Q_Q webdriver发生错误, 重试中
Traceback (most recent call last):
File "/home/z/EsportsHelper/EsportsHelper/Match.py", line 79, in watchMatches
self.driver.get("https://lolesports.com/schedule?leagues=lcs,north_american_challenger_league,lcs_challengers_qualifiers,college_championship,cblol-brazil,lck,lcl,lco,lec,ljl-japan,lla,lpl,pcs,turkiye-sampiyonluk-ligi,vcs,worlds,all-star,european-masters,lfl,nlc,elite_series,liga_portuguesa,pg_nationals,ultraliga,superliga,primeleague,hitpoint_masters,esports_balkan_league,greek_legends,arabian_league,lck_academy,ljl_academy,lck_challengers_league,cblol_academy,liga_master_flo,movistar_fiber_golden_league,elements_league,claro_gaming_stars_league,honor_division,volcano_discover_league,honor_league,msi,tft_esports")
File "/home/z/anaconda3/lib/python3.9/site-packages/undetected_chromedriver/__init__.py", line 609, in get_wrapped
return orig_get(*args, **kwargs)
File "/home/z/anaconda3/lib/python3.9/site-packages/undetected_chromedriver/__init__.py", line 645, in get
return super().get(url)
File "/home/z/anaconda3/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get
self.execute(Command.GET, {"url": url})
File "/home/z/anaconda3/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute
self.error_handler.check_response(response)
File "/home/z/anaconda3/lib/python3.9/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message: timeout: Timed out receiving message from renderer: -0.004
(Session info: chrome=111.0.5563.146)
Stacktrace:
#0 0x5643c40c4243 <unknown>
#1 0x5643c3e887a6 <unknown>
#2 0x5643c3e72d14 <unknown>
#3 0x5643c3e72a30 <unknown>
#4 0x5643c3e71508 <unknown>
#5 0x5643c3e71cb2 <unknown>
#6 0x5643c3e7f0bf <unknown>
#7 0x5643c3e7fd12 <unknown>
#8 0x5643c3e8ff5b <unknown>
#9 0x5643c3e9400b <unknown>
#10 0x5643c3e72173 <unknown>
#11 0x5643c3e8fd23 <unknown>
#12 0x5643c3efe840 <unknown>
#13 0x5643c3ee5e53 <unknown>
#14 0x5643c3eb89ea <unknown>
#15 0x5643c3eb9b2e <unknown>
#16 0x5643c4118d5e <unknown>
#17 0x5643c411ca80 <unknown>
#18 0x5643c40fe8b0 <unknown>
#19 0x5643c411db63 <unknown>
#20 0x5643c40eff75 <unknown>
#21 0x5643c4140998 <unknown>
#22 0x5643c4140b27 <unknown>
#23 0x5643c415bc23 <unknown>
#24 0x7f3e69c11b43 <unknown>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/z/EsportsHelper/EsportsHelper/Match.py", line 81, in watchMatches
self.driver.get("https://lolesports.com/schedule")
File "/home/z/anaconda3/lib/python3.9/site-packages/undetected_chromedriver/__init__.py", line 609, in get_wrapped
return orig_get(*args, **kwargs)
File "/home/z/anaconda3/lib/python3.9/site-packages/undetected_chromedriver/__init__.py", line 645, in get
return super().get(url)
File "/home/z/anaconda3/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get
self.execute(Command.GET, {"url": url})
File "/home/z/anaconda3/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute
self.error_handler.check_response(response)
File "/home/z/anaconda3/lib/python3.9/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message: timeout: Timed out receiving message from renderer: -0.002
(Session info: chrome=111.0.5563.146)
Stacktrace:
#0 0x5643c40c4243 <unknown>
#1 0x5643c3e887a6 <unknown>
#2 0x5643c3e72d14 <unknown>
#3 0x5643c3e72a30 <unknown>
#4 0x5643c3e71508 <unknown>
#5 0x5643c3e71cb2 <unknown>
#6 0x5643c3e7f0bf <unknown>
#7 0x5643c3e7fd12 <unknown>
#8 0x5643c3e8ff5b <unknown>
#9 0x5643c3e9400b <unknown>
#10 0x5643c3e72173 <unknown>
#11 0x5643c3e8fd23 <unknown>
#12 0x5643c3efe840 <unknown>
#13 0x5643c3ee5e53 <unknown>
#14 0x5643c3eb89ea <unknown>
#15 0x5643c3eb9b2e <unknown>
#16 0x5643c4118d5e <unknown>
#17 0x5643c411ca80 <unknown>
#18 0x5643c40fe8b0 <unknown>
#19 0x5643c411db63 <unknown>
#20 0x5643c40eff75 <unknown>
#21 0x5643c4140998 <unknown>
#22 0x5643c4140b27 <unknown>
#23 0x5643c415bc23 <unknown>
#24 0x7f3e69c11b43 <unknown>
Q_Q webdriver发生错误, 将于3秒后退出...
你这个报错看起来是因为网络问题引起的
你这个报错看起来是因为网络问题引起的
好的,我直连再试试
1.2已经加入异常提醒
描述 问题 在这里清楚直白的描述问题
如何重现 写清楚干了什么,什么情况,如何出现的问题
截图 在这里附上截图
系统版本以及软件版本 系统: 软件: