-
Notifications
You must be signed in to change notification settings - Fork 44.1k
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
chromedriver wont launch #3432
Comments
I did search and find this issue, but it was closed, so I assume this is different... |
try to download chrome with pip install chromedriver |
Same here. Just downloaded the stable release and getting exact same error. Running on Macbook Pro |
@bjm88 I did |
I did brew install cast chromedriver and then had to auth it with apples controls but it runs on cmd line chromedriver --version Still same.issue though in AutoGPT. I'm confused on if it's issue with my MacBook or issue inside docker container that chronedriver not setup in that image properly.... |
Are you on mac too? |
Yes MacBook Pro Apple M1 chip, Ventura 13.1 |
I am on windows, I missed that you are running in docker, i am not. Did you do the pip install from within the container? |
No, I dont know how to add to the container as is. I thought the point of the docker option is it has everything it needs setup already, I suspect if others seeing this issue its problem with the container setup. Perhaps the docker container calls out to the main host OS for this function, but I'd doubt it... |
Same error here. I'm running it in docker |
I've tried logging into the running docker container and ruining: |
I tried cloning repo and running it from there. I dont get the Chrome failed to start: exited abnormally. error, but a different one, saying that exited with Error 255. Also tried with firefox and safari, no luck. |
I'm running on Mac too. Docker image on MacBook Pro Apple M1 chip, Ventura 13.2.1 |
I've got the same issue :
|
Installing in the docker image
fixes the issue for me. |
Getting the same issue on Windows. I have installed Docker. I'm getting this in the CLI "SYSTEM: Command browse_website returned: Error: Message: unknown error: Chrome failed to start: exited abnormally. (chrome not reachable) (The process started from chrome location /usr/bin/chromium is no longer running, so ChromeDriver is assuming that Chrome has crashed.) Stacktrace: #0 0x560928657fe3 #1 0x560928396d36 #2 0x5609283bfb20 #3 0x5609283bba9b #4 0x5609283fdaf7 #5 0x5609283fd11f #6 0x5609283f4693 #7 0x5609283c703a #8 0x5609283c817e #9 0x560928619dbd #10 0x56092861dc6c #11 0x5609286274b0 #12 0x56092861ed63 #13 0x5609285f1c35 #14 0x560928642138 #15 0x5609286422c7 #16 0x560928650093 #17 0x7f9445a30ea7 start_thread" Any idea how to fix it? |
The steps above from @caudurodev worked for me. For those who are still having issues:
|
It fails on MAC with M1 chip. BTW, use of firefox helped. |
@pryadchenko it's working on an M2 mac for me with the instructions above |
As someone who works on chromedriver metrics, chromedriver failing to install on certain arch/systems doesn't surprise me. Google/Chromium have a tendency to offer poor support for automating Chrome/chromedriver downloads, and when they do its frequently inconsistent with prior Chrome/Chromium/Chromedriver builds. |
Any solution for Windows users? |
This is how issue fixed for me |
The chromium driver installs just fine, but it compiles for the mac CPU architecture and it tries to execute it from the wrong directory. |
TylerBarnes solution works on M1 - thanks mate... |
This doenst work for me. Did you add something special to .env file? or is it just openai token? |
it also fail on list _files command: SYSTEM: Command list_files returned: Error: list_files() got an unexpected keyword argument 'extension' |
This is what I did to solve it based on @caudurodev answer:
|
This issue has automatically been marked as stale because it has not had any activity in the last 50 days. You can unstale it by commenting or removing the label. Otherwise, this issue will be closed in 10 days. |
This issue was closed automatically because it has been stale for 10 days with no activity. |
Which Operating System are you using?
Docker
Which version of Auto-GPT are you using?
Stable (branch)
GPT-3 or GPT-4?
GPT-4
Steps to reproduce 🕹
On macbook pro latest download docker and download autoGPT following docker setup instructions. Generally runs and works, but the web searches using chrome driver always fail...
SYSTEM: Command browse_website returned: Error: Message: unknown error: Chrome failed to start: exited abnormally. (chrome not reachable) (The process started from chrome location /usr/bin/chromium is no longer running, so ChromeDriver is assuming that Chrome has crashed.) Stacktrace: #0 0x0040006e6fe3 #1 0x004000425d36 #2 0x00400044eb20 #3 0x00400044aa9b #4 0x00400048caf7 #5 0x00400048c11f #6 0x004000483693 #7 0x00400045603a #8 0x00400045717e #9 0x0040006a8dbd #10 0x0040006acc6c #11 0x0040006b64b0 #12 0x0040006add63 #13 0x004000680c35 #14 0x0040006d1138 #15 0x0040006d12c7 #16 0x0040006df093 #17 0x004002585ea7 start_thread
THOUGHTS: I will use the 'google' command to search for articles
I installed chromedriver locally for good measure, but pretty sure it would be using the local one inside the docker containers, so not expecting this would be an issue. It seems to fall back to some google api search, but it slows things down and I assume limits how well it can search the web ?
Current behavior 😯
chrome search commands fail
Expected behavior 🤔
chrome web searches work
Your prompt 📝
# Paste your prompt here
I just run auto-gpt and give it an AI context and goals...like search and monitor for healthcare tech news...
Your Logs 📒
The text was updated successfully, but these errors were encountered: