Jobs_Applier_AI_Agent_AIHawk icon indicating copy to clipboard operation
Jobs_Applier_AI_Agent_AIHawk copied to clipboard

[BUG]: Script Starting Chrome But Not Doing Anything

Open Desouki27 opened this issue 1 year ago • 1 comments

Describe the bug

i have the script setup with everything that is needed but when i try to run it, it starts chrome but then nothing happens after that, only around 20 seconds later chrome is closed and it shows the following error: "Message: session not created: DevToolsActivePort file doesn't exist"

Steps to reproduce

No response

Expected behavior

going to linkedin.com

Actual behavior

nothing

Branch

None

Branch name

No response

Python version

Python 3.11.9

LLM Used

ChatGPT

Model used

GPT-4o-mini

Additional context

2024-10-06 18:51:51.178 | ERROR | main:main:213 - Runtime error: Error running the bot: Failed to initialize browser: Message: session not created: DevToolsActivePort file doesn't exist Stacktrace: GetHandleVerifier [0x00917143+25587] (No symbol) [0x008AA2E4] (No symbol) [0x007A2113] (No symbol) [0x007D7743] (No symbol) [0x007D39CE] (No symbol) [0x007CE689] (No symbol) [0x00814BE5] (No symbol) [0x0081436A] (No symbol) [0x0080A936] (No symbol) [0x007DBA73] (No symbol) [0x007DC4CD] GetHandleVerifier [0x00BF4C63+3030803] GetHandleVerifier [0x00C46B99+3366473] GetHandleVerifier [0x009A95F2+624802] GetHandleVerifier [0x009B0E6C+655644] (No symbol) [0x008B2C9D] (No symbol) [0x008AFD68] (No symbol) [0x008AFF05] (No symbol) [0x008A2336] BaseThreadInitThunk [0x75467BA9+25] RtlInitializeExceptionChain [0x772BC0CB+107] RtlClearBits [0x772BC04F+191]

2024-10-06 18:51:51.179 | ERROR | main:main:215 - Refer to the configuration and troubleshooting guide: https://github.com/feder-cr/AIHawk_AIHawk_automatic_job_application/blob/main/readme.md#configuration

Desouki27 avatar Oct 06 '24 14:10 Desouki27

you cant have running chrome instances when you start the script.

mcwebdev avatar Oct 08 '24 03:10 mcwebdev

Yea I had this problem. If closing chrome doesn't solve the issue check your paths to the chrome application. You might have to set it explicitly, and the user data directory as well. I was running in WSL and just downloaded the linux version of chrome and it worked.

srtandon avatar Oct 17 '24 20:10 srtandon

Yea I had this problem. If closing chrome doesn't solve the issue check your paths to the chrome application. You might have to set it explicitly, and the user data directory as well. I was running in WSL and just downloaded the linux version of chrome and it worked.

i'm running it on windows, for some reason it worked running it from cmd but if i try running it from powershell i get that error

Desouki27 avatar Oct 17 '24 20:10 Desouki27