EsportsHelper icon indicating copy to clipboard operation
EsportsHelper copied to clipboard

webdriver-manager版本問題

Open x9511022a opened this issue 1 year ago • 5 comments

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可以正常執行

x9511022a avatar Jul 30 '24 11:07 x9511022a

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

wesselyang avatar Jul 30 '24 14:07 wesselyang

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

DRCX avatar Sep 25 '24 14:09 DRCX

国庆假期,会有更新修复

三省 @.***

 

------------------ 原始邮件 ------------------ 发件人: "Yudaotor/EsportsHelper" @.>; 发送时间: 2024年9月25日(星期三) 晚上10:37 @.>; @.***>; 主题: Re: [Yudaotor/EsportsHelper] webdriver-manager版本問題 (Issue #137)

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

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

Yudaotor avatar Sep 25 '24 14:09 Yudaotor

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

DRCX avatar Sep 25 '24 15:09 DRCX

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

DRCX avatar Sep 26 '24 02:09 DRCX