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

Chrome打开时闪退 #508

Open
kepmos007 opened this issue Aug 11, 2024 · 0 comments
Open

Chrome打开时闪退 #508

kepmos007 opened this issue Aug 11, 2024 · 0 comments

Comments

@kepmos007
Copy link

原来是任务运行成功的,很多次都成功了。
可是今天运行时,chrome刚打开就闪退,后来又尝试新建任务时,发现也是chrome一打开就闪退,没法新建任务。下面是terminal的报错信息:

Configurations:
+------------------+------+-----------------------+
| Key | Type | Value |
+------------------+------+-----------------------+
| ids | list | [13] |
| saved_file_name | str | |
| user_data | bool | False |
| config_folder | str | |
| config_file_name | str | config.json |
| read_type | str | remote |
| headless | bool | False |
| server_address | str | http://localhost:8074 |
| keyboard | bool | True |
| pause_key | str | p |
| version | str | 0.6.2 |
+------------------+------+-----------------------+

win32 ('64bit', 'WindowsPE')
Finding chromedriver in EasySpider D:\works\AI_Tools\EasySpider_windows_x64/EasySpider
Chrome location: D:\works\AI_Tools\EasySpider_windows_x64\EasySpider/resources/app/chrome_win64/chrome.exe
Chromedriver location: D:\works\AI_Tools\EasySpider_windows_x64\EasySpider/resources/app/chrome_win64/chromedriver_win64.exe
Config file path: config.json
如果报错Selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally,说明有之前运行的Chrome实例没有正常关闭,请关闭之前打开的所有Chrome实例后再运行程序即可。
If you get an error Selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally, it means that there is a Chrome instance that was not closed properly before, please close all Chrome instances that were opened before running the program.
id: 13
remote
Task Name: ChemicalBook
任务名称: ChemicalBook
文件下载路径|File Download path: D:\works\AI_Tools\EasySpider_windows_x64\Data\Task_13\files

DevTools listening on ws://127.0.0.1:64369/devtools/browser/5ab6ed77-2629-4969-b4d8-f7af99636493
Traceback (most recent call last):
File "easyspider_executestage.py", line 2446, in
File "myChrome.py", line 26, in init
File "selenium\webdriver\chrome\webdriver.py", line 45, in init
File "selenium\webdriver\chromium\webdriver.py", line 61, in init
File "selenium\webdriver\remote\webdriver.py", line 209, in init
File "selenium\webdriver\remote\webdriver.py", line 293, in start_session
File "selenium\webdriver\remote\webdriver.py", line 348, in execute
File "selenium\webdriver\remote\errorhandler.py", line 229, in check_response
selenium.common.exceptions.WebDriverException: Message: tab crashed
(Session info: chrome=124.0.6367.61)
Stacktrace:
GetHandleVerifier [0x00007FF65247F922+3045234]
(No symbol) [0x00007FF652123652]
(No symbol) [0x00007FF651FE7393]
(No symbol) [0x00007FF651FD16FF]
(No symbol) [0x00007FF651FD0FB7]
(No symbol) [0x00007FF651FD08D4]
(No symbol) [0x00007FF651FD06C0]
(No symbol) [0x00007FF651FCE674]
(No symbol) [0x00007FF651FCECBC]
(No symbol) [0x00007FF651FCD626]
(No symbol) [0x00007FF651FD4E35]
(No symbol) [0x00007FF651FCD356]
(No symbol) [0x00007FF651FD0322]
(No symbol) [0x00007FF651FCE674]
(No symbol) [0x00007FF651FCECBC]
(No symbol) [0x00007FF651FCD626]
(No symbol) [0x00007FF651FC428A]
(No symbol) [0x00007FF651FCD356]
(No symbol) [0x00007FF651FCCB8B]
(No symbol) [0x00007FF651FCC624]
(No symbol) [0x00007FF651FE9A81]
(No symbol) [0x00007FF651FBD121]
(No symbol) [0x00007FF651FBCB7B]
(No symbol) [0x00007FF65206537F]
(No symbol) [0x00007FF6520648E0]
(No symbol) [0x00007FF652059B53]
(No symbol) [0x00007FF65202813C]
(No symbol) [0x00007FF652028D71]
GetHandleVerifier [0x00007FF6524AE89D+3237613]
GetHandleVerifier [0x00007FF6524F0BA7+3508727]
GetHandleVerifier [0x00007FF6524E976F+3478975]
GetHandleVerifier [0x00007FF65225F1C6+815126]
(No symbol) [0x00007FF65212ED0F]
(No symbol) [0x00007FF652129854]
(No symbol) [0x00007FF6521299E2]
(No symbol) [0x00007FF65211A574]
BaseThreadInitThunk [0x00007FFE8CD0257D+29]
RtlUserThreadStart [0x00007FFE8E2EAF28+40]

[33684] Failed to execute script 'easyspider_executestage' due to unhandled exception!

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