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

webdriver-manager版本問題 #137

Open
x9511022a opened this issue Jul 30, 2024 · 5 comments
Open

webdriver-manager版本問題 #137

x9511022a opened this issue Jul 30, 2024 · 5 comments
Labels
good first issue Good for newcomers

Comments

@x9511022a
Copy link

2024-07-30 18:52:21,424 INFO: -----------------------------------------------------------------------
2024-07-30 18:52:21,424 INFO: ---------------------- Program started 2.4.0   -----------------------
2024-07-30 18:52:21,424 INFO: ---------------------- Open Source on github  ----------------------
2024-07-30 18:52:21,425 INFO: ------- Address: https://github.com/Yudaotor/EsportsHelper ------
2024-07-30 18:52:21,425 INFO: ---------------- Please give me a star,Thanks(*^_^*)  ---------------
2024-07-30 18:52:21,425 INFO: -----------------------------------------------------------------------
2024-07-30 18:52:21,429 INFO: 已配置觀看賽區,模式切換成默認模式.
2024-07-30 18:52:21,979 INFO: 獲取參數檔案成功
2024-07-30 18:52:22,977 INFO: ====== WebDriver manager ======
2024-07-30 18:52:23,611 INFO: Get LATEST chromedriver version for google-chrome
2024-07-30 18:52:23,612 INFO: Get LATEST chromedriver version for google-chrome
2024-07-30 18:52:23,612 INFO: There is no [win64] chromedriver "127.0.6533.73" for browser google-chrome "127.0.6533.73" in cache
2024-07-30 18:52:23,612 INFO: Get LATEST chromedriver version for google-chrome
2024-07-30 18:52:23,929 INFO: WebDriver version 127.0.6533.72 selected
2024-07-30 18:52:23,930 INFO: Modern chrome version https://storage.googleapis.com/chrome-for-testing-public/127.0.6533.72/win32/chromedriver-win32.zip
2024-07-30 18:52:23,930 INFO: About to download new driver from https://storage.googleapis.com/chrome-for-testing-public/127.0.6533.72/win32/chromedriver-win32.zip
2024-07-30 18:52:24,023 INFO: Driver downloading response is 200
2024-07-30 18:52:24,707 INFO: Get LATEST chromedriver version for google-chrome
2024-07-30 18:52:24,791 INFO: Driver has been saved in cache [.\driver\.wdm\drivers\chromedriver\win64\127.0.6533.73]
2024-07-30 18:52:26,801 INFO: 使用默認端口9222
2024-07-30 18:52:26,802 INFO: 正在準備中...
2024-07-30 18:52:26,802 INFO: patching driver executable .\driver\.wdm\drivers\chromedriver\win64\127.0.6533.73\chromedriver-win32/THIRD_PARTY_NOTICES.chromedriver.exe
2024-07-30 18:52:26,803 ERROR: ++++++++++++++++++++++++++++++++++++++++++++++++++
Traceback (most recent call last):
  File "main.py", line 38, in initWebdriver
  File "Webdriver.py", line 167, in createWebdriver
  File "undetected_chromedriver\__init__.py", line 246, in __init__
  File "undetected_chromedriver\patcher.py", line 99, in auto
  File "undetected_chromedriver\patcher.py", line 217, in patch_exe
FileNotFoundError: [Errno 2] No such file or directory: '.\\driver\\.wdm\\drivers\\chromedriver\\win64\\127.0.6533.73\\chromedriver-win32/THIRD_PARTY_NOTICES.chromedriver.exe'

經過google之後,好像是要更新webdriver-manage版本
我更新之後重新打包exe可以正常執行

@wesselyang
Copy link

我是直接把chromedriver.exe改名为THIRD_PARTY_NOTICES.chromedriver.exe可以执行
更新chrome之前倒也没出现这个问题,感觉就单纯只是没找到json指定的文件,不知道127犯什么毛病。
你看log最后一行

@DRCX
Copy link

DRCX commented Sep 25, 2024

挂箱子出问题因为这玩意又更新了...每次更新都要修改一次....
image

@Yudaotor
Copy link
Owner

Yudaotor commented Sep 25, 2024 via email

@DRCX
Copy link

DRCX commented Sep 25, 2024

勘误:google chrome btea是130版本。同样需要修改这个文件
image

@DRCX
Copy link

DRCX commented Sep 26, 2024

还经测试,程序并不支持131版本的Chrome Dev,提示找不到目录

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

No branches or pull requests

4 participants